← スキル一覧に戻る

ralph
by McMuff86
Advanced calendar and scheduling application with AI-powered features - built using the Ralph autonomous AI agent pattern
⭐ 0🍴 0📅 2026年1月23日
SKILL.md
name: ralph description: Converts PRD markdown files to Ralph-compatible prd.json format for autonomous execution. Use when asked to convert a PRD, create prd.json, or prepare stories for Ralph.
Ralph Skill
Converts Product Requirements Documents (PRD) from markdown format to the JSON structure required by the Ralph autonomous execution loop.
Workflow
- Read PRD: Parse the markdown PRD file
- Extract Stories: Pull out all user stories with acceptance criteria
- Generate JSON: Create prd.json with proper structure
- Validate: Ensure all required fields are present
prd.json Structure
{
"name": "Feature Name",
"branchName": "feature/feature-name",
"description": "Brief description of the feature",
"userStories": [
{
"id": "US-001",
"title": "Story Title",
"description": "As a [user] I want [capability] So that [benefit]",
"acceptanceCriteria": [
"Criterion 1",
"Criterion 2"
],
"technicalNotes": "Implementation hints",
"dependencies": ["US-000"],
"priority": 1,
"passes": false
}
]
}
Field Descriptions
| Field | Required | Description |
|---|---|---|
| name | Yes | Feature name from PRD title |
| branchName | Yes | Git branch name (kebab-case with feature/ prefix) |
| description | Yes | Overview from PRD |
| userStories | Yes | Array of story objects |
| id | Yes | Story ID (US-XXX format) |
| title | Yes | Short story title |
| description | Yes | Full user story text |
| acceptanceCriteria | Yes | Array of criteria strings (without checkboxes) |
| technicalNotes | No | Implementation hints |
| dependencies | No | Array of story IDs this depends on |
| priority | Yes | 1 = highest, larger = lower priority |
| passes | Yes | Always starts as false |
Conversion Rules
- Extract story ID and title from
### [US-XXX] Titleheaders - Parse user story format: "As a... I want... So that..."
- Extract acceptance criteria: Remove
- [ ]checkbox prefixes - Identify dependencies: Look for "Dependency:" in technical notes
- Assign priority: Based on phase/order in PRD (Phase 1 = priority 1-10, Phase 2 = 11-20, etc.)
- Set passes: false for all stories initially
Usage
Load the ralph skill and convert tasks/prd-[feature-name].md to prd.json
Output
Creates prd.json in the project root, ready for Ralph execution via:
./scripts/ralph/ralph.sh
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です