- 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>
60 lines
1.7 KiB
JSON
60 lines
1.7 KiB
JSON
{
|
|
"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": ""
|
|
}
|
|
]
|
|
}
|