agentleFS
vasuag09vasuag09/harness-claude/skills/harness-implement/SKILL.md

harness-implement

Skill2 starsChanged 6 months agoMITView on GitHub

Orchestrate the entire IMPLEMENT phase — test-driven implementation of the approved plan, resolving build/type errors as they arise. Use after /harness-plan. Sequences /implement and /build-fix, delegates to subagents, and halts if reality diverges from the plan.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Parallel-fan-out checkpoint (mandatory when it triggers): before editing a phase serially, if it spans 3+ independent files with disjoint …

    line 16
  2. Very specific:

    If the build/types break and the fix isn't obvious → /harness-claude:build-fix (delegate to the harness-claude:build-error-resolver agent), …

    line 22
  3. Distinctive:

    Plan-divergence gate: if reality contradicts the plan (a phase is wrong, missing, or bigger than scoped), HALT — report the divergence, …

    line 26
  4. Very specific:

    Do not commit or push — branch creation follows rules/git.md (branch-at-first-write in /harness-claude:implement).

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

/harness-implement — run the Implement phase

Thin orchestrator over the Implement skills. Requires an approved plan from /harness-claude:harness-plan (or /harness-claude:plan). Refuse to start without one for non-trivial work.

Sequence

  1. For each plan phase, in order:
    • /harness-claude:implement — delegate to the harness-claude:tdd-guide agent: failing test (RED) → minimum code (GREEN) → refactor, against the phase's acceptance criteria.
    • Parallel-fan-out checkpoint (mandatory when it triggers): before editing a phase serially, if it spans 3+ independent files with disjoint write-sets and no dependency, you must surface /harness-claude:orchestrate — name the file split and let the user choose. The offer is not optional (that's the only way parallel mode fires); acting on it stays opt-in — never auto-start a multi-agent run.
    • Let the format/typecheck/quality hooks run; act on what they surface.
    • If the build/types break and the fix isn't obvious → /harness-claude:build-fix (delegate to the harness-claude:build-error-resolver agent), minimal diffs only.
    • Confirm the phase's exit check (tests green, build clean) before the next phase.
  2. Plan-divergence gate: if reality contradicts the plan (a phase is wrong, missing, or bigger than scoped), HALT — report the divergence, update the plan with the user, then resume. Never silently improvise scope.

Rules

  • Delegate search/exploration and isolated edits to cheaper models; keep the orchestrator focused on integration.
  • Files stay modular and lean (<800 lines), immutable patterns, validated inputs.
  • Compact at phase boundaries, not mid-phase.
  • Do not commit or push — branch creation follows rules/git.md (branch-at-first-write in /harness-claude:implement).

Output

Phase-by-phase summary (what was built, tests added, build status). Then hand off to /harness-claude:harness-verify.

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.