About implement
A workflow skill for implementing approved software tasks, aimed at coding agents. It enforces scope, baseline checks, iterative verification, tracker updates, and an optional automation chain.
Key features
- 01Requires an approved task document
- 02Checks baseline before implementation
- 03Runs focused checks after each step
- 04Tracks task status through Testing
- 05Supports an implementation-to-ship chain
Use cases
- 01Implementing a reviewed task with defined acceptance criteria
- 02Keeping task trackers synchronized during implementation
- 03Automating subsequent delivery stages after implementation
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ eljun/ claude-workflow-skills --skill implementAfter installing, type/implementin Claude Code to confirm it loaded.
Details
From the project READMEimplement - Implementation Stage
Invariants
- Require an approved task document before changing implementation files.
- Treat the task document as the primary scope contract.
- Do not broaden scope without user approval.
- Do not rely on provider-specific model switch commands.
implement autois the only automation entry point.- Do not start while the task doc lists a
BLOCKINGopen decision. Stop and ask the user, quoting the decision and its options. - If the project's
AGENTS.mddefines its own claim or tracker convention (for example "the pushed branch is the claim; don't editTASKS.mdat start"), follow it instead of the tracker moves below. - Update
TASKS.mdat both transitions (Planned → In Progress on start, In Progress → Testing on finish) and re-read the tracker before handoff to confirm the row moved. A stale tracker blocks downstream and headless sessions.
Runtime adapters may expose this stage as a slash command, menu action, or natural-language skill invocation. The portable stage name is implement.
Argument Handling
{ID}or{task-name}identifies the task document.autoenables the implementation-to-ship automation chain after implementation.--tier fast|balanced|deepmay override the task document recommendation only if the active runtime supports tier routing.
If a user asks for provider-specific model names, treat them as adapter-level preferences rather than core workflow semantics.
Workflow
- Read
AGENTS.md. - Read
LEARNINGS.mdif it exists. - Resolve the task ID from
TASKS.mdor direct task filename. - Read
docs/task/{ID}-{task-name}.mdfrom the latest integration branch (fetch first). A local or older copy may predate decisions or scope notes. - Verify the task has been reviewed and approved for implementation, and that no
BLOCKINGdecision is open. If either is unclear, stop and ask. - Read
Coordination. If a listed task touching the same files is in progress, follow the stated rule (wait, or sync with its branch) and note it inImplementation Notes. - Read only files listed in the task document unless a missing dependency blocks implementation.
- Move the task to
In ProgressinTASKS.md, removing the row fromPlanned. - Capture the baseline: run the pre-merge acceptance checks before changing anything, and record the values in the task doc's
Baseline. A check that already passes before the change can't prove the change. Rewrite it so it fails first, or note why. - Apply the implementation steps in a loop: after each step, run the narrowest check that step affects, and move on only when it shows the expected result. Don't batch every check to the end.
- Run the full pre-merge acceptance and no-regression checks, and compare against the baseline.
- Before handing off (and again after syncing with the integration branch), re-read the task doc from the integration branch. If its scope or decisions changed since you started, reconcile or stop and ask; don't finish against a stale plan.
- Append
Implementation Notesto the task document, including the Operator Steps for what you actually changed (recompute the deploy set from your diff; don't copy the plan's list). - Move the task to
TestinginTASKS.md, removing the row fromIn Progress. - Re-read
TASKS.mdand verify the task row is inTestingand absent fromPlannedandIn Progress. If the row is not in the expected section, the move was missed, so make the edit now before handoff. - In manual mode, stop and hand off to
simplify. - In auto mode, continue through the portable automation chain.
Loop Rules
- Never claim a result you didn't observe. "Should work", "looks right" and a passing build are not evidence for a behaviour criterion. Report the check you ran and its output, or say the check wasn't run.
- Each retry must change something. Before retrying a failing check, write down what is different this time (a new hypothesis, a fix, more data). If nothing is different, stop and ask instead of repeating.
- Record failed attempts (what was tried, what the check showed) in
Implementation Notes, so the next session doesn't repeat them. - Don't weaken the check to make it pass. If a check is wrong, fix it in a separate, explained step, citing the evidence.
Reading Rules
Read these by default:
AGENTS.mdLEARNINGS.mdif present- the task document
- files listed in
File Changes
Avoid broad codebase exploration. If the task document lacks necessary context, use targeted search for the specific symbol, file, route, or command and record the reason in Implementation Notes.
Implementation Notes
Append this section to the task document:
## Implementation Notes
### What Changed
- {Summary}
### Files Changed
- `{path}` - {reason}
### Deviations From Plan
- {None, or describe with rationale}
### Verification Run
- `{command}` - PASS | FAIL | SKIPPED ({reason}) (baseline: {value} → now: {value})
### Attempts That Failed
- {What was tried, what the check showed, why it was dropped; or "None"}
### Operator Steps
- {Migrations, deploys (incl. importers of changed shared modules), config, or "None: merge is enough"}
Auto Chain
When invoked as implement auto {ID}, continue after implementation:
simplify {ID}test {ID}document {ID}ship {ID}
If the runtime supports background workers or subagents, the adapter may run stages in isolated workers. If it does not, run stages sequentially in the current session. Each stage must write durable details to the task document or its report file.
Stop after three fix-and-retry cycles for the same failing test or quality issue and report the blocker to the user. Each cycle must follow the Loop Rules (something changes; the attempt is recorded).
Handoff
Manual mode output:
Implementation complete for task {ID}
Task status: Testing
Next stage: simplify {ID}
Auto mode output should summarize the final stage reached and any blocker.