Work Plan Skill
Work plans are timestamped markdown files that survive auto-compaction. They are the external brain for multi-step work.
File Convention
- Location: Project root, gitignored
- Name:
WORKPLAN-YYYYMMDD-slug.md(e.g.,WORKPLAN-20260228-auth-refactor.md) - One file per task/phase. Do not reuse old workplans. Start fresh for each distinct effort.
Actions
Create (/workplan or /workplan create)
- Read first. Before writing the plan, read all relevant files, issues, context.
- Ensure
.gitignoreincludesWORKPLAN-*.md(add if missing). - Create the file with this template:
# Work Plan: [Title]
Created: YYYY-MM-DD HH:MM
Last updated: YYYY-MM-DD HH:MM
Status: IN PROGRESS
## Context
[Why this work exists. The problem. Root cause. Key constraints. Links to issues/PRs.]
## Roadmap
- [ ] 1. Step description
- [ ] 2. Step description
- [ ] 3. Step description
## Decisions
[Log architectural or approach decisions with timestamps]
- [HH:MM] Chose X over Y because Z
## Discovered Issues
[Things found along the way that were not in the original scope]
- [HH:MM] Found ... while working on step 2
## Verification Log
[Each completed item gets a verification entry]
- [HH:MM] Step 1: VERIFIED - ran `npm test`, all 42 tests pass
- [HH:MM] Step 3: VERIFIED - manually tested login flow, works
Update (/workplan update)
- Read the active
WORKPLAN-*.mdfile(s) in the project root. - Update "Last updated" timestamp.
- Check off completed items with verification timestamps.
- Add any new discoveries or decisions.
- Report current status.
Close (/workplan close)
- Read the active workplan.
- Verify ALL items are checked off with verification timestamps.
- Run final verification (build, tests, manual checks).
- Change status to
DONE. - Add final summary:
## Completed
Closed: YYYY-MM-DD HH:MM
All N items implemented and verified. Build passes. Tests pass.
Resume (after compaction)
When context has been compacted or unsure where you left off:
- Find active workplans: look for
WORKPLAN-*.mdin project root. - Read the workplan file.
- Identify the first unchecked item.
- Continue from there.
Rules
- VERIFIED means tested. Not "I think it works." Run it, see it pass, then mark verified. Include what you ran and the result.
- Update timestamps on every change. Future context (post-compaction) depends on this.
- New discoveries go in immediately. Do not keep them only in context.
- Never delete the plan until the user confirms the work is done.
- One concern per checklist item. Break big steps into smaller verifiable pieces.
- If a step fails verification, log the failure, keep it unchecked, add what went wrong.