npx claudepluginhub eumemic/ralphAutonomous AI-assisted development methodology that keeps specs and code in sync through intelligent iteration loops
Autonomous AI-assisted development methodology that keeps specs and code in sync through intelligent iteration loops.
Based on Geoffrey Huntley's Ralph pattern with adaptations for Claude Code.
Humans write specs (the "what"). The machine handles implementation (the "how").
specs/ ──► [planning loop] ──► IMPLEMENTATION_PLAN.md ──► [building loop] ──► code
/plugin marketplace add eumemic/ralph
Run the setup command in Claude Code:
/ralph-setup
This adds ralph to your PATH.
ralph init
Creates:
specs/ - Where you write specifications.ralph/config.yaml - Configuration.ralph/IMPLEMENTATION_PLAN.md - Generated task listCreate markdown files in specs/ describing what you want to build. Focus on:
Claude Code (with the Ralph plugin) can help you write specs through a structured conversation - just ask it to help you write a spec.
ralph plan
Analyzes your specs against the codebase and generates a prioritized implementation plan in .ralph/IMPLEMENTATION_PLAN.md.
ralph build
Implements tasks one at a time, each iteration:
RALPH_MODEL=opus # Main agent (default: opus)
RALPH_SUBAGENT_MODEL=sonnet # Subagents (default: sonnet)
your-project/
├── specs/ # Commit this - your specifications
│ ├── feature-one.md
│ └── feature-two.md
├── .ralph/ # Gitignore this - generated files
│ ├── config.yaml
│ └── IMPLEMENTATION_PLAN.md
└── src/
specs/ should be committed to your repo - these are your project's requirements.ralph/ should be gitignored - it contains generated files and local configAdd to your .gitignore:
.ralph/
Edit .ralph/config.yaml:
# Where to find specs (default: ./specs)
specs_dir: ./specs
# Or put them elsewhere
# specs_dir: ./docs/requirements
| Command | Description |
|---|---|
/ralph-init | Initialize Ralph in current project |
/ralph-setup | Install ralph CLI to your PATH |
/ralph-plan | Explain/run the planning loop |
/ralph-build | Explain/run the building loop |
Each iteration gets a clean 200K token context. No accumulated confusion.
MIT
Official prompts.chat marketplace - AI prompts, skills, and tools for Claude Code
Open Design — local-first design app exposed to coding agents over MCP. Install once with your agent's plugin command and projects/files/skills are reachable through stdio.
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations