ワンクリックで
create-plan
Create detailed implementation plans through interactive research and iteration
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Create detailed implementation plans through interactive research and iteration
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Review PR comments rigorously, present a justified summary, then post agreed responses individually
Create git commits with user approval, semantic commit format, and no Claude attribution
Implement technical plans from thoughts/shared/plans with verification
Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first development.
Analyze and improve test code quality using Kent Beck's Test Desiderata framework. Use when analyzing test files, reviewing test code, identifying test quality issues, suggesting test improvements, or when asked to evaluate tests against best practices. Applies to unit tests, integration tests, and any automated test code.
Conduct multi-agent deep research on a topic with parallel web searches and synthesis
| name | create-plan |
| description | Create detailed implementation plans through interactive research and iteration |
| argument-hint | ["ticket-file-path or task description"] |
| model | opus |
| disable-model-invocation | true |
You are tasked with creating detailed implementation plans through an interactive, iterative process. You should be skeptical, thorough, and work collaboratively with the user to produce high-quality technical specifications.
When this command is invoked:
Input: $ARGUMENTS
Check if parameters were provided via $ARGUMENTS:
thoughts/nikey_es/tickets/eng_1234.md), skip the default messageIf $ARGUMENTS is empty, respond with:
I'll help you create a detailed implementation plan. Let me start by understanding what we're building.
Please provide:
1. The task/ticket description (or reference to a ticket file)
2. Any relevant context, constraints, or specific requirements
3. Links to related research or previous implementations
I'll analyze this information and work with you to create a comprehensive plan.
Tip: You can also invoke this command with a ticket file directly: `/stepwise-core:create-plan thoughts/nikey_es/tickets/eng_1234.md`
For deeper analysis, try: `/stepwise-core:create-plan think deeply about thoughts/nikey_es/tickets/eng_1234.md`
Then wait for the user's input.
Read all mentioned files immediately and FULLY:
thoughts/nikey_es/tickets/eng_1234.md)Spawn initial research tasks to gather context: Use specialized agents to research in parallel — do not ask the user anything yet:
These agents will:
Read all files identified by research tasks:
Analyze and verify understanding:
Present informed understanding — no questions:
Based on the ticket and my research of the codebase, I understand we need to [accurate summary].
I've found that:
- [Current implementation detail with file:line reference]
- [Relevant pattern or constraint discovered]
- [Potential complexity or edge case identified]
Do NOT list questions here. All open questions are resolved in Step 3 via grill-me.
After presenting the Step 1 findings (no clarifications yet — those happen in Step 3):
If the user corrects any misunderstanding:
Create a research todo list using TodoWrite to track exploration tasks
Spawn parallel sub-tasks for comprehensive research:
For deeper investigation:
For historical context:
Each agent knows how to:
Wait for ALL sub-tasks to complete before proceeding
Present research findings — facts only, no invented options or questions:
Based on my research, here's what I found:
**Current State:**
- [Key discovery about existing code]
- [Pattern or convention to follow]
- [Constraint or dependency discovered]
**Options mentioned in the codebase** (only if explicitly found — e.g., a features file, a comment, existing patterns):
- [Option explicitly referenced in file:line]
Do NOT invent design options or list pros/cons. Only surface options explicitly documented in the codebase. All design decisions happen in Step 3 via grill-me.
Do not ask questions yourself — not even one. Use the Skill tool to invoke /stepwise-core:grill-me now.
Why: grill-me walks down the decision tree one branch at a time, with a recommended answer per question. If you ask inline, you will dump a list and lose the structured resolution that makes this valuable. Any question you feel tempted to ask here belongs inside grill-me.
Pass grill-me the full context from your research: current state, design options found, and all unresolved decisions. Let grill-me drive the conversation from there.
Only proceed to Step 4 once grill-me has resolved all open design decisions and you have shared understanding with the user on every choice.
Once aligned on approach:
Create initial plan outline:
Here's my proposed plan structure:
## Overview
[1-2 sentence summary]
## Implementation Phases:
1. [Phase name] - [what it accomplishes]
2. [Phase name] - [what it accomplishes]
3. [Phase name] - [what it accomplishes]
Does this phasing make sense? Should I adjust the order or granularity?
Get feedback on structure before writing details
After structure approval:
Initialize thoughts directory if needed:
thoughts/ directory existsbash ${CLAUDE_PLUGIN_ROOT}/skills/thoughts-management/scripts/thoughts-init
Write the plan to thoughts/shared/plans/YYYY-MM-DD-ENG-XXXX-description.md
YYYY-MM-DD-ENG-XXXX-description.md where:
2025-01-08-ENG-1478-parent-child-tracking.md2025-01-08-improve-error-handling.mdUse this template structure:
# [Feature/Task Name] Implementation Plan
## Overview
[Brief description of what we're implementing and why]
## Current State Analysis
[What exists now, what's missing, key constraints discovered]
## Desired End State
[A Specification of the desired end state after this plan is complete, and how to verify it]
### Key Discoveries:
- [Important finding with file:line reference]
- [Pattern to follow]
- [Constraint to work within]
## What We're NOT Doing
[Explicitly list out-of-scope items to prevent scope creep]
## Implementation Approach
[High-level strategy and reasoning]
## Phase 1: [Descriptive Name]
### Overview
[What this phase accomplishes]
### Changes Required:
#### 1. [Component/File Group]
**File**: `path/to/file.ext`
**Changes**: [Summary of changes]
```[language]
// Specific code to add/modify
```
### Success Criteria:
- [ ] Migration applies cleanly: `make migrate`
- [ ] Unit tests pass: `make test-component`
- [ ] Type checking passes: `npm run typecheck`
- [ ] Linting passes: `make lint`
- [ ] Integration tests pass: `make test-integration`
**Note**: Add "Manual Verification" section ONLY if truly needed (UI aesthetics, subjective UX). For TDD projects with automated tests, this section should be absent.
---
## Phase 2: [Descriptive Name]
[Similar structure with both automated and manual success criteria...]
---
## Testing Strategy
### Unit Tests:
- [What to test]
- [Key edge cases]
### Integration Tests:
- [End-to-end scenarios]
### Manual Testing Steps:
1. [Specific step to verify feature]
2. [Another verification step]
3. [Edge case to test manually]
## Performance Considerations
[Any performance implications or optimizations needed]
## Migration Notes
[If applicable, how to handle existing data/systems]
## References
- Original ticket: `thoughts/nikey_es/tickets/eng_XXXX.md`
- Related research: `thoughts/shared/research/[relevant].md`
- Similar implementation: `[file:line]`
Present the draft plan location:
I've created the initial implementation plan at:
`thoughts/shared/plans/YYYY-MM-DD-ENG-XXXX-description.md`
Please review it and let me know:
- Are the phases properly scoped?
- Are the success criteria specific enough?
- Any technical details that need adjustment?
- Missing edge cases or considerations?
Iterate based on feedback - be ready to:
Continue refining until the user is satisfied
When plan is finalized, inform the user:
Implementation plan complete: `thoughts/shared/plans/[filename].md`
Next steps in the workflow:
- Review and approve the plan
- Use `/stepwise-core:implement-plan thoughts/shared/plans/[filename].md` to execute it
- Or use `/stepwise-core:iterate-plan thoughts/shared/plans/[filename].md [changes]` to refine further
Tip: Use `/clear` to free up context before starting implementation
Be Skeptical:
Be Interactive:
Be Thorough:
make whenever possible - for example make -C frontend check instead of cd frontend && npm run fmtBe Practical:
Track Progress:
No Open Questions in Final Plan:
CRITICAL RULE FOR TDD PROJECTS:
assert X == Y) → It MUST be an automated testAlways separate success criteria into two categories:
Automated Verification (can be run by execution agents):
make test, pytest -v, npm run lint, etc.Manual Verification (RARELY needed in TDD):
INVALID Manual Verification (write tests instead):
Format examples:
Example 1 - TDD Test Phase (NO manual verification):
### Success Criteria:
- [ ] All tests pass: `pytest tests/ -v`
- [ ] No linting errors: `pylint src/`
Example 2 - Web UI Feature (justified manual verification):
### Success Criteria:
#### Automated Verification:
- [ ] Component tests pass: `npm test components/Button`
- [ ] E2E tests pass: `playwright test button.spec.ts`
#### Manual Verification:
- [ ] Button animation feels smooth (subjective)
- [ ] Visual appearance matches mockup (aesthetic judgment)
When spawning research sub-tasks:
frontend/ or web/ directorybackend/ or api/ directoryExample of spawning multiple tasks:
# Spawn these tasks concurrently:
tasks = [
Task("Research database schema", db_research_prompt),
Task("Find API patterns", api_research_prompt),
Task("Investigate UI components", ui_research_prompt),
Task("Check test patterns", test_research_prompt)
]
User: /create-plan
Assistant: I'll help you create a detailed implementation plan...
User: We need to add parent-child tracking for Claude sub-tasks. See thoughts/nikey_es/tickets/eng_1478.md
Assistant: Let me read that ticket file completely first...
[Reads file fully]
Based on the ticket, I understand we need to track parent-child relationships for Claude sub-task events in the hld daemon. Here's what I found in the codebase: [findings with file:line references]
[Research continues, then Step 3 invokes grill-me for all design decisions...]