agentleFS
ByronFinnByronFinn/dev-skills/skills/implement/SKILL.md

implement

Skill4 starsChanged yesterdayMITView on GitHub

Use for implementing a piece of work based on a PRD or set of issues — implements each seam with tests alongside (implement + test → refactor-safe pass → typecheck → test → commit per seam), dispatches /review at the end, and commits the completed work to the current branch. Explicit /implement invocation only. Trigger words: 实现, 编码实现, 开发这个需求, 开始写代码, implement these issues, orchestrate the build.

192 other projects use a version of this, 3 of them edited.

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 49 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 105 projects that use this

  • richard12511Skill

    claude-handoff

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

    Also in 49 projects that use this

  • RoentekSkill

    loop-me

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

    Also in 57 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 103 projects that use this

  • GoogleSkill

    to-tickets

    Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker — edges as text in one file per ticket locally, or native blocking links on a real tracker.

    Also in 188 projects that use this

  • +1 more from google

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 177 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Outcome: All items from the PRD's acceptance criteria or child issues are implemented, tested, reviewed, and committed.

    line 15
  2. Distinctive:

    Step 0 — Quick assessment: If the work is trivial (single file, one obvious change), recommend implementing it directly and stop — this …

    line 22
  3. Very specific:

    If Issues from /story exist — each issue is a seam

    line 27
  4. Distinctive:

    If only a PRD — extract Acceptance Criteria as work items

    line 28
  5. Very specific:

    Update PRD Status from Sliced to In Progress in the PRD's status line

    line 30
  6. Very specific:

    Update the issue's status in the PRD's Sliced into list to — Done.

    line 41
  7. Distinctive:

    Step 4 — Full test suite: After all items are implemented, run the full test suite.

    line 43

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

🥷 Implement from PRD or issues — code + tests per seam, refactor-safe pass, typecheck, commit, then review.

Sequences the full implementation pipeline for a set of pre-agreed vertical slices: implement each seam with its tests written alongside the code and run to GREEN, apply a refactor-safe pass, run typechecking and tests after each seam, dispatch /review at the end, and commit per completed item.

Outcome Contract

  • Outcome: All items from the PRD's acceptance criteria or child issues are implemented, tested, reviewed, and committed.
  • Done when: Each seam is GREEN (typecheck + tests pass), /review has been dispatched, and each item is committed.
  • Evidence: Typechecker passes per item, test suite passes per item and in full, /review report produced, commits visible on current branch.
  • Output: Summary of implemented items, commits made, test results, next step.

Process Summary

Step 0 — Quick assessment. If the work is trivial (single file, one obvious change), recommend implementing it directly and stop — this skill is unnecessary overhead.

Step 1 — Entry Protocol. Apply the Skill Entry Protocol. Read project config (docs/agents/), domain docs (CONTEXT.md, ADRs, research INDEX), and the input work items (PRD or Issues from /story). Check upstream quality per Entry Protocol Step 4 and note the gaps in the output.

Step 2 — Work Inventory. List all items to implement:

  • If Issues from /story exist — each issue is a seam
  • If only a PRD — extract Acceptance Criteria as work items
  • Sort by dependency order (blocked-by relationships from /story)
  • Update PRD Status from Sliced to In Progress in the PRD's status line

Step 3 — Implement each seam. For each work item in dependency order:

  1. Implement — write the code, applying the engineering principles design-time (../rules/engineering-principles.md) (REFERENCE §3a).
  2. Test — derive tests from the acceptance criteria, write them alongside the code, run to GREEN (REFERENCE §3b).
  3. Refactor-safe pass — structure-only cleanup while GREEN: apply the refactor-safe Phase entries of ../rules/engineering-principles.md (REFERENCE §3c).
  4. Typecheck — run the project's typechecker. If it fails, fix before proceeding.
  5. Test — run the test suite for this item / changed files. All must pass.
  6. Commit — commit with a descriptive message referencing the issue (format: [PRD-NNNN] <seam title> — <summary>).

Update the issue's status in the PRD's Sliced into list to — Done.

Step 4 — Full test suite. After all items are implemented, run the full test suite. If anything fails, return to the affected item and fix.

Step 5 — Recommend /review. Present the completed changes and instruct: "Next: Run /review to review all changes before merge."

Step 6 — Output. Produce summary of implemented items, commits made, test results.

See REFERENCE.md for detailed step instructions, the per-seam implementation and testing steps, the refactor-safe pass, and recovery procedures.

Gotchas

What happenedRule
Item has no testable behavior (pure config, data migration, UI layout)REFERENCE §3b: state the gap explicitly in the output — the stated gap is the evidence, not silence
Tests failed after implementationREFERENCE §3e: run tests per item immediately — don't batch all changes before testing
Typechecker not configured for the projectREFERENCE §3d: detect typechecker from project config (tsconfig, pyproject.toml, etc.); if none, skip and note the gap
Work items had hidden dependency on incomplete itemsStep 2: read blocked-by relationships from /story issues; implement in dependency order
Item interrupted mid-implementation by the userREFERENCE Recovery: re-read the working tree from disk; keep GREEN items, ask one question with a recommendation for incomplete ones
Commit conflicts with uncommitted work not from this sessionREFERENCE §3f: warn user about existing dirty state; ask how to handle before committing
PRD Traceability shows ungrilled or unsliced stateStep 1: flag the gap in output but proceed — implement is not blocked by missing upstream steps
User expected /review to run automaticallyStep 5: dispatch /review as a recommendation (per no-auto-chain convention); do not auto-run it

Output

Implement complete.

**Work items:**
* <issue-#N / PRD acceptance criterion> — commit <hash>
* <issue-#M / PRD acceptance criterion> — commit <hash>

**PRD**: PRD-NNNN — Status: In Progress

**Full test suite**: <pass / N failures>

**Next**: Run /review to review all changes before merge.

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.