From specification
Analyzes design proposals or existing specifications, generates comprehensive DRAFT.md with copy-paste ready commit blueprints, and creates lightweight PLAN.md execution roadmap. Transforms approved designs into actionable implementation plans with atomic, testable commits.
How this skill is triggered — by the user, by Claude, or both
Slash command
/specification:plan-codeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Analyzes design proposals or existing specifications, generates comprehensive DRAFT.md with copy-paste ready commit blueprints, and creates lightweight PLAN.md execution roadmap. Transforms approved designs into actionable implementation plans with atomic, testable commits.
Analyzes design proposals or existing specifications, generates comprehensive DRAFT.md with copy-paste ready commit blueprints, and creates lightweight PLAN.md execution roadmap. Transforms approved designs into actionable implementation plans with atomic, testable commits.
What this command does NOT do:
When to REJECT:
ultrathink: you'd perform the following steps
Validate Environment:
Scan for Design Documents:
Scan for Proposals:
*_PROPOSED.md filesHandle Proposal Detection:
*_CHANGE.md)Output Format:
[OK] Command: plan-code $ARGUMENTS
## Summary
- Design source: [path]
- Proposals processed: [count]
- DRAFT.md: Created with [X] commits
- PLAN.md: Created with [Y] phases
- Quality Review: [PASSED]
## Files Created
- DRAFT.md: Implementation blueprint
- PLAN.md: Execution roadmap
- [*_CHANGE.md files]
## Commit Summary
1. `type(scope): description` - [X files]
2. `type(scope): description` - [Y files]
## Phases Overview
- Phase 1 (Foundation): [X] commits
- Phase 2 (Core): [Y] commits
## Next Steps
1. Review DRAFT.md for code accuracy
2. Review PLAN.md for execution order
3. Run `/takeover` to begin implementation
/plan-code
# Scans for design documents
# Generates DRAFT.md with atomic commits
# Creates PLAN.md with phases
/plan-code --design=docs/DESIGN.md
# Uses specific design file
/plan-code --change="add authentication"
# Focuses on authentication-related changes
/plan-code
# Finds DESIGN_PROPOSED.md
# Asks for approval
# If approved: Creates DRAFT.md, PLAN.md, DESIGN_CHANGE.md
/plan-code
# Error: No design specification found
# Suggestion: Run '/spec-code' first
/plan-code --design=docs/DESIGN.md
# Error: Design too vague
# Suggestion: Add required sections
npx claudepluginhub alvis/.claude --plugin specificationPlans implementation by investigating code, writing specs and plans, and validating with a peer agent. Useful before coding for planning, design approach, or scoping.
Guides design validation through collaborative dialogue before coding begins. Use when creating features, building components, or modifying behavior to prevent wasted work.
Produces approved design documents for new features, refactors, architecture changes, or behavior updates before any code. Enforces checklist with adversarial review, decomposition, and spec validation.