.ralph/specs/<name>.md.
The interview
The interview has five phases:| Phase | What happens |
|---|---|
| Context | Share reference URLs, docs, files, or GitHub issues relevant to the feature |
| Goals | Describe what you want to build in plain language |
| Interview | AI asks up to 10 clarifying questions about scope, edge cases, and constraints |
| Generation | Produces a detailed, implementation-ready feature spec |
| Complete | Shows summary, saves spec to .ralph/specs/ |
Flags
Name for the feature spec. Used as the filename in
.ralph/specs/.GitHub issue number or URL to pull as context. The issue title, body, and labels are pre-loaded into the interview. Can be specified multiple times.
Additional reference URL or file path to include as context. Can be specified multiple times.
Headless mode — skip the interactive interview. Generates a spec directly from
--goals and any issue/context provided. Useful for scripting, CI, and agent integration.Feature goals description. Used with
--auto for headless spec generation.AI provider for spec generation. Overrides the default.
AI model to use for the interview.
Open the spec in your editor after creation.
Overwrite an existing spec with the same name.
Spec output
The generated spec includes:- Feature overview and goals
- Implementation steps with file paths
- Edge cases and error handling
- Testing strategy (unit + E2E)
- Acceptance criteria

