What problem does it solve?
Planning a significant feature, fix, or refactor often produces vague plans that force engineers to redo research during implementation. This Skill produces a grounded, commit-sized implementation spec in the specs/ directory that an engineer can follow without repeating the investigation.
Core Features & Use Cases
- Research-grounded planning: Traces entry points, key types, callers, and tests in the current codebase before writing the plan.
- Structured spec format: Produces Mermaid system-flow diagrams, goals and non-goals, per-phase important types, call-stack diffs, and code diff previews.
- Commit-sized phases with checks: Breaks work into phases that each fit one commit, include four or five checklist steps, and use package-level end-to-end tests or uncommitted smoke checks.
- Use Case: Ask the agent to plan a refactor of an API validation layer, and receive a specs/ file with phased diffs, exact file and symbol names, and the commands that prove each phase works.
Quick Start
Use the generate-spec-v2 skill to plan this feature as a phased implementation spec in the specs directory.