feat(ralph): Add ralph plugin for autonomous PRD implementation
- Add /ralph:prd command for PRD generation with clarifying questions - Add /ralph:convert command to convert PRD to executable JSON - Include templates: ralph.sh, prompt.md, prd-template.json - Include example PRD (prd-hello-api.json) - Update marketplace.json with ralph plugin v1.0.0 - Update README with ralph documentation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
59
plugins/ralph/examples/prd-hello-api.json
Normal file
59
plugins/ralph/examples/prd-hello-api.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"projectName": "hello-api",
|
||||
"branchName": "ralph/hello-api",
|
||||
"description": "Un API simplu de test pentru a demonstra funcționarea Ralph",
|
||||
"userStories": [
|
||||
{
|
||||
"id": "US-001",
|
||||
"title": "Inițializare proiect Node.js",
|
||||
"description": "Ca developer, vreau un proiect Node.js inițializat pentru a avea baza de cod",
|
||||
"priority": 1,
|
||||
"acceptanceCriteria": [
|
||||
"package.json există cu name și version",
|
||||
"Folosește ES modules (type: module)",
|
||||
"Fișierul index.js există și poate fi rulat"
|
||||
],
|
||||
"passes": false,
|
||||
"notes": ""
|
||||
},
|
||||
{
|
||||
"id": "US-002",
|
||||
"title": "Endpoint GET /hello",
|
||||
"description": "Ca utilizator, vreau un endpoint care returnează un salut",
|
||||
"priority": 2,
|
||||
"acceptanceCriteria": [
|
||||
"GET /hello returnează JSON cu mesaj",
|
||||
"Status code 200",
|
||||
"Content-Type application/json"
|
||||
],
|
||||
"passes": false,
|
||||
"notes": ""
|
||||
},
|
||||
{
|
||||
"id": "US-003",
|
||||
"title": "Endpoint POST /echo",
|
||||
"description": "Ca utilizator, vreau un endpoint care returnează ce îi trimit",
|
||||
"priority": 3,
|
||||
"acceptanceCriteria": [
|
||||
"POST /echo acceptă JSON body",
|
||||
"Returnează același body înapoi",
|
||||
"Status 400 dacă body invalid"
|
||||
],
|
||||
"passes": false,
|
||||
"notes": ""
|
||||
},
|
||||
{
|
||||
"id": "US-004",
|
||||
"title": "Tests pentru endpoints",
|
||||
"description": "Ca developer, vreau tests pentru a verifica funcționalitatea",
|
||||
"priority": 4,
|
||||
"acceptanceCriteria": [
|
||||
"Test pentru GET /hello",
|
||||
"Test pentru POST /echo",
|
||||
"npm test rulează cu succes"
|
||||
],
|
||||
"passes": false,
|
||||
"notes": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user