spec-plan
Skill2 starsChanged 5 months agoMITView on GitHub
Turn a spec into a concrete, buildable plan. Breaks a spec into chunks, drafts scope and checklist, writes the plan file for /implement.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- rioffe/specchecktheir own version, first seen Nov 6, 2026
- Buddhilive/buddhi-clitheir own version, first seen Nov 1, 2026
- renanlido/tia-harnesstheir own version, first seen Nov 1, 2026
- xfstudio/skillstheir own version, first seen Oct 13, 2026
- pierre-lecocq/claude-skillstheir own version, first seen Oct 11, 2026
- martinffx/ateliertheir own version, first seen Oct 9, 2026
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- martinffx/atelier★ 51same name
- JunhuaLiu1/awesome-skills★ 14same name
- renanlido/tia-harness★ 12same name
- xfstudio/skills★ 9same name
- rioffe/speccheck★ 5same name
- cassianodiniz/cass★ 4same name
- cassianodiniz/Titan★ 4same name
- Buddhilive/buddhi-cli★ 1same name
- h3y6e/spec-skills★ 0same name
- MarcosCamara01/sddguard★ 0same name
2 more not listed
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.
In this repository3 other files it gives its agents.
- implementSkill
- spec-checkSkill
- specSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 2 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
7
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.
- Very specific: line 33
No args → run status, ask which spec.
- Very specific: line 36
If the spec can't be found, run status and ask the user to pick.
- Very specific: line 38
Read the spec by section, not in full: Use read <file> <heading> for each section you need — at minimum Context and Key Decisions if …
- Distinctive: line 42
User picks a chunk: Do NOT pick for them. If the hint from step 1 clearly points to one chunk, confirm it rather than assuming.
- Very specific: line 47
Todo: leave empty. /implement populates this as it works.
- Distinctive: line 62
No code written. At all.
- Very specific: line 65
Keep plans self-contained enough that /implement can execute them without re-reading the full spec, but always link back to ../spec.md.
“Common” is measured: kept by at least 6 in 10 of the 10 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 Plan — Turn a Spec into a Plan
You are turning a spec into a concrete plan file that /implement can consume. No implementation code is written.
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: "Which spec do you want to plan?"
Using spec-edit
bun ~/.claude/tools/spec-edit/index.ts status <specs-dir> # All specs + plans summary
bun ~/.claude/tools/spec-edit/index.ts list <file> # Sections with line numbers + content line count
bun ~/.claude/tools/spec-edit/index.ts read <file> <heading> # One section's content
bun ~/.claude/tools/spec-edit/index.ts init-plan <file> <title> # New plan
echo "content" | bun ~/.claude/tools/spec-edit/index.ts replace <file> "Heading"
bun ~/.claude/tools/spec-edit/index.ts set-meta <file> <key> <value> # Header metadataSteps
- Find the spec.
- No args → run
status, ask which spec. <spec-name>→ use that spec.<spec-name> <hint>→ use that spec; the hint scopes which part to plan. If the spec can't be found, runstatusand ask the user to pick.
- No args → run
- Read the spec by section, not in full. Use
read <file> <heading>for each section you need — at minimumContextandKey Decisionsif present. Only read detail files if the spec references them as relevant to this chunk. Never dump the entire file. - Propose chunks. Identify task-oriented buildable chunks — each chunk is a coherent unit of work that results in a reviewable change. Think in tasks, not files. Present the list with brief descriptions.
- User picks a chunk. Do NOT pick for them. If the hint from step 1 clearly points to one chunk, confirm it rather than assuming.
- Draft the plan. For the chosen chunk, draft — in chat, not yet on disk:
- Scope: what part of the spec this plan covers, and what's explicitly out of scope.
- Checklist: files to create/modify, key decisions to follow (lifted from the spec), acceptance criteria. Include sub-parts as checklist items if the chunk has internal steps.
- Todo: leave empty.
/implementpopulates this as it works. - Open Questions: anything ambiguous that blocks implementation.
- Get approval. Show the draft to the user. Iterate until they're satisfied. Do NOT write the file until they approve.
- Write the plan file.
- Path:
<specs-dir>/<spec-name>/plans/<plan-slug>.md. Pick a short kebab-case slug from the chunk name (e.g.token-rotation-backend.md). Confirm the slug with the user if ambiguous. - Create with
spec-edit init-plan <path> "<Plan Title>". - Fill each section with
spec-edit replace <path> "<Heading>"(content via stdin). - Set the linked ticket with
spec-edit set-meta <path> Jira <ticket>if applicable.
- Path:
- Done. Tell the user the plan is saved and ready to run via
/implement <hint>. Do not start implementing.
Rules
- No code written. At all.
- Stay faithful to the spec — if the chunk requires a decision the spec doesn't cover, add it to Open Questions and ask the user before writing the plan.
- One plan file = one chunk. If the user wants to plan multiple chunks, repeat the flow per chunk.
- Keep plans self-contained enough that
/implementcan execute them without re-reading the full spec, but always link back to../spec.md.
Token efficiency
Known sections — go straight to replace, no reads:
- Plan:
Scope,Checklist,Todo,Open Questions
- Fresh file (just
init-plan) →replacedirectly, no reads ever - Need to set Jira or other header metadata →
set-meta, notreplace
$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.

