Loading...
Loading...
Convert PRDs to prd.json format for the Ralph autonomous agent system. Use when you have an existing PRD and need to convert it to Ralph's JSON format. Triggers on: convert this prd, turn this into ralph format, create prd.json, ralph json.
npx skill4agent add scando1993/sugar ralphprd.json{
"project": "[Project Name]",
"branchName": "phase-a-[scope-kebab-case]",
"description": "[Feature description]",
"userStories": [
{
"id": "US-001",
"title": "[Story title]",
"description": "As a [user], I want [feature] so that [benefit]",
"acceptanceCriteria": [
"Criterion 1",
"Criterion 2",
"Typecheck passes"
],
"priority": 1,
"status": "pending",
"term": 0,
"votes": [],
"notes": ""
}
]
}status"Typecheck passes""Tests pass"status: "pending"term: 0votes: []notes| Thought | Reality |
|---|---|
| "This story is small enough to combine with the next one" | If it has its own acceptance criteria, it's its own story. |
| "I don't need Typecheck passes for this one" | EVERY story includes "Typecheck passes". No exceptions. |
| "This description is obvious, no need for detail" | An agent with ZERO context will read this. Be explicit. |
consensus{
"project": "my-app",
"branchName": "phase-a-feature",
"description": "Feature with consensus verification",
"consensus": {
"quorumSize": 3,
"requiredMajority": 2,
"implementModel": "sonnet",
"verifyModel": "sonnet",
"escalationModel": "opus",
"maxTerms": 5
},
"userStories": [
{
"id": "US-001",
"title": "Example story",
"description": "As a developer, I need...",
"acceptanceCriteria": ["Criterion 1", "Typecheck passes"],
"priority": 1,
"status": "pending",
"term": 0,
"votes": [],
"notes": ""
}
]
}