by snwfdhmp
A curated list of resources about Ralph, the AI coding technique that runs AI coding agents in automated loops until specifications are fulfilled.
# Add to your Claude Code skills
git clone https://github.com/snwfdhmp/awesome-ralphA curated list of resources about Ralph (aka Ralph Wiggum), the AI coding technique that runs AI coding agents in automated loops until specifications are fulfilled.
Ralph is a technique created by Geoffrey Huntley for autonomous AI coding. The core concept is elegantly simple:
while :; do cat PROMPT.md | claude-code ; done
Key principles:
Found this useful? ⭐️ Like this repo to help others discover it
No comments yet. Be the first to share your thoughts!
Primary sources from Geoffrey Huntley, the creator of the Ralph technique.
Comprehensive implementation guides covering the 3 Phases, 2 Prompts, 1 Loop workflow.
Phase 1: Define Requirements — Human + LLM conversation produces JTBD-aligned specifications Phase 2: Planning Mode — Gap analysis generates prioritized TODO list (no implementation) Phase 3: Building Mode — Implement from plan, run tests, commit, repeat
project-root/
├── loop.sh # Ralph loop script
├── PROMPT_build.md # Build mode instructions
├── PROMPT_plan.md # Plan mode instructions
├── AGENTS.md # Operational guide (~60 lines max)
├── IMPLEMENTATION_PLAN.md # Prioritized task list (generated)
├── specs/ # Requirement specs (one per JTBD)
└── src/ # Application source code