write-plan-doc
Use when creating implementation plans to generate properly structured plans with phases, success criteria, and project references.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when creating implementation plans to generate properly structured plans with phases, success criteria, and project references.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Generic migration orchestrator that reads CHANGELOG.md to understand and execute version-specific migrations
Determine feature slug interactively by auto-detecting next number and prompting user for description
Share personal documents to the shared namespace with atomic git commit and push
Use when documenting research findings to create properly structured research documents with frontmatter, sections, and file references.
ALWAYS check this skill before using grep, glob, Task tool, or doing any codebase exploration. Guides you to use specialized agents that are more efficient than basic tools.
Use when writing tests to ensure they follow project conventions. References patterns from thoughts/notes/testing.md.
| name | write-plan-doc |
| description | 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: