[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6G2EKF1CS886JCEHQXNBMHR":3,"skill-same:01M6G2EKF1CS886JCEHQXNBMHR":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":27,"linkOnly":28,"markdownContent":29,"markdownBody":30,"frontMatter":31,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":37,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M6G2EKF1CS886JCEHQXNBMHR","ralph",null,"ralph-cli — autonomous PRD-driven agent loop for AI-powered story-by-story implementation","javimosch\u002Fsupercli","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M6D3F2EBNWNJ358Q90P5YQR1",57,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fsupercli\u002Fblob\u002Fmaster\u002Fplugins\u002Fralph\u002Fskills\u002Fquickstart\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26],"cli","prd","loop","autonomous","agent loop","implementation","Story","driven","2026-11-10 10:12:30",false,"---\nname: ralph\ndescription: ralph-cli — autonomous PRD-driven agent loop for AI-powered story-by-story implementation\n---\n\n# Ralph — Autonomous PRD-Driven Agent Loop\n\nRalph is a file-based agent loop that breaks work into **stories** defined in a `prd.json` file and executes them one at a time using AI coding agents (OpenCode, Claude Code, Codex, etc.).\n\n## Core Concepts\n\n### PRD (Product Requirements Document)\n\nA JSON file containing a project name, description, and an ordered list of user stories:\n\n```json\n{\n  \"name\": \"My Feature\",\n  \"branchName\": \"ralph\u002Fmy-feature\",\n  \"description\": \"What this PRD is about\",\n  \"userStories\": [\n    {\n      \"id\": \"US-001\",\n      \"title\": \"Add database schema\",\n      \"description\": \"As a developer, I need...\",\n      \"acceptanceCriteria\": [\"Column x exists\", \"Migration runs\"],\n      \"priority\": 1,\n      \"passes\": false,\n      \"dependsOn\": []\n    }\n  ]\n}\n```\n\n### Stories\n\nEach story must be **completable in one agent iteration**. Stories have:\n- **ID**: Sequential (US-001, US-002, etc.)\n- **Priority**: Lower number = higher priority\n- **dependsOn**: Story IDs that must complete first\n- **acceptanceCriteria**: Verifiable checks the agent must satisfy\n- **passes**: `false` until completed, then `true`\n\n### Dependencies\n\nStories execute in dependency order:\n- Schema\u002Fdatabase → Backend logic → UI components → Integration\n- A story is \"blocked\" until all its `dependsOn` stories pass\n- Ralph always selects the highest-priority unblocked story\n\n## Agent Workflow\n\nWhen an agent learns this skill, it operates in **ralph mode**:\n\n### 1. Create a PRD\n\nUse `ralph init` or create a `prd.json` manually:\n\n```bash\nralph init \"Feature Name\" --prd .\u002Ftasks\u002Fprd.json\n```\n\n### 2. Check Status\n\nSee progress at any time:\n\n```bash\nralph status --prd .\u002Ftasks\u002Fprd.json\n```\n\n### 3. Run the Agent Loop\n\nExecute stories one at a time:\n\n```bash\nralph run --prd .\u002Ftasks\u002Fprd.json\n```\n\nOr use supercli:\n\n```bash\nsc ralph run run --prd .\u002Ftasks\u002Fprd.json\n```\n\n### 4. Preview Prompts (Dry Run)\n\nSee what the agent will receive without executing:\n\n```bash\nralph run --prd .\u002Ftasks\u002Fprd.json --dry-run\nralph story prompt --prd .\u002Ftasks\u002Fprd.json --story US-001\n```\n\n### 5. Story Lifecycle\n\n1. Ralph selects the next available story\n2. Generates a prompt with story details + acceptance criteria + prerequisites\n3. Spawns the agent CLI (openmode, claude, codex, etc.) with the prompt\n4. Agent implements the story\n5. Ralph marks `passes: true` in prd.json\n6. Ralph commits changes via git\n7. Repeat until all stories pass\n\n## PRD Best Practices\n\n- **One story = one agent iteration**: If a story is too big, split it\n- **Acceptance criteria must be verifiable**: Not vague like \"works well\"\n- **Order by dependencies**: Lower-priority stories that depend on earlier ones\n- **Include quality gates**: Typecheck, lint, test commands in acceptance criteria\n- **Use `ralph\u002F` branch prefix**: E.g., `ralph\u002Fkotlin-migration`\n\n## Commands Reference\n\n| Command | Description |\n|---------|-------------|\n| `ralph run --prd \u003Cfile>` | Execute the agent loop |\n| `ralph status --prd \u003Cfile>` | Show progress |\n| `ralph story next --prd \u003Cfile>` | Show next available story |\n| `ralph story prompt --prd \u003Cfile>` | Print agent prompt for next story |\n| `ralph init \u003Cname> --prd \u003Cfile>` | Scaffold a new PRD |\n\n## supercli Usage\n\n```bash\nsc ralph init run \"Feature name\"         # Create PRD\nsc ralph run run --prd .\u002Fprd.json        # Run the loop\nsc ralph status run --prd .\u002Fprd.json     # Check progress\nsc ralph story next --prd .\u002Fprd.json     # Next story\nsc ralph prompt run --prd .\u002Fprd.json     # Agent prompt\n```\n","# Ralph — Autonomous PRD-Driven Agent Loop\n\nRalph is a file-based agent loop that breaks work into **stories** defined in a `prd.json` file and executes them one at a time using AI coding agents (OpenCode, Claude Code, Codex, etc.).\n\n## Core Concepts\n\n### PRD (Product Requirements Document)\n\nA JSON file containing a project name, description, and an ordered list of user stories:\n\n```json\n{\n  \"name\": \"My Feature\",\n  \"branchName\": \"ralph\u002Fmy-feature\",\n  \"description\": \"What this PRD is about\",\n  \"userStories\": [\n    {\n      \"id\": \"US-001\",\n      \"title\": \"Add database schema\",\n      \"description\": \"As a developer, I need...\",\n      \"acceptanceCriteria\": [\"Column x exists\", \"Migration runs\"],\n      \"priority\": 1,\n      \"passes\": false,\n      \"dependsOn\": []\n    }\n  ]\n}\n```\n\n### Stories\n\nEach story must be **completable in one agent iteration**. Stories have:\n- **ID**: Sequential (US-001, US-002, etc.)\n- **Priority**: Lower number = higher priority\n- **dependsOn**: Story IDs that must complete first\n- **acceptanceCriteria**: Verifiable checks the agent must satisfy\n- **passes**: `false` until completed, then `true`\n\n### Dependencies\n\nStories execute in dependency order:\n- Schema\u002Fdatabase → Backend logic → UI components → Integration\n- A story is \"blocked\" until all its `dependsOn` stories pass\n- Ralph always selects the highest-priority unblocked story\n\n## Agent Workflow\n\nWhen an agent learns this skill, it operates in **ralph mode**:\n\n### 1. Create a PRD\n\nUse `ralph init` or create a `prd.json` manually:\n\n```bash\nralph init \"Feature Name\" --prd .\u002Ftasks\u002Fprd.json\n```\n\n### 2. Check Status\n\nSee progress at any time:\n\n```bash\nralph status --prd .\u002Ftasks\u002Fprd.json\n```\n\n### 3. Run the Agent Loop\n\nExecute stories one at a time:\n\n```bash\nralph run --prd .\u002Ftasks\u002Fprd.json\n```\n\nOr use supercli:\n\n```bash\nsc ralph run run --prd .\u002Ftasks\u002Fprd.json\n```\n\n### 4. Preview Prompts (Dry Run)\n\nSee what the agent will receive without executing:\n\n```bash\nralph run --prd .\u002Ftasks\u002Fprd.json --dry-run\nralph story prompt --prd .\u002Ftasks\u002Fprd.json --story US-001\n```\n\n### 5. Story Lifecycle\n\n1. Ralph selects the next available story\n2. Generates a prompt with story details + acceptance criteria + prerequisites\n3. Spawns the agent CLI (openmode, claude, codex, etc.) with the prompt\n4. Agent implements the story\n5. Ralph marks `passes: true` in prd.json\n6. Ralph commits changes via git\n7. Repeat until all stories pass\n\n## PRD Best Practices\n\n- **One story = one agent iteration**: If a story is too big, split it\n- **Acceptance criteria must be verifiable**: Not vague like \"works well\"\n- **Order by dependencies**: Lower-priority stories that depend on earlier ones\n- **Include quality gates**: Typecheck, lint, test commands in acceptance criteria\n- **Use `ralph\u002F` branch prefix**: E.g., `ralph\u002Fkotlin-migration`\n\n## Commands Reference\n\n| Command | Description |\n|---------|-------------|\n| `ralph run --prd \u003Cfile>` | Execute the agent loop |\n| `ralph status --prd \u003Cfile>` | Show progress |\n| `ralph story next --prd \u003Cfile>` | Show next available story |\n| `ralph story prompt --prd \u003Cfile>` | Print agent prompt for next story |\n| `ralph init \u003Cname> --prd \u003Cfile>` | Scaffold a new PRD |\n\n## supercli Usage\n\n```bash\nsc ralph init run \"Feature name\"         # Create PRD\nsc ralph run run --prd .\u002Fprd.json        # Run the loop\nsc ralph status run --prd .\u002Fprd.json     # Check progress\nsc ralph story next --prd .\u002Fprd.json     # Next story\nsc ralph prompt run --prd .\u002Fprd.json     # Agent prompt\n```\n",{"name":5,"description":7},"master","18c32f4b7197d246bdedcc9eca5d0403eaac0bc2","plugins\u002Fralph\u002Fskills\u002Fquickstart",5,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fsupercli","https:\u002F\u002Fjavimosch.github.io\u002Fsupercli\u002F","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-11-02 18:24:17",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add javimosch\u002Fsupercli --skill ralph",{"tool":48,"command":49},"bunx","bunx skills add javimosch\u002Fsupercli --skill ralph",{"tool":51,"command":52},"pnpm","pnpm dlx skills add javimosch\u002Fsupercli --skill ralph","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fsupercli\u002Fblob\u002Fmaster\u002Fplugins\u002Fralph\u002Fskills\u002Fquickstart\u002FSKILL.md",true,[],[57,65,83,96,109,117],{"skillNo":58,"name":59,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":27},"01M6G7YFZVHRYAY51J0YG9SDNJ","sc-machin-mcp","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fsupercli\u002Fblob\u002Fmaster\u002Fsupercli-machin-cli\u002Fskills\u002Fsc-machin-mcp\u002FSKILL.md",[],[63,64],"sc machin mcp","MCP",{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":27},"01M6G7YB179MQMSHZBJDC8TZA8","supercli.quickstart","SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fsupercli\u002Fblob\u002Fmaster\u002Fskills\u002Fsupercli\u002FSKILL.md",[],[72,73,19,74,75,76,77,78,79,80,81,82],"supercli quickstart","quickstart","capability router","plugin","discovery","execute","router","discover","commands","interface","supercli,cli,plugin,capability,discovery,agent",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":27},"01M6G7Y734QS3793YMS5PR146J","zzdoc","Use this skill to compile scdoc manpages with a fast Zig-based compiler.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fsupercli\u002Fblob\u002Fmaster\u002Fplugins\u002Fzzdoc\u002Fskills\u002Fquickstart\u002FSKILL.md",[],[85,90,91,92,93,94,95],"with","use","zig","fast","compiler","compile",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":27},"01M6G7Y2WX56K2QJQ9RV2ZKEV7","zx","Use this skill when the user wants to a tool for writing better scripts using node.js.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fsupercli\u002Fblob\u002Fmaster\u002Fplugins\u002Fzx\u002Fskills\u002Fquickstart\u002FSKILL.md",[],[98,103,91,104,105,106,107,108],"scripts","user","node","tool","js","writing",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":27},"01M6G7Y0M792DGW31HN4TEQT10","zvm","Use this skill when the user wants to manage multiple Zig compiler versions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fsupercli\u002Fblob\u002Fmaster\u002Fplugins\u002Fzvm\u002Fskills\u002Fquickstart\u002FSKILL.md",[],[111,92,116,91,104,94],"manage",{"skillNo":118,"name":73,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":27},"01M6G7XX51W5HJW09DYXBK92TJ","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fsupercli\u002Fblob\u002Fmaster\u002Fplugins\u002Fzstdmt\u002Fskills\u002Fquickstart\u002FSKILL.md",[],[73]]