agentleFS
p-larssonp-larsson/spec-orbit/skills/implement/SKILL.md

implement

Skill2 starsChanged 5 months agoMITView on GitHub

Implement a plan. Finds the plan file in <spec>/plans/, confirms scope with the user, then executes the checklist while tracking progress in the plan's Todo section.

191 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use setup-ts-deep-modules, ask-matt and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • liufeng1976Skill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 43 projects that use this

  • GoogleSkill

    ask-matt

    Ask which skill or flow fits your situation. A router over the skills in this repo.

    Also in 91 projects that use this

  • RoentekSkill

    loop-me

    Grill me about specs for the workflows I want to build, within this workspace.

    Also in 50 projects that use this

  • AWSSkill

    to-questionnaire

    Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

    Also in 88 projects that use this

  • ryotaroh180105Skill

    claude-handoff

    Hand the current conversation off to a fresh background agent that picks up the work immediately.

    Also in 42 projects that use this

  • GoogleSkill

    to-spec

    Turn the current conversation into a spec and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.

    Also in 168 projects that use this

  • +3 more from google
  • Other versions191 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 191

    1. mattpocock/skills★ 309ksame name
    2. QuivrHQ/quivr★ 40ksame name
    3. The-Vibe-Company/quivr★ 40ksame name
    4. foambubble/foam★ 17ksame name
    5. formbricks/formbricks★ 13ksame name
    6. ArcReel/ArcReel★ 6.3ksame name
    7. vinvcn/mattpocock-skills-zh-CN★ 5.5ksame name
    8. fallow-rs/fallow★ 5.3ksame name
    9. withcoral/coral★ 4.9ksame name
    10. bestofjs/bestofjs★ 3.1ksame name

    181 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.

The file

Show its rules and text

We split this skill into the rules it gives an agent

24 rules. 0 are common, 16 are distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 171 edited versions we read keep these.

  • 16

    Distinctive

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run bun ~/.claude/tools/spec-edit/index.ts conf-get <cwd> where <cwd> is the current working directory.

    line 13
  2. Very specific:

    If invoked without arguments, run bun ~/.claude/tools/spec-edit/index.ts status <specs-dir> and present the output — it lists each spec's …

    line 17
  3. Distinctive:

    Always use spec-edit to read specs/plans — it's faster than the Read tool:

    line 21
  4. Very specific:

    Run status <specs-dir> to see all specs and their plans.

    line 31
  5. Distinctive:

    If the hint names a spec and the spec has exactly one matching plan, use it.

    line 32
  6. Distinctive:

    If multiple plans match, list them and ask the user to pick.

    line 33
  7. Very specific:

    If no plans match, do NOT fall back to chunking a spec.

    line 34
  8. Very specific:

    Read the plan: Use spec-edit read on the plan file.

    line 36
  9. Distinctive:

    Check Open Questions: If the plan has unresolved Open Questions, surface them and ask the user to resolve before implementing.

    line 38
  10. Very specific:

    Read the parent spec if needed: Only read ../spec.md if the plan references it and a decision isn't clear from the plan alone.

    line 40
  11. Distinctive:

    Do not spawn agents here. Wait for the user's decision.

    line 48
  12. Distinctive:

    Analyze for parallel execution: Look at the plan's Chunks section (or, if absent, scan the Checklist for natural domain boundaries).

    line 50
  13. Distinctive:

    If two or more independent chunks can be named clearly with unambiguous boundaries, propose the split.

    line 54
  14. Distinctive:

    If no clean ownership boundary exists, skip this step silently.

    line 55
  15. Distinctive:

    Do not spawn agents here. Just present the proposed split and wait for the user's decision.

    line 59
  16. Very specific:

    Seed the Todo: If the Todo section is empty, derive a todo list from the Checklist (one entry per task-oriented item).

    line 63
  17. Distinctive:

    Do the work. Follow the Checklist's key decisions.

    line 70
  18. Distinctive:

    No commits, no status updates: Never commit. Do not update the spec.

    line 74
  19. Distinctive:

    If anything fails, read the verifier's output, fix the failures, and re-run the verifier.

    line 78
  20. Distinctive:

    Do not report the implementation as complete until the verifier passes cleanly.

    line 79
  21. Very specific:

    If you discover the plan is wrong or incomplete, stop and flag it — don't silently deviate.

    line 87
  22. Distinctive:

    If the plan is ambiguous on an implementation detail, ask — don't guess.

    line 88
  23. Distinctive:

    Follow the conventions and patterns established in the project.

    line 89
  24. Distinctive:

    Never break out of the plan to do "related" cleanup work.

    line 90

“Common” is measured: kept by at least 6 in 10 of the 171 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Implement from Plan

You are helping the user implement a plan. Plans live at <specs-dir>/<spec-name>/plans/<plan>.md and are produced by /spec-plan. Do NOT generate chunks yourself — the plan already defines the scope, checklist, and acceptance criteria.

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 — it lists each spec's plans. Then ask: "Which plan do you want to implement?"

Using spec-edit for reading

Always use spec-edit to read specs/plans — it's faster than the Read tool:

bun ~/.claude/tools/spec-edit/index.ts status <specs-dir>         # Quick summary of specs + plans
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 counts

Steps

  1. Find the plan. The argument is a hint (e.g. "manifest versioning" backend). To find the plan:
    • Run status <specs-dir> to see all specs and their plans.
    • If the hint names a spec and the spec has exactly one matching plan, use it.
    • If multiple plans match, list them and ask the user to pick.
    • If no plans match, do NOT fall back to chunking a spec. Tell the user no matching plan was found and suggest running /spec-plan <spec-name> first. Stop.
  2. Read the plan. Use spec-edit read on the plan file. The plan has these sections: Scope, Chunks (optional), Checklist, Todo, Open Questions.
  3. Check Open Questions. If the plan has unresolved Open Questions, surface them and ask the user to resolve before implementing. Do not start coding with unresolved ambiguities.
  4. Read the parent spec if needed. Only read ../spec.md if the plan references it and a decision isn't clear from the plan alone. Plans should be self-contained — if they aren't, flag it.
  5. Propose investigation agents. Look at the Checklist and identify distinct areas of the existing codebase the plan will touch — existing interfaces, shared types, utilities, modules that will be extended or integrated with. For each distinct area, assess whether going in blind would risk incorrect assumptions or scope bleed.

    If two or more distinct areas would benefit from upfront exploration, propose spawning parallel investigation agents — one per area — before any code is written. Each agent's sole job is to read and understand the existing code in that area and report back: current patterns, relevant interfaces, naming conventions, anything the implementing agent needs to know to write consistent code without stepping on adjacent work.

    Present the proposed agents clearly: what each would investigate and what boundary they own. Then ask: "Want to run investigation agents first, or go straight to implementation?"

    Do not spawn agents here. Wait for the user's decision.

  6. Analyze for parallel execution. Look at the plan's Chunks section (or, if absent, scan the Checklist for natural domain boundaries).

    For each candidate chunk, ask: can you name a clear owner — a distinct area of the codebase this agent would own exclusively? If investigation agents have already run, use their findings to sharpen the boundary definitions — shared types or interfaces that both agents touch should be explicitly flagged as read-only or assigned to one agent only.

    • If two or more independent chunks can be named clearly with unambiguous boundaries, propose the split. Show which chunks run in parallel, which must be sequential (and why), and what each agent would own.
    • If no clean ownership boundary exists, skip this step silently.

    Then ask: "Want to run this with multiple agents in parallel, or proceed sequentially?"

    Do not spawn agents here. Just present the proposed split and wait for the user's decision. If they choose parallel, they will orchestrate the spawning — or ask you to do it as a separate step.

  7. Confirm scope. Summarize the Scope and Checklist back to the user in 3–6 bullets. Ask: "Ready to start?" Wait for approval before writing code.
  8. Seed the Todo. If the Todo section is empty, derive a todo list from the Checklist (one entry per task-oriented item). Write it to the plan file using spec-edit replace <plan-file> "Todo". Use markdown checkboxes:
    - [ ] First task
    - [ ] Second task
  9. Implement one todo at a time. For each unchecked todo:
    • Do the work. Follow the Checklist's key decisions.
    • Mark it done by updating the Todo section: rewrite it with spec-edit replace <plan-file> "Todo", flipping - [ ] → - [x] for the finished item.
    • Move to the next todo.
  10. No commits, no status updates. Never commit. Do not update the spec. Only the Todo section of the plan is modified.
  11. Verify the implementation. Once all todos are marked done, spawn a code-verifier agent to validate everything you touched. Pass it the list of affected files and projects. The agent must run whatever validation is appropriate for the project — static analysis, type checking, tests, builds, or any combination. It should report back with a clear pass/fail per check.
  • If anything fails, read the verifier's output, fix the failures, and re-run the verifier.
  • Do not report the implementation as complete until the verifier passes cleanly.
  1. Stop when verified. Summarize what was built and point the user at the plan file for review.

Rules

  • Stay within scope. Only implement what the Checklist says.
  • If you discover the plan is wrong or incomplete, stop and flag it — don't silently deviate. The user may want to update the plan (via /spec plan or direct edit) before continuing.
  • If the plan is ambiguous on an implementation detail, ask — don't guess. Add it to Open Questions if it needs to be captured.
  • Follow the conventions and patterns established in the project.
  • Never break out of the plan to do "related" cleanup work. That's a separate plan.

$ARGUMENTS

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.