Help us improve
Share bugs, ideas, or general feedback.
From ralph
Creates Product Requirements Document (PRD) and Ralph taskset setup with tasks.json, prd.md, memories.md, PROMPT.md, and ralph.sh script via interactive discovery wizard.
npx claudepluginhub joaquimscosta/arkhe-claude-plugins --plugin ralphHow this command is triggered — by the user, by Claude, or both
Slash command
/ralph:create-prd project descriptionThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Create PRD Command
Interactive wizard to create a Product Requirements Document and set up your project for Ralph.
## Usage
## What It Does
1. **Asks for task set name** (default: "initial")
2. **Asks discovery questions** about your project
3. **Generates task list** in `.ralph/tasksets/{name}/tasks.json`
4. **Creates PRD** in `.ralph/tasksets/{name}/prd.md`
5. **Creates memories file** in `.ralph/tasksets/{name}/memories.md`
6. **Creates PROMPT.md** with iteration instructions
7. **Copies ralph.sh** loop runner script
8. **Creates symlink** `.ralph/current-taskset`
## Discovery Q.../hybrid-autoGenerates Product Requirements Document (PRD) from task description with prioritized user stories, dependencies, acceptance criteria for parallel execution, enters review mode. Accepts --flow, --tdd, confirmation flags saved to prd.json.
/create-prdCreates a structured Product Requirements Document (PRD) for a feature description, with sections for summary, problem statement, objectives, user stories, requirements, metrics, assumptions. Uses TodoWrite; outputs to PRD.md or path.
/create-prdCreates a structured Product Requirements Document (PRD) for a feature description, with sections for summary, problem statement, objectives, user stories, requirements, metrics, assumptions. Uses TodoWrite; outputs to PRD.md or path.
/create-prdCreates a structured Product Requirements Document (PRD) from a feature description, including executive summary, problem statement, objectives, user stories, requirements, metrics, assumptions, and out-of-scope items.
/create-prdCreates a comprehensive product requirements document (PRD) for new features or enhancements in the current project by analyzing the codebase, gathering requirements interactively, and outputting a markdown file.
/create-prdGenerates a Product Requirements Document (PRD) from conversation context using a structured template and writes it to a specified Markdown file.
Share bugs, ideas, or general feedback.
Interactive wizard to create a Product Requirements Document and set up your project for Ralph.
/create-prd # Start interactive wizard
/create-prd "Build a todo app" # Start with description
.ralph/tasksets/{name}/tasks.json.ralph/tasksets/{name}/prd.md.ralph/tasksets/{name}/memories.md.ralph/current-tasksetAsk 10 discovery questions (task set name, problem, audience, features, tech stack, architecture, UI/UX, auth, integrations, success criteria). See the ralph-prd skill's WORKFLOW.md for question details and good answer examples.
See the ralph-prd skill's SKILL.md "What It Creates" section for the full directory structure. Use templates/ for generating each file.
When the user runs /create-prd:
## Task Set Name
What would you like to name this task set?
Examples: "initial", "auth-feature", "test-coverage"
(Default: "initial" if you press Enter)
Validate the name:
TASKSET_NAME="${1:-initial}"
if [[ -d ".ralph/tasksets/${TASKSET_NAME}" ]]; then
echo "Task set '${TASKSET_NAME}' already exists."
echo "Run /ralph taskset switch ${TASKSET_NAME} to use it."
echo "Or choose a different name."
exit 0
fi
Use AskUserQuestion tool for each discovery step:
## Discovery: Problem Definition
What problem are you solving with this project?
(Describe the pain point you're addressing)
Convert each feature into atomic tasks:
Create directory structure:
mkdir -p .ralph/tasksets/${TASKSET_NAME} screenshots
Generate .ralph/tasksets/${TASKSET_NAME}/tasks.json from discovery answers
Generate .ralph/tasksets/${TASKSET_NAME}/prd.md from discovery answers
Generate .ralph/tasksets/${TASKSET_NAME}/memories.md (empty template)
Generate PROMPT.md with tech-stack-specific commands (uses symlink paths)
Copy ralph.sh from plugin and make executable
Generate .ralph/tasksets/${TASKSET_NAME}/config.json with settings
Create symlink:
ln -sfn tasksets/${TASKSET_NAME} .ralph/current-taskset
Create empty activity log:
touch .ralph/tasksets/${TASKSET_NAME}/activity.log
## Setup Complete!
Task set: ${TASKSET_NAME}
Files created:
- .ralph/tasksets/${TASKSET_NAME}/tasks.json (X tasks)
- .ralph/tasksets/${TASKSET_NAME}/prd.md
- .ralph/tasksets/${TASKSET_NAME}/memories.md
- .ralph/tasksets/${TASKSET_NAME}/config.json
- .ralph/current-taskset (symlink)
- PROMPT.md
- ralph.sh
Next steps:
1. Review the generated tasks: cat .ralph/current-taskset/tasks.json
2. Start the loop: ./ralph.sh 20
3. Or run fewer iterations: ./ralph.sh 5
The loop will work through tasks until complete or max iterations reached.
To create another task set later:
/ralph taskset new "feature-name"
If a description is provided, skip some questions:
/create-prd "Build a React todo app with TypeScript"
In this case:
Categories: setup, feature, integration, styling, testing. See WORKFLOW.md for details.
If not specified, default to:
| Component | Default |
|---|---|
| Framework | React |
| Language | TypeScript |
| Build Tool | Vite |
| Styling | Tailwind CSS |
| Testing | Vitest |