User Story Builder
Interactively builds docs/UserStory.md through structured Q&A with the user.
Purpose
Guides users through creating a user story document that can be transformed into PRD.md using the generating-prd-md-from-userstory-md skill.
Workflow
Check for existing UserStory.md
- If exists, ask user if they want to rebuild (backup as
docs/UserStory.md.bak)
- If exists, ask user if they want to rebuild (backup as
Ask structured questions using AskUserQuestion tool for each template section:
- Project name
- Problem statement
- Target users
- Value proposition
- User stories (use "As a [role], I want to [action] so that [benefit]" format)
- Success criteria
- Constraints
- Out of scope
Generate UserStory.md
- Read template from
ralph/docs/templates/userstory.md.template - Replace placeholders with user responses
- Write to
docs/UserStory.md
- Read template from
Suggest next step:
make ralph_prd_mdto generate PRD.md
Template
See ralph/docs/templates/userstory.md.template for structure and placeholders.
Usage
make ralph_userstory