agentleFS
MrPengujnMrPengujn/dev-flow-skills/skills/dev-implement/SKILL.md

dev-implement

Skill1 starsChanged 6 days agoMITView on GitHub

Implementation phase of dev-flow. In economy and fast mode it hands the approved plan's tasks to implementation subagents (one at a time, or up to 3 in parallel) and verifies their results. In lite mode the main agent implements the tasks itself, one by one, with the plan file as checkpoint. Use when dev-flow reaches its implementation phase or when the user explicitly invokes "/dev-implement". Do not load it for ordinary coding requests.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. hernancham2/skills★ 1same 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.

  • In this repository4 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 9 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the dev-flow core rules are not loaded in this session, load the dev-flow skill first and apply its core rules.

    line 8
  2. Distinctive:

    Never run two subagents that own the same file.

    line 19
  3. Distinctive:

    Keep it to what the task needs.

    line 22
  4. Distinctive:

    Add task-specific context only when the plan does not already carry it.

    line 35
  5. Distinctive:

    Deviation: if it affects later tasks, update the plan.

    line 39
  6. Distinctive:

    Blocked on an ambiguity: ask the user, then re-dispatch with the answer.

    line 40
  7. Very specific:

    Do what the user chose in the plan.

    line 47
  8. Distinctive:

    Run the checks and fix what you broke.

    line 59
  9. Distinctive:

    If something is ambiguous, ask the user.

    line 62
  10. Distinctive:

    When all tasks are done, run the full checks once more.

    line 64

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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

Dev Implement

If the dev-flow core rules are not loaded in this session, load the dev-flow skill first and apply its core rules.

Needs an approved plan at .dev-flow/plan.md. If there is none, run dev-plan first when it is installed; otherwise ask the user for the tasks and decisions before starting.

In lite mode, follow "Lite mode" at the end instead of sections 1 to 4. Sections 5 and 6 apply in every mode.

1. Dispatch

Work through the plan wave by wave.

  • Economy: one subagent at a time, in dependency order. Adjacent easy tasks in the same area may share one subagent to save startup cost.
  • Fast: up to 3 subagents at once, only tasks from the same wave. Launch them in a single message so they actually run in parallel.

Never run two subagents that own the same file.

2. The implementer prompt

Keep it to what the task needs. The task text lives in the plan file, so point to it instead of retyping it.

Implement task <id> of the plan at .dev-flow/plan.md. Read the header, "Decisions", "Contracts" and your task; skip the other tasks.
You own: <files>. Do not edit other files; if a change elsewhere is needed, report it.
Follow the project's existing conventions; <neighbouring file> is a good pattern.
Tests: <add tests like <example> | this project has no tests, do not add any>.
Before reporting, run: <checks, scoped to your files when tasks run in parallel>. Fix what you broke.
If anything is ambiguous or blocked, stop and report it. Do not guess.
Do not spawn subagents. Do not commit. Do not edit the plan file.
Report: status (done / blocked / failed), files changed, check results, any deviation from the plan, anything a later task needs to know.

Add task-specific context only when the plan does not already carry it.

3. After each report

  • Done: set the task's status in the plan file.
  • Deviation: if it affects later tasks, update the plan. If it changes what the user approved, ask the user.
  • Blocked on an ambiguity: ask the user, then re-dispatch with the answer.
  • Failed, or checks failing: core rule 6 (one retry with the failure details, then ask the user).

4. Verify

After each parallel wave, and once when all tasks are done, run the full checks yourself with quiet output so only the summary reaches your context. Subagent self-reports are not proof, and parallel work can break at the seams. Any failure goes to a subagent, never fixed by you.

5. Git

Do what the user chose in the plan. You make the commits, not the subagents, so parallel work cannot collide. Never commit .dev-flow/.

6. Finish

Tell the user in a line or two that implementation is complete and checks pass, then continue with the review phases if the pipeline is running. If dev-implement was invoked alone, give the final report and stop.

Lite mode

You implement the tasks yourself. The plan file is your checkpoint: it must always be enough to continue from, because your context may be compacted or cleared.

For each task, in plan order:

  1. Reread the task, "Decisions" and "Contracts" from .dev-flow/plan.md. Do not work from memory.
  2. If the task is marked large (more than about 5 files or 300 source lines), first offer the user a clean start, once per task: they can clear the context (/clear in Claude Code) and send /dev-flow continue, and you will resume from the plan file. If they prefer to carry on, carry on.
  3. Implement it. Follow the project's existing conventions. Add tests if the plan says the project has them.
  4. Run the checks and fix what you broke. If your second attempt still fails, stop and ask the user.
  5. Checkpoint: set the task's status to done and write two to four lines under its "Notes": what changed, any deviation from the plan, anything a later task needs.

If something is ambiguous, ask the user. Do not guess. A deviation that changes what the user approved also goes to the user.

When all tasks are done, run the full checks once more.

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.