| name | execute-phase |
| description | Mandatory execution skill for any delta/IP implementation phase. Use it before code changes, move the owning delta to in-progress, keep notes current, reconcile structured execution docs, and surface blockers early. |
If the delta still says draft, immediately change it to in-progress (spec-driver edit delta DE-123 --status in-progress).
You are executing one phase of planned work.
Inputs:
- Active phase sheet (
IP-XXX.PHASE-XX)
IP-XXX.md
DR-XXX.md (when present, canonical design reference)
DE-XXX.md
Process:
- Confirm entry criteria are met for the active phase.
- Read DR + IP + phase sheet before coding and use
/preflight to surface
confirmed inputs, assumptions, unresolved questions, and tensions before
implementation.
- Identify the concrete files or components you expect to touch first and run
/retrieving-memory against those paths before deep reading or editing so
any scope.globs gotchas or patterns surface early.
- Ensure the owning delta frontmatter says
status: in-progress before implementation work proceeds. If it still says draft, update it first.
- Implement phase tasks (code/tests/docs) in small coherent units.
- After each meaningful unit, run
/notes.
- If that unit produced a durable gotcha, pattern, or subsystem fact worth
future retrieval, run
/capturing-memory or /maintaining-memory before
moving on.
- When execution changed phase/IP/DE/DR state, run
/update-delta-docs.
- Follow the repo's commit policy from doctrine. Bias toward frequent, small
commits of
.spec-driver/** changes and a clean repo. If .spec-driver/**
edits and code edits are both accumulating, commit them together or
separately based on what naturally gets committed first; do not let workflow
artefacts drift in a stale uncommitted pile while waiting for the perfect
bundle.
- If
/preflight or implementation reveals unresolved design ambiguity,
unexpected obstacles, tradeoffs, or policy ambiguity, stop and /consult
before improvising past it.
- Keep verification evidence current as work progresses (
planned -> in-progress -> verified as appropriate).
- Before declaring the phase ready for audit, review the touched subsystems
and notes once more for missed memory-capture candidates.
- When exit criteria are met, hand off to
/audit-change for verification and spec reconciliation.
Run spec-driver validate file <phase-sheet.md> before transitioning the phase to completed. Validation failures must be resolved or filed as drift before close.
Outcomes:
- Phase objectives are implemented with traceable evidence.
- Delta lifecycle state matches reality during implementation, not only at closure.
- Notes and structured execution artefacts stay current throughout execution.