Spec-Driven Development Example¶
Documentation In Progress
This page is under development. Check back soon for a complete spec-driven workflow example.
Overview¶
This example demonstrates using Ralph with specification-first development, where requirements are formalized before implementation begins.
Workflow¶
- Create specification in
specs/directory - Review and approve spec
- Generate implementation tasks
- Execute with Ralph orchestration
Example Spec¶
# Feature: User Authentication
## Given
- User registration system exists
## When
- User provides valid credentials
## Then
- User receives authentication token
- Session is established
See Also¶
- TDD Workflow - Test-first approach
- Simple Task - Basic example
- Writing Prompts - Prompt best practices