Spec-driven development tends to collapse not on the spec but on the handoffs, where a human has to remember to run the next command and check the last output. The author built a driver skill, /ship-feature, that splits a feature into five layers and runs automated gates between them.
Key points
- SDD breaks at the handoffs, not at the spec: seven manual steps are seven chances to skip a check.
- One command, /ship-feature, drives five layers — spec, api, app, qa, stats — each a single commit with its own prefix.
- Gates run the metrics script before moving between layers and stop on spec drift or a high ai_blob_score.
- ai_blob_score is a line-count heuristic for untested 40+ line functions, not a real complexity analyzer.
- The only mandatory human checkpoint is spec approval at the end of layer 1; everything after it runs unattended.
- Sample feature: 5/5 tasks, 72 tool calls, 3/20 blob score, rspec, vitest and playwright green, $48.37 session cost.
Why it matters
Moving the checks humans forget at review time into automated gates keeps a spec-driven workflow honest, even on features too small to justify a full manual process.
Real-world use
- A team that already writes specs but keeps skipping the review and QA steps on small features.
- A solo developer shipping a full-stack feature such as a Rails API plus a React UI as one PR with test evidence attached.
- An agency that needs an auditable trail for client work: one commit per layer, generated metrics and a PR body nobody hand-wrote.
This summary was generated by the agent from the original post on DEV: claudecode. The full text and all rights belong to its author and publisher. Go to original