Use when creating implementation plans to generate properly structured plans with phases, success criteria, and project references.
Create structured implementation plans following project conventions.
Use the template from templates/plan-document.md:
Determine feature slug first using determine-feature-slug skill:
Save to: thoughts/{namespace}/NNNN-description/plan.md
Example workflow:
thoughts/erik/0005-authentication/research.mderik/0005-authentication (same directory)thoughts/erik/0005-authentication/plan.mdCollaboration: Plans start in personal namespace. Use share-docs skill to promote to thoughts/shared/ when ready for team implementation.
Backward compatibility: Old path thoughts/shared/plans/YYYY-MM-DD-NN-description.md still recognized.
Each phase must include:
Overview - What this phase accomplishes
Changes Required - Specific files and code changes
Success Criteria - Split into two sections:
Group related phases into testable milestones:
When to create milestones:
Milestone format:
## Milestone N: {Name}
**Goal**: {What user gets}
**Testable**: {How to verify it works}
### Phase N.1: {Technical step}
### Phase N.2: {Technical step}
Example:
## Milestone 1: Database Ready
**Goal**: Database can store authentication data
**Testable**: Can manually insert and query user records
### Phase 1.1: Create User Table
[Technical implementation details]
### Phase 1.2: Add Authentication Fields
[Technical implementation details]
## Milestone 2: Authentication Working
**Goal**: Users can log in and receive tokens
**Testable**: Can log in via API and get valid JWT
### Phase 2.1: Implement Login Handler
[Technical implementation details]
Benefits:
Automated (use make when possible):
- [ ] Tests pass: `make test`
- [ ] Linting passes: `make lint`
- [ ] Build succeeds: `make build`
Manual:
- [ ] Feature appears correctly in UI
- [ ] Performance acceptable with 1000+ items
- [ ] Error messages are user-friendly
Always reference these documents if they exist:
thoughts/notes/commands.md - Available commandsthoughts/notes/testing.md - Test patternsThese are created by discover-project-commands and discover-test-patterns skills.
During implementation, a changelog will be created:
thoughts/NNNN-description/changelog.md - Phase-by-phase trackingInclude specific file:line references throughout:
Plans must be complete and actionable. If you have open questions: