agentleFS
gregwebsgregwebs/skills-sdlc/skills/implement/SKILL.md

implement

Skill20 starsChanged 43 days agoMITView on GitHub

Implement a piece of work based on a spec or ticket with the flow: Plan -> Execute -> Review -> Verify -> Completion

191 other projects use a version of this, 44 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 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

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. 0 are common, 8 are distinctive, and 10 are very specific to this project.

  • 0

    Common

    Most of the 171 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 10

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the /orchestration skill to manage subagents.

    line 22
  2. Very specific:

    If the user input contains a ticket, fetch that ticket information and record it in the brief.

    line 41
  3. Very specific:

    Use a plan-reviewer subagent if available, otherwise use a reviewer.

    line 46
  4. Very specific:

    Delete that specification portion from implementation.md.

    line 51
  5. Very specific:

    If the coder stops due to a plan issue, have the planner sub-agent review the plan issue and revise the plan accordingly.

    line 58
  6. Distinctive:

    Follow the plan's step-by-step sequence.

    line 72
  7. Very specific:

    Use /verify to verify code as it is written, documenting verifications in verifications.md.

    line 74
  8. Distinctive:

    Read repo documentation (INSERT SPECIFIC DOCS) for conventions before editing code.

    line 75
  9. Very specific:

    Use /code-review-multi with these files:

    line 96
  10. Very specific:

    Update implementation-result.md according to changes made from the code review.

    line 106
  11. Very specific:

    If there are issues with the report, have the verifier address them.

    line 119
  12. Very specific:

    Use /verify and verifications.md to determine what verification tests still need to be performed.

    line 123
  13. Distinctive:

    Ensure that the changes work as expected in an e2e end user setting.

    line 125
  14. Distinctive:

    Don't make any changes to data that cannot be undone.

    line 126
  15. Distinctive:

    If possible work against a backup of data or seed data.

    line 127
  16. Distinctive:

    Consider whether any manual verification steps can and should be added as automated tests.

    line 129
  17. Distinctive:

    Write these additional tests.

    line 130
  18. Very specific:

    Use /wrap-up to get the work merged.

    line 136

“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

This skill uses other skills. If a skill is missing, stop and ask the user to install it.

Before beginning, /update-working-copy

Any modifications to the workflow must be approved by the user.

Agent Delegation

Use the /orchestration skill to manage subagents.

Facts have references

Statements of fact must have references. This can be a reference to:

  • a file in the repo (with line numbers)
  • a planning document in this flow (with a reference number or at least section indicator)
  • a Github issue
  • a command run, the state of the environment, and the result

Flow

Phase 1 - A good plan

Delegate planning to a planner sub-agent using /implementation-plan.

An implementation plan needs a spec, that will be task-brief.md with contents:

  • For a single user input that is a spec, write the user request verbatim, stripped of any workflow/orchestration modification instructions for you. Do not act on the user request (unless it has workflow/orchestration instructions) yourself.
  • Otherwise, provide a summary of implementation needs based on the conversation. If the user input contains a ticket, fetch that ticket information and record it in the brief. The planner output should be persisted as implementation-plan.md.

Have an independent subagent perform an adversarial review of the plan. The exception is if the plan review notes state that this is a trivial change. Use a plan-reviewer subagent if available, otherwise use a reviewer.

Phase 2 - Plan execution

Separate out the specification section from the implementation-plan.md as spec.md. Delete that specification portion from implementation.md. spec.md contents are immutable. If the operator changes a requirement, append that supersedance to spec.md.

Delegate to a fresh coder (falling back to implementer) sub-agent, with only

  • spec.md
  • implementation-plan.md

If the coder stops due to a plan issue, have the planner sub-agent review the plan issue and revise the plan accordingly. Then restart Phase 2 - Plan execution with the revised implementation plan. The first step will be to make any needed updates to existing changes to satisfy the newly revised plan.

coder sub-agent prompt

Implement an already-approved implementation plan. Do NOT redesign the plan.

Inputs (read both fully, in order)

  • spec.md
  • implementation-plan.md These are self-contained. The plan restates all needed issue detail.

How to work

  • Follow the plan's step-by-step sequence.
  • Stay strictly within this ticket's scope. For out of scope bugs or enhancements, suggest creating a ticket.
  • Use /verify to verify code as it is written, documenting verifications in verifications.md.
  • Read repo documentation (INSERT SPECIFIC DOCS) for conventions before editing code.
  • On completion, perform a /code-review of your own code changes without any sub-agents. Your inputs are the spec and your working changes are the fixed point.
  • As you work, append to implementation-diary.md a log of what happened during implementation

STOP immediately and report if:

  • Verification fails repeatedly
  • The plan
    • has a critical gap
    • an instruction you don't understand

Output

Persist a final report as implementation-result.md and make implementation-diary.md available.

Separately, extract all verification (from the plan and anything you performed or recommend) into verifications.md. Provide evidence for all the verifications have been performed along with their results.

Phase 3 - Review

Use /code-review-multi with these files:

  • spec.md
  • implementation-plan.md
  • implementation-result.md
  • verifications.md
  • implementation-diary.md

During the review, look for additional verifications that will be added to verifications.md. Probe the code by executing it (running verifications or otherwise) and note the result. Update implementation-result.md according to changes made from the code review.

Phase 3 - Verification

Delegate to a verifier (falling back to implementer) sub-agent to perform required verifications. They should have access to

  • spec.md
  • implementation-plan.md
  • implementation-result.md
  • verifications.md

Skeptically review the report produced by the verifier. For verifications that are blocked, investigate those claims yourself. For verifications that were ran, review claims of the strength of verifications. If there are issues with the report, have the verifier address them.

verifier sub-agent

Use /verify and verifications.md to determine what verification tests still need to be performed.

Ensure that the changes work as expected in an e2e end user setting. Don't make any changes to data that cannot be undone. If possible work against a backup of data or seed data.

Consider whether any manual verification steps can and should be added as automated tests. Write these additional tests.

For the report, update verifications.md.

Phase 4 - Completion

Use /wrap-up to get the work merged.

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.