ralph-init
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseRalph Init Skill
Ralph Init Skill
[RALPH-INIT - PRD CREATION MODE]
[RALPH-INIT - PRD 创建模式]
What is PRD?
什么是PRD?
A PRD (Product Requirements Document) structures your task into discrete user stories for ralph-loop.
PRD(产品需求文档)会将你的任务拆分为离散的用户故事,用于ralph-loop执行。
Your Task
你的任务
Create and based on the task description.
.omc/prd.json.omc/progress.txt根据任务描述创建和文件。
.omc/prd.json.omc/progress.txtprd.json Structure
prd.json 结构
json
{
"project": "[Project Name]",
"branchName": "ralph/[feature-name]",
"description": "[Feature description]",
"userStories": [
{
"id": "US-001",
"title": "[Short title]",
"description": "As a [user], I want to [action] so that [benefit].",
"acceptanceCriteria": ["Criterion 1", "Typecheck passes"],
"priority": 1,
"passes": false
}
]
}json
{
"project": "[项目名称]",
"branchName": "ralph/[feature-name]",
"description": "[功能描述]",
"userStories": [
{
"id": "US-001",
"title": "[简短标题]",
"description": "作为[用户角色],我想要[执行操作],以便[获得收益]。",
"acceptanceCriteria": ["准则1", "类型检查通过"],
"priority": 1,
"passes": false
}
]
}progress.txt Structure
progress.txt 结构
undefinedundefinedRalph Progress Log
Ralph 进度日志
Started: [ISO timestamp]
Started: [ISO时间戳]
Codebase Patterns
代码库模式
(No patterns discovered yet)
undefined(尚未发现任何模式)
undefinedGuidelines
指导原则
- Right-sized stories: Each completable in one focused session
- Verifiable criteria: Include "Typecheck passes", "Tests pass"
- Independent stories: Minimize dependencies between stories
- Priority order: Foundational work (DB, types) before UI
After creating files, report summary and suggest running to start.
/oh-my-claudecode:ralph-loopTask to break down:
{{ARGUMENTS}}
- 合理拆分故事:每个故事可在一个专注的工作时段内完成
- 可验证的验收准则:包含“类型检查通过”、“测试通过”等内容
- 独立的故事:尽量减少故事之间的依赖
- 优先级排序:先完成基础工作(数据库、类型定义),再处理UI部分
创建文件后,报告总结并建议运行以开始执行。
/oh-my-claudecode:ralph-loop待拆分的任务:
{{ARGUMENTS}}