/workflows:write-plan-docfrom workflows
Generates structured implementation plans with phases, milestones, success criteria, and project references. Useful when starting a new feature or refactor.
Ships in workflows. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub eveld/claude --plugin workflows29 skills in this plugin
/agent-awarenessALWAYS 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./before-code-analysisUse BEFORE reading multiple files to understand code. Reminds you to use codebase-analyzer agent instead of manual file reading./before-file-searchUse BEFORE running grep or glob commands. Reminds you to use codebase-locator agent instead of basic file search tools./before-spawning-taskUse BEFORE using the Task tool. Ensures you select the correct specialized subagent_type instead of generic agents./debug-systematicallyUse when encountering errors or bugs to follow a systematic debugging process instead of jumping to conclusions./determine-feature-slugDetermine feature slug interactively by auto-detecting next number and prompting user for descriptionOther plugins' skills for the same job