agentleFS
steepy-itsteepy-it/steepy-apex/skills/implement/SKILL.md

implement

Skill14 starsChanged 36 days agoApache-2.0View on GitHub

Execute a READY Gear-2 spec directly or a hub-governed plan under TDD, scaling code-diff review and downstream handoff to the recorded gear.

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

We split this skill into the rules it gives an agent

5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 171 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    If round 3's re-review still finds issues, move the fix up one tier from the tier round 3 ran at (standard → most-capable), add escalated: …

    line 49
  2. Very specific:

    Only the user restarts a parked loop.

    line 60
  3. Distinctive:

    Never raise the cap or restart the count on your own.

    line 65
  4. Very specific:

    Only this SKILL.md is meant to stay in context for the whole run.

    line 78
  5. Very specific:

    Always set model: explicitly when dispatching a subagent.

    line 85

“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

Execute either a READY Gear-2 spec directly or an approved plan one task at a time. You orchestrate; the bound <surface>-agent implements under rigid TDD. Gear 2 uses implementer self-review plus deterministic gates and terminates here. Gear 3 additionally spends code-diff reviewers and hands the result to the review phase.

Engine root: this skill's base directory is <engine-root>/skills/implement/; engine scripts live two levels up, at <engine-root>/scripts/. Resolve them relative to the base directory your harness reports for this skill.

Execution discipline

Keep between-task updates brief: which task finished and what comes next (e.g. "Task 2 approved, moving to Task 3") — the ledger and the tool results carry the record. Never ask "should I continue?" between tasks; execute the accepted input straight through. The only reasons to stop mid-run are an unresolved BLOCKED status, a genuine NEEDS_CONTEXT question from an implementer, a direct Gear-2 spec that requires decomposition, a fix loop parked by the fix-round cap, or all tasks complete.

Checklist

  • Autopilot (drive: autopilot): read the co-located autopilot-protocol.md and take verdict/gear/drive from its contract (Step 0)
  • Manual/no-manifest: accept either the direct Gear-2 exact spec or the plan-backed exact plan + source-spec capabilities; never merge the alternatives (Steps 0–1)
  • Derive the task directory, ledger.md, and task-result index solely from the accepted entry artifact basename; resume only with exact progress-ledger + task-results capabilities
  • Ask once: confirm the working branch (if on main/master) and commit-after-each-task authorization — or read both from the autopilot contract (Step 2)
  • Verify the Gear-3 task-result handoff parses before claiming completion; close Gear 2 locally after its deterministic gates (Step 5)
  • Pre-flight: scan the accepted spec or plan once for internal conflicts, batching only plan-backed conflicts to the user (Step 2.5)
  • Per task (sequential): brief → dispatch <surface>-agent (implementer-prompt.md) → diff → review (task-reviewer-prompt.md, gear 3 + non-mechanical only) → fix loop → mark complete
  • After the last task: whole-branch review (final-review-prompt.md, gear 3 only) → fix loop
  • Gear 3 only: hand off to the review skill with only criteria + task-results + branch-diff

Fix-round cap

A review-fix loop that stops converging is not healthy work, so it has a cap. The cap applies on its own to each task's loop (Step 3) and to the whole-branch loop (Step 4), inline same-session review passes included.

  • A fix round is one fix dispatch plus its re-review. Before each fix dispatch, append Task N: fix round <R> (model: <tier>) — or Final review: fix round <R> (model: <tier>) — to the ledger. Count rounds from those ledger lines, never from memory. A fix that returns NEEDS_CONTEXT or BLOCKED and is dispatched again (more context, a stronger model, or autopilot's --role retry) stays in the same round; an escalated: note on the task's own ledger line is that BLOCKED handling, not a step of the cap.
  • Rounds 1–3 run the fix at the task's tier, never below standard: a fix works from the issues prose (Model Selection). For the whole-branch loop, use the tier of the owning task the fix is dispatched under.
  • If round 3's re-review still finds issues, move the fix up one tier from the tier round 3 ran at (standard → most-capable), add escalated: <from>→<to> to the round-4 line, and allow rounds 4–5 there.
  • Park the loop when round 5's re-review still finds issues, or after round 3 when no higher tier is left (the fix already runs at most-capable, or the harness offers no per-dispatch model). Append Task N: fix loop parked by the fix-round cap — or Final review: fix loop parked by the fix-round cap — to the ledger, ending it with (attempt <A>) in autopilot. Manual drive: stop and give the user the open issues artifact (task-N-issues.md or final-review-issues.md) with the ledger's round lines. Autopilot (drive: autopilot): append the correlated BLOCKED marker from autopilot-protocol.md with the reason fix-round cap: Task N (or fix-round cap: final review) and exit non-zero.
  • Only the user restarts a parked loop. Record their decision as Task N: fix loop restarted by user (<reason>) — or Final review: fix loop restarted by user (<reason>) — and count rounds after the latest such line. In autopilot the user restarts by resuming the run: when a new attempt finds the loop still parked — its latest parked line comes from an earlier attempt and no restart line follows it — record the restart with the reason autopilot resume, attempt <A>. Never raise the cap or restart the count on your own.

Procedure

The steps live in co-located files, each read in full at the point named here:

StepsFileRead it
Handoff envelope, resume pairs, publication ordermanual-handoff.mdbefore accepting any input, and again before Step 5 publishes
0–2.5: read the gear, load the input, confirm branch and commits, pre-flight scanentry.mdat the start of every run, fresh or resumed
3–4: per-task loop, child protocol, whole-branch reviewtask-loop.mdbefore dispatching the first task
5: hand offfinish.mdafter the last task, before the closing gates

Only this SKILL.md is meant to stay in context for the whole run; a context compaction can drop the step files you read earlier. Before you act on a step, its file must be fully in view. If it is not — after a compaction, on resume, or when only a summary of it remains — re-read it from this skill's base directory first. Never act on a summary of a step file.

Model Selection

Always set model: explicitly when dispatching a subagent. An omitted model inherits the session model (usually the most capable and most expensive) and silently defeats this policy.

Pick the tier by task complexity and risk:

SignalTier
Mechanical / transcription (1-2 files, complete spec)cheap
Integration / multi-file / judgmentstandard
Design / architecture / high-risk or subtle changemost-capable

Reviewers floor at standard and rise to most-capable when the artifact is high-risk or subtle.

Turn count beats token price. The cheapest model often takes 2-3× the turns on multi-step work — more wall-clock and context overall. Make a mid-tier model the floor for reviewers and for implementers working from prose; reserve the cheapest tier for transcription tasks whose exact code the plan already contains.

Translate the tier to a concrete model by judgment at dispatch time using your harness's available models. The three tiers are the whole ladder — most-capable is its top rung, not an open-ended "best available". A model that sits above that rung is outside the ladder: never reach it from a tier, and record a one-line reason in the ledger when you override to it. The whole-branch review runs at the reviewer tier — standard, rising to most-capable when the branch is large or subtle — not at whatever model the harness happens to offer. On a harness without per-dispatch model choice, everything runs on the session model — record that in the ledger.

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.