Agent skill
ralph
Convert an ML PRD into prd.json for ML-Ralph. Use when you have an ML PRD and need prd.json. Triggers on: convert this prd, turn this into ml-ralph format, create prd.json from this, ralph json.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/ralph-joaquincampo-regression-with-a
SKILL.md
ML-Ralph PRD Converter
Converts ML PRDs into the prd.json format used by ML-Ralph.
The Job
Take a PRD (markdown or text) and convert it to prd.json in the ML-Ralph directory.
Output Format
{
"project": "[Project Name]",
"branchName": "ml-ralph/[feature-name-kebab-case]",
"description": "[Short description]",
"userStories": [
{
"id": "US-001",
"title": "[Story title]",
"description": "As a [role], I want [outcome] so that [benefit].",
"type": "discovery | experiment | evaluation | implementation | ops",
"hypothesis": "[Optional hypothesis]",
"evidenceRequired": "[Required evidence to log]",
"acceptanceCriteria": [
"Criterion 1",
"Criterion 2",
"Ruff check passes",
"Ruff format passes",
"Mypy passes",
"Pytest passes (if tests exist)",
"Evidence logged in progress.txt"
],
"priority": 1,
"passes": false,
"notes": "",
"supersededBy": "",
"risk": ""
}
]
}
Story Size: The Number One Rule
Each story must be completable in one iteration. If you cannot describe the change in 2-3 sentences, split it.
Story Ordering: Dependencies First
Order stories so earlier ones unlock later ones:
- Discovery/evaluation scaffolding
- Baseline experiments
- Improvements and analysis
- Operationalization
Acceptance Criteria Rules
- Criteria must be verifiable.
- Always include Ruff/Mypy/Pytest checks and evidence logging.
- For experiment stories, include the specific metric and logging requirement, including W&B run URL/ID.
Conversion Rules
- Each user story becomes one JSON entry
- IDs sequential: US-001, US-002, ...
priorityorders executionpasses: falsefor allsupersededByempty string for allbranchNamemust start withml-ralph/
Dynamic Backlog Note
ML-Ralph refines prd.json every iteration based on evidence. This is expected and part of the loop. Do not attempt to “lock” the backlog.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?