skills/ralplan/SKILL.md
Architecture planning and plan approval workflow
npx skillsauth add Goblin1024/oh-my-kimi ralplanInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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
data-ai
Kimi-native team worker protocol (ACK, mailbox, task lifecycle)
documentation
Persistent markdown project wiki stored under .omk/wiki with keyword search and lifecycle capture
development
URL-driven website cloning with visual + functional verification
testing
Structured visual QA verdict for screenshot-to-reference comparisons