spec-check
Skill2 starsChanged 5 months agoMITView on GitHub
Verify code against a spec plan. Supports PR diff checks and full state audits.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- matthull/my-skillstheir own version, first seen Oct 20, 2026
- OHOKAYYEAH/claude-skillstheir own version, first seen Oct 13, 2026
- MelbourneDeveloper/dart_nodetheir own version, first seen Oct 9, 2026
- yisean/claude-spec-skillstheir own version, first seen Jun 15, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- MelbourneDeveloper/dart_node★ 113same name
- OHOKAYYEAH/claude-skills★ 1same name
- matthull/my-skills★ 0same name
- yisean/claude-spec-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 8 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Run bun ~/.claude/tools/spec-edit/index.ts conf-get <cwd> where <cwd> is the current working directory.
- Very specific: line 17
If invoked without arguments, run bun ~/.claude/tools/spec-edit/index.ts status <specs-dir> and present the output.
- Distinctive: line 24
Always use spec-edit to read specs — it's faster than the Read tool:
- Distinctive: line 37
Ask the user if unclear
- Distinctive: line 38
Read the spec: Read the full spec (spec.md + detail files).
- Distinctive: line 40
Check linked ticket: If the spec has a linked issue tracker ticket (e.g.
- Distinctive: line 46
Do not spawn agents here. Wait for the user's decision.
- Distinctive: line 55
Do the files/modules exist where the spec says they do?
- Distinctive: line 56
Do the implementations match the described patterns?
- Distinctive: line 71
Don't nitpick code style — focus on architectural alignment with the spec.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Spec Check — Verify Code Against Plan
You are verifying that code matches a spec plan. "Audit" in this skill means a full review of code against a spec — it is unrelated to audit logging, audit context, or audit trails in the codebase.
Specs Folder Discovery
Run bun ~/.claude/tools/spec-edit/index.ts conf-get <cwd> where <cwd> is the current working directory. If it returns a path, use that as <specs-dir>. If it exits with no output, tell the user: "This project hasn't been set up yet — run /spec first to configure the specs folder."
No Arguments?
If invoked without arguments, run bun ~/.claude/tools/spec-edit/index.ts status <specs-dir> and present the output. Then ask:
- "What do you want to check?"
- "A PR or branch diff against a spec"
- "The current codebase against a spec (full audit)"
Using spec-edit for reading
Always use spec-edit to read specs — it's faster than the Read tool:
bun ~/.claude/tools/spec-edit/index.ts status <specs-dir> # Quick summary of all specs
bun ~/.claude/tools/spec-edit/index.ts read <file> [heading] # Print file or section to stdout
bun ~/.claude/tools/spec-edit/index.ts list <file> # List sections with line countsSteps
- Find the spec. Based on the user's input, use
spec-edit statusto find it. If ambiguous, present the list and ask. - Determine check mode:
- Diff mode: User provides a PR number/URL, or there are uncommitted/branch changes relevant to the spec → use
gh pr difforgit diffagainst base branch - Audit mode (full spec review, NOT audit logging): No meaningful diff (code is already merged) → read the source files referenced in the spec and verify current state matches what the spec describes
- Ask the user if unclear
- Diff mode: User provides a PR number/URL, or there are uncommitted/branch changes relevant to the spec → use
- Read the spec. Read the full spec (spec.md + detail files). Focus on Key Decisions and Current Approach.
- Check linked ticket. If the spec has a linked issue tracker ticket (e.g. Jira) and an Atlassian MCP is available in the environment, pull the ticket context for additional verification context.
Propose parallel audit agents. For audit mode, identify the distinct areas the spec covers — each detail file, each major Key Decision, each described module or layer. If two or more distinct areas can be verified independently, propose spawning one audit agent per area. Each agent would read the relevant source files and check alignment with its slice of the spec, then report back findings.
Present what each agent would own and verify. Then ask: "Want to run these checks in parallel, or work through them sequentially?"
Do not spawn agents here. Wait for the user's decision. For diff mode, skip this step — a diff is already a bounded scope.
- Verify.
- Diff mode — check the diff against the spec:
- Alignment: Do the changes follow the Key Decisions?
- Completeness: Is anything from the spec missing?
- Scope: Are there changes beyond what the spec describes?
- Deviations: Differences from the planned approach?
- Audit mode — read the actual source files referenced in the spec and check:
- Do the files/modules exist where the spec says they do?
- Do the implementations match the described patterns?
- Are the Key Decisions reflected in the code?
- What does the spec say should exist that doesn't?
- What exists that the spec doesn't account for?
- Diff mode — check the diff against the spec:
- Report. Give a concise verdict:
- Aligned — code matches the spec
- Gaps — what's missing or not yet implemented
- Deviations — what differs from the plan and whether it matters
- Out of scope — code not covered by the spec
- Spec outdated — spec doesn't reflect what the code actually does
Rules
- Be specific. Reference exact files and spec sections.
- Don't nitpick code style — focus on architectural alignment with the spec.
- This works for the user's own PRs and teammates' PRs alike.
$ARGUMENTS
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

