init
pnpm dlx @smplcty/ralph init# ornpx @smplcty/ralph initInteractive project bootstrapper. Prompts for project configuration, then creates the Ralph Methodology scaffolding.
Prompts
Section titled “Prompts”Ralph asks for:
- Project name — used in generated files
- Language — TypeScript, Python, Go, Rust, etc.
- Package manager — pnpm, npm, yarn, pip, cargo, etc.
- Test framework — Vitest, Jest, pytest, etc.
- Check command — the quality gate command (e.g.,
pnpm check) - AI agent — claude, gemini, codex, continue, cursor (auto-detected from installed CLIs)
- Model — specific model override (optional, uses agent default)
Generated Files
Section titled “Generated Files”| File | Purpose |
|---|---|
docs/PRD.md | Skeleton PRD with numbered sections |
docs/tasks/T-000.md | Infrastructure bootstrap task |
docs/prompts/rules.md | Project-specific rules (editable) |
ralph.config.json | Project configuration |
Ralph’s methodology, prompts, and role definitions live in the package code and are used directly at runtime — they are not copied into your project. This means you always get the latest version when you upgrade ralph. See Customizing Prompts for how to extend the built-in content.
Behavior
Section titled “Behavior”- If files already exist, ralph warns and asks before overwriting
- For Node.js projects, adds ralph scripts to
package.json - If no check command exists, scaffolds one
- Auto-detects installed agent CLIs (preference: claude → gemini → codex → continue → cursor)
- Warns if the selected agent CLI is not installed