ワンクリックで
ralplan
Architecture planning and plan approval workflow
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Architecture planning and plan approval workflow
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Token-efficient execution modifier with budget-aware routing
Kimi-native team worker protocol (ACK, mailbox, task lifecycle)
Persistence loop until task completion with verification
Parallel agent execution via Kimi-native multi-worker runtime
Full autonomous execution from idea to working code
Stateful validator-gated research loop with native-hook persistence
| name | ralplan |
| description | Architecture planning and plan approval workflow |
| trigger | $ralplan |
| flags | [{"name":"--deliberate","description":"Enable extended multi-round deliberation and review"},{"name":"--quick","description":"Skip deliberation, produce a single-pass plan"}] |
| phases | ["starting","planning","deliberating","reviewing","approved","revising","cancelled"] |
| gates | [{"type":"prompt_specificity","description":"Task description must be at least 10 characters","blocking":true}] |
Create and approve an implementation plan before execution. Ensures alignment on approach and tradeoffs.
Trigger: $ralplan <task description>
.omk/context/$deep-interview firstAnalyze Requirements
Design Approach
Consider Alternatives
Create PRD (Product Requirements Document):
# PRD: [Feature Name]
## Overview
[Summary of what we're building]
## Goals
- [Goal 1]
- [Goal 2]
## Non-Goals
- [Out of scope item 1]
- [Out of scope item 2]
## Architecture
[Diagram or description]
## Implementation Plan
1. [Step 1]
2. [Step 2]
3. [Step 3]
## Tradeoffs Considered
- [Option A]: [Pros/Cons]
- [Option B]: [Pros/Cons]
- **Chosen**: [Option] because [rationale]
## Risks
- [Risk 1] - Mitigation: [strategy]
- [Risk 2] - Mitigation: [strategy]
## Success Criteria
- [ ] Criterion 1
- [ ] Criterion 2
After documenting approaches, submit evidence:
omk_submit_evidence({skill:"ralplan", step:"approaches_documented", phase:"documenting", evidenceType:"context_record", metadata:{approachCount:2}})
.omk/plans/prd-{slug}.mdomk_submit_evidence({skill:"ralplan", step:"prd_written", phase:"approving", evidenceType:"file_artifact", artifactPath:".omk/plans/prd-{slug}.md", artifactSize:<size>})
omk_submit_evidence({skill:"ralplan", step:"user_approved", phase:"completed", evidenceType:"review_signature", reviewerAgent:"user", reviewResult:"approved"})
omk_list_required_evidence({skill:"ralplan", phase:"approving"})
Save PRD to: .omk/plans/prd-{slug}.md
ralplan-state.json with phase "planning"After approval:
$ralph "implement the approved plan"
→ Proceed to execution with approved architecture
Simple Plan:
$ralplan "add password reset feature"
→ Review existing auth code
→ Design reset flow
→ Document in prd-password-reset.md
→ Get user approval
With Alternatives:
$ralplan "choose database for new service"
→ Option A: PostgreSQL (relational, proven)
→ Option B: MongoDB (flexible, scalable)
→ Option C: Redis (fast, simple)
→ Recommend Option A for ACID requirements
→ User approves