ワンクリックで
rai-epic-plan
Sequence epic stories into milestones and dependencies. Use after epic design.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Sequence epic stories into milestones and dependencies. Use after epic design.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Interactive adapter setup for Jira and Confluence. Detects available backends, discovers projects/spaces, generates validated YAML config. 3-4 questions max.
Evaluate design proportionality using Beck's four rules. Use after implementation.
Root cause analysis using the method best suited to the bug. Phase 3 of bugfix pipeline.
Push branch, create MR, verify artifacts complete. Phase 7 of bugfix pipeline.
Execute fix tasks with TDD and all validation gates. Phase 5 of bugfix pipeline.
Decompose fix into atomic TDD tasks. Phase 4 of bugfix pipeline.
| name | rai-epic-plan |
| description | Sequence epic stories into milestones and dependencies. Use after epic design. |
| allowed-tools | ["Read","Grep","Glob","Bash(rai:*)"] |
| license | MIT |
| metadata | {"raise.work_cycle":"epic","raise.frequency":"per-epic","raise.fase":"4","raise.prerequisites":"epic-design","raise.next":"story-start","raise.gate":"","raise.adaptable":"true","raise.version":"2.4.0","raise.visibility":"public","raise.inputs":"- scope: file_path, required, previous_skill\n","raise.outputs":"- scope: file_path, next_skill\n","raise.aspects":"introspection","raise.introspection":{"phase":"epic.plan","context_source":"scope doc from epic-design","affected_modules":[],"max_tier1_queries":3,"max_jit_queries":3,"tier1_queries":["sequencing patterns for {strategy} ordering","estimation patterns for {size} epics","milestone patterns for multi-story epics"]}} |
Transform the story list from /rai-epic-design into a sequenced implementation plan with milestones, parallel work streams, and progress tracking.
When to use: After /rai-epic-design has produced a scope document with stories. Before starting first story.
When to skip: Very small epics (2-3 stories) with obvious linear sequence. Emergency fixes.
Inputs: Epic scope document (work/epics/e{N}-{name}/scope.md), calibration data (if available).
Before starting Step 1, you MUST execute the PRIME protocol:
.raise/rai/learnings/rai-epic-design/{work_id}/record.yaml. Enrich epic-design's record with downstream: {scope_clear: bool, stories_sequenceable: bool}.rai graph query. If graph is unavailable, note and continue.Load and understand the epic scope document:
Order stories using these strategies (in priority order):
| Strategy | When | Rationale |
|---|---|---|
| Risk-first | High uncertainty features | Tackle unknowns early while energy is high and time for pivots remains |
| Walking skeleton | Architecture unproven | Build minimal E2E path first to prove architecture |
| Quick wins | Need momentum | Early deliverable value, validate tooling |
| Dependency-driven | Hard blockers exist | Unblock others on critical path |
For each story, document: position, rationale, dependencies (hard/soft/external), what it enables.
JIT: Before choosing sequencing strategy, query graph for ordering patterns and calibration data →
aspects/introspection.md § JIT Protocol
Identify parallel opportunities: Stories with no mutual dependencies, different codebase areas, or independent concerns can run concurrently.
Every story has sequencing rationale. Critical path identified. Parallel opportunities documented.Create 2-4 intermediate checkpoints:
| Milestone | Typical scope | Purpose |
|---|---|---|
| M1: Walking Skeleton | 1-3 stories (smallest E2E) | Prove architecture, enable integration |
| M2: Core MVP | 50-70% of stories | Demonstrate value, gather feedback |
| M3: Feature Complete | 100% planned stories | Ready for polish |
| M4: Epic Complete | Done criteria met | Ready for /rai-epic-close |
Per milestone: stories included, success criteria (verifiable), demo capability.
JIT: Before defining milestones, query graph for calibration patterns and checkpoint strategies →
aspects/introspection.md § JIT Protocol
Integration checkpoint: For epics with multiple components (client/server, CLI/API, frontend/backend), schedule an E2E integration milestone before the final story. This checkpoint runs real infrastructure (docker compose, actual DB) and verifies cross-story contracts (auth headers, payload schemas, parameter limits). Unit tests with mocks cannot catch these mismatches — only real E2E validates the seams between stories.
At least 2 milestones defined with clear success criteria. Multi-component epics include E2E integration checkpoint.Add progress tracking to epic scope using templates/plan-section.md:
Append the implementation plan section to work/epics/e{N}-{name}/scope.md. Include:
Present plan to human for review before starting first story.
Scope document updated. Plan reviewable in <5 minutes. Human acknowledges.| Item | Destination |
|---|---|
| Implementation plan | Appended to work/epics/e{N}-{name}/scope.md |
| Plan template | templates/plan-section.md |
| Next | /rai-story-design for first story in sequence |
templates/plan-section.md/rai-epic-design (produces scope input)/rai-story-design for first story/rai-epic-close.raise/rai/memory/calibration.jsonl