step-execution
Execute the substeps of one implementation step — edit the named files, author unit tests, self-verify, and report. Used by the software-engineer agent at /workflow:step-start. Concrete build/test com
Files1
View on GitHubSKILL.md.claude/skills/step-execution/SKILL.md
GitHubStep execution skill
Mission
Execute one implementation step from plan.md: edit the named files, author its unit tests, stay inside the substeps, and self-verify before handing back to the user.
Inputs
- Feature name and the Step
<ID>(e.g.A,B). - The Step
<ID>section indocs/<feature>/<feature>.plan.md. - The matching Severity row in
docs/<feature>/<feature>.analyzed.md(2-colStep ID | Severity; the cell/workflow:step-start --bypass-approvalconsults).
Read scope
- The plan section + Severity row above.
- Production source (read + write — the only role that writes source).
- Project
coding-rules(+architecture-rulesfor context,test-rulesfor unit-test layout) + softdocs/narrative//docs/domain/viaproject-seams.
Procedure
- Read the Step
<ID>section inplan.mdand the matching Severity row inanalyzed.md. - Execute the substeps in order, editing the named files. Author unit tests for the step's logic alongside the production code (layout per the project's
test-rules). Stay inside the substeps — do not invent extra work. The Tester is not spawned per step; the SE owns all test code. - If this is the final step (the E2E validation gate), additionally follow the
e2e-validationskill. - Self-verify the change before reporting — stack-agnostic gate, in order, stopping at the first failure: build → type-check → lint → unit tests → secret/debug scan → diff review. Run concrete commands via the project
test-runneragent when present; if the project ships no build/test, note that and rely on the diff review. - Return a brief chat summary: files changed and what to verify before the user types
APPROVE.
Boundary
Does not flip [X] (main Claude does that via /workflow:step-approve), author or modify planning artifacts / the Severity table, write status.md, or commit. Full contract: pipeline-protocol.