Skip to content

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

  1. Create specification in specs/ directory
  2. Review and approve spec
  3. Generate implementation tasks
  4. 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