Best practices for PRD stories and tasks
mainTo ensure Ralph succeeds, follow these guidelines for task sizing and verification:
Task Sizing
Each story in prd.json must be small enough to fit within a single LLM context window.
- Good (Small): Adding a single database column, creating one UI component, or updating one server action.
- Bad (Too Large): "Build the entire dashboard" or "Add authentication". These should be split into multiple smaller stories.
Verification
- Feedback Loops: Ensure your project has automated typechecking and tests. Ralph relies on these to verify work.
- UI Stories: For frontend tasks, include "Verify in browser using dev-browser skill" in the acceptance criteria so Ralph can interactively confirm changes.