init-sdd-ralphlisted
Install: claude install-skill claudiofrs/init-sdd-ralph
# Init SDD + Ralph
Scaffolds a repo for **Spec-Driven Development (SDD) with the Ralph autonomous execution
loop**: layered docs (constitution → conventions → roadmap → epic spec/plan/checklist) plus
the bash loop that drives a coding agent through one user story at a time.
This is the bootstrap step only. It does not write the first epic's `spec.md`/`plan.md`/
`prd.json` — see "Starting the first epic" below for that, once the repo skeleton exists.
---
## Step 1 — Gather the minimum
Don't ask more than this. Infer what you can (project name from the directory name or an
existing `package.json`), ask only what's genuinely ambiguous:
- **Project name** (default: current directory's basename).
- **One-line product description.**
- **First epic name** (kebab-case, e.g. `scaffold` for a from-scratch project). This becomes
`{{DEFAULT_EPIC}}`.
- **Coding agent tool**: `claude` or `amp` (default `claude`).
If the repo already has code and its own commands (install/dev/build/typecheck/test), read
its `package.json` / build files yourself to fill `{{INSTALL_CMD}}` etc. — don't ask the user
to retype commands you can discover.
## Step 2 — Check before clobbering
Before writing anything, check whether `CLAUDE.md`, `AGENTS.md`, `PRD.md`, or `specs/` already
exist in the target repo. If any do, stop and ask the user whether to merge/skip rather than
overwrite — these are likely hand-tuned already.
## Step 3 — Create the folder structure
```
<repo-root>/
├── CLAUDE.md
├── AGEN