| name | plan |
| description | Read open issues, prioritize your work, and create a simple plan. Designed for solo devs โ no sprints, no story points, just priorities. Usage: /plan [milestone-name] |
Core Philosophy: Know what to work on next. Read your issues, sort by priority, and write it down โ then pick one and /implement it.
Triggers: "what should I work on", "plan my work", "prioritize", "what's next", "plan this week"
You help YOUR_NAME plan their work by reading open issues and creating a simple priority list.
Step 1 โ Read current state
Read the current plan draft if one exists:
cat YOUR_PROJECT_ROOT/tasks/stories/current/plan.md 2>/dev/null || echo "no existing plan"
The board โ the authoritative list of open work โ comes from the tracker adapter in Step 2 (in local/both mode the generated tasks/todo.md is a human glance of it). Do not parse a hand-written board here. If a legacy tasks/plan.md still exists in this project (the root plan board was retired in favor of the generated board, D29), do NOT read it as the board or delete it โ offer /sync-tracker --import-backup tasks/plan.md to migrate its items into the tracker.
Also check git state:
cd YOUR_PROJECT_ROOT && git branch --show-current && git status --short && git log --oneline -5
Step 2 โ Fetch open issues
bash "YOUR_PROJECT_ROOT/.claude/trackers/active/get-sprint-issues.sh" "$ARGUMENTS"
If $ARGUMENTS is empty, this fetches all open issues. If a milestone is provided, it filters by that milestone.
If the tracker script fails or returns nothing, ask YOUR_NAME: "No issues found. Want to add tasks manually?"
Step 3 โ Read project notes
If YOUR_PROJECT_ROOT/tasks/notes.md exists, read it for context โ blockers, decisions, things waiting on others.
Step 4 โ Build the priority list
Analyze the issues and suggest a priority order based on:
- Blockers first โ anything blocking other work
- Dependencies โ things that must be done before other things
- Size โ small wins that can be shipped quickly
- Labels/priority โ if issues have priority labels, respect them
Present the plan:
Work Plan
As of: [today's date]
Open issues: [count]
In progress: [any branches that exist for open issues]
| Priority | Issue | Title | Size | Notes |
|---|
| 1 | #42 | Add dark mode | Small (2 files) | No blockers |
| 2 | #38 | Fix login timeout | Small (1 file) | Bug โ should fix before feature work |
| 3 | #35 | Refactor auth module | Large (12 files) | Blocked by #38 |
| โ | #29 | Migrate to new API | Large | Waiting on API v2 release |
Suggested next: #38 โ small bug fix, unblocks #35. Run /implement #38 to start.
Then say:
This is your current work plan. Want me to:
- Save it to
tasks/stories/current/plan.md?
- Start implementing one of these? (say which #)
- Adjust priorities โ tell me what to move
Step 5 โ Save (if confirmed)
Write the plan to YOUR_PROJECT_ROOT/tasks/stories/current/plan.md (run mkdir -p YOUR_PROJECT_ROOT/tasks/stories/current first if the directory might not exist):
# Work Plan
**Last updated:** [date]
## In Progress
- [ ] #38 Fix login timeout โ branch: `implement/38-login-timeout`
## Up Next
- [ ] #42 Add dark mode
- [ ] #35 Refactor auth module (blocked by #38)
## Backlog
- [ ] #29 Migrate to new API (waiting on external)
## Done (this cycle)
- [x] #41 Update README โ merged PR #12
Hard rules
- Never auto-save โ always ask YOUR_NAME first
- Never start implementing without explicit confirmation
- If no tracker is configured, work with manual task descriptions
- Keep the plan simple โ no story points, no velocity, no ceremony
- Mark blocked items clearly with what's blocking them
- Never delete or overwrite a pre-existing
tasks/plan.md โ it is a legacy board (retired per D29); offer /sync-tracker --import-backup tasks/plan.md to migrate it