ワンクリックで
plan-step
// Plan the implementation of a roadmap step — reads the issue, relevant docs, and enters plan mode
// Plan the implementation of a roadmap step — reads the issue, relevant docs, and enters plan mode
| name | plan-step |
| description | Plan the implementation of a roadmap step — reads the issue, relevant docs, and enters plan mode |
| allowed-tools | Bash, Read, Grep, Glob, Agent, AskUserQuestion, EnterPlanMode, ExitPlanMode |
Plan the implementation of a roadmap step from docs/ROADMAP.md. Reads the GitHub issue, relevant documentation, and enters plan mode for user approval before any code is written.
Current branch: !git branch --show-current
Roadmap steps: !grep -E '^\| [0-9]+ \|' docs/ROADMAP.md | head -40
$ARGUMENTS for a step number. It may be provided as just a number (e.g., 27), or as Step 27, or with an issue number (e.g., 27 #64).$ARGUMENTS, ask the user with AskUserQuestion.docs/ROADMAP.md to get its title, description, and dependencies.:white_check_mark:, warn the user that this step appears completed.$ARGUMENTS, use that.gh issue list --search "Step {N}" --json number,title,state,labels --limit 10gh issue view <number> --json title,body,labels,commentsAskUserQuestion to confirm: "Plan implementation for Step {N}: {title} (Issue #{issue} / issue will be created)?"CLAUDE.md Documentation Index — read any docs referenced for the module being implemented.:white_check_mark: in roadmap).Use EnterPlanMode to enter planning mode. Then build a comprehensive implementation plan:
# Step {N}: {Title}
**Issue**: #{issue_number}
**Branch**: `issue/{issue_number}-{short-kebab-description}`
## Summary
<1-2 sentence overview of what this step accomplishes>
## Dependencies
- Step X: {title} — {status}
- ...
## Performance expectations (if applicable)
<If this step is performance-related, explicitly state:>
- **What** improvement is expected (e.g., "prefill throughput", "decode latency")
- **Where** in the pipeline (e.g., "attention softmax", "FFN projections")
- **How much** (e.g., "~10-35% total inference speedup" from roadmap/paper)
- **How to measure** (e.g., "bench_compare.py before/after on SmolLM-135M and Llama-3.2-1B")
- **Baseline**: run benchmarks BEFORE implementing
## Implementation plan
### 1. Create GitHub issue (if none exists)
Draft the issue title, body (with acceptance criteria derived from the roadmap description and docs), and create it via `gh issue create`. Use the returned issue number for the branch name.
### 2. Create branch
`git checkout -b issue/{issue_number}-{short-kebab-description} main`
### 3. {First logical unit of work}
- Files to create/modify: ...
- What to implement: ...
- Key design decisions: ...
### 4. {Next unit}
...
### N. Tests
- Unit tests: ...
- Integration tests (if applicable): ...
### N+1. Update roadmap & README
- Mark step as `:white_check_mark:` in `docs/ROADMAP.md`
- Update `README.md` roadmap table step count
- Add News entry if significant milestone
## Key design decisions
- Decision 1: {choice} — {rationale}
- ...
## Open questions
- Any uncertainties to resolve during implementation
readonly record struct, etc.)Use ExitPlanMode to present the plan for user approval. The user will review and either approve or request changes.
Plan the implementation of a specific GitHub issue — reads the issue, relevant docs, and enters plan mode
Commit+push PR comment fixes and reply to each reviewer comment on the PR
Read PR review comments from Gemini/Codex/humans, plan fixes, then apply after approval
Squash-merge the current branch's PR, delete the remote branch, and checkout main
Commit remaining changes, push branch, and create a PR with detailed description