RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/AGENTS.md/Fission-AI/OpenSpec

AGENTS.md

test/AGENTS.md
AGENTS.md

Quality

74/100

Scores the file, not the repository.

Length

207 words

4 headings · 0 code blocks

Repository

64k

— · pushed 0 days ago

Last changed

2 days ago

First indexed 2 days ago.
Fission-AI/OpenSpec/test/AGENTS.mdRawGitHub
1# OpenSpec Test Guidance
2 
3Applies to tests under `test/`.
4 
5## Running Tests
6 
7- Focused file: `pnpm exec vitest run test/path/to/file.test.ts`
8- Focused case: `pnpm exec vitest run test/path/to/file.test.ts -t "case name"`
9- Full suite: `pnpm test`
10- Run `pnpm run build` before focused CLI tests when implementation changes may leave `dist/` stale.
11 
12## Cross-Platform Paths
13 
14- Do not hard-code Unix path separators in CLI output expectations unless the implementation intentionally emits POSIX paths.
15- For filesystem paths, build expected values with `path.join(...)`, `path.relative(...)`, or `FileSystemUtils.joinPath(...)`.
16- For human-readable output, either assert a deliberately normalized display format or normalize both actual and expected strings before comparing, for example with `FileSystemUtils.toPosixPath()` to convert backslashes to forward slashes for cross-platform consistency.
17- When touching path behavior, add coverage that would fail on Windows path separators.
18 
19## Path Canonicalization
20 
21Path identity is a recurring CI failure mode: Windows short/long paths, symlink or
22junction aliases, and case-insensitive file systems can spell the same existing
23directory differently.
24 
25When asserting existing filesystem paths as identities, canonicalize both actual
26and expected paths first. Prefer `FileSystemUtils.canonicalizeExistingPath()` in
27project code and `fs.realpathSync.native()` in test-only expectations.
28 
29Add an alias-path regression when touching path identity logic. If preserving
30user-typed path spelling is intentional, assert it separately from identity comparisons.
31 

Commands it names

  • pnpm exec vitest run test/path/to/file.test.ts
  • pnpm exec vitest run test/path/to/file.test.ts -t "case name"
  • pnpm test
  • pnpm run build

Sections

  • OpenSpec Test Guidance
  • Running Tests
  • Cross-Platform Paths
  • Path Canonicalization

What it covers

buildtestcode-style

Stack — with the evidence

typescript

(1.00)

vitest

(1.00)

eslint

(1.00)

pnpm

(0.85)

node

(0.70)

react

(0.70)

nextjs

(0.70)

tailwind

(0.70)

javascript

(0.60)

github-actions

(0.60)

Format

AGENTS.md

A plain-markdown README for coding agents, deliberately unopinionated: no frontmatter, no globs, no vendor keys. That minimalism is why it became the one file a dozen different agents will read, and why it carries the least per-file targeting power of any format here.

What the corpus says about it

Repository

Owner
Fission-AI
Language
—
License
—
Archived
no

All configs in this repo

Also in Fission-AI/OpenSpec

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
Fission-AI/OpenSpecopenspec/work/AGENTS.md · 64kAGENTS.mdtypescriptvitest+8styleagent-behaviour40/1002 days ago
Diff against openspec/work/AGENTS.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
mui/material-uiAGENTS.md · 99kAGENTS.mdtypescriptjavascript+13setupbuildtestlint-format+9100/1003 days ago
TryGhost/Ghoste2e/AGENTS.md · 55kAGENTS.mdtypescriptjavascript+12setupteststylearch+2100/1003 days ago
SkeneTechnologies/skene-cookbookAGENTS.md · 51AGENTS.mdpythoneslint+4setupbuildtestlint-format+7100/1002 days ago
duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70AGENTS.mdtypescriptjavascript+5buildteststylearch+3100/1003 days ago
n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199kAGENTS.mdtypescriptlangchain+16buildteststylearch+3100/1003 days ago
aaif-goose/gooseAGENTS.md · 52kAGENTS.mdrusttypescript+2setupbuildtestlint-format+6100/1003 days ago
trick77/agents-md-syncAGENTS.md · 2AGENTS.mdtypescriptnode+4setupbuildteststyle+5100/1003 days ago
code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67kAGENTS.mdtypescriptbun+10setupbuildtestlint-format+6100/1002 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack