Ship a feature with spec-first discipline
When to use: Vague feature request from PM; you want it shipped right, not fast.
Prerequisites
- Skill installed — git clone https://github.com/maxritter/pilot-shell ~/.claude/skills/pilot-shell
Flow
-
PlanUse pilot-shell. Plan the feature 'export usage CSV per workspace per month'. List unknowns + risks.✓ Copied→ Plan with explicit unknowns; you fill gaps before next step
-
SpecFrom the plan, write a spec with acceptance criteria + non-goals + edge cases.✓ Copied→ Spec saved to /specs/<feature>.md
-
ImplementImplement against the spec. Tests first, then code. Stop at any unmet criterion.✓ Copied→ Tests + impl; failing tests visible until impl passes
-
Verify gatesRun all gates: lint, type, tests, docs. Block PR if any red.✓ Copied→ Gate report; only green = merge candidate
Outcome: Features that ship spec-complete, with tests and docs.
Pitfalls
- Spec dragged out into a planning marathon — Time-box spec phase to 30 min; ship the smallest spec that locks acceptance