By shipdeckai
Ralph Wiggum technique for iterative AI development loops. Set up specs, prompts, and automation for autonomous coding sessions.
Implementation of the Ralph Wiggum technique for iterative AI development loops in Claude Code.
Ralph is a development methodology based on continuous AI agent loops. The core concept: run Claude in a while true loop with the same prompt until task completion. Each iteration, Claude sees its previous work in files and git history, allowing autonomous improvement.
Named after Ralph Wiggum from The Simpsons, embodying persistent iteration despite setbacks.
Learn more: https://ghuntley.com/ralph/
# Add the marketplace (if not already added)
/plugin marketplace add https://github.com/shipdeckai/claude-skills
# Install the plugin
/plugin install ralph-wiggum@claude-skills
Or install directly:
/plugin install https://github.com/shipdeckai/ralph-wiggum
Run /ralph in any project directory:
/ralph
The skill will:
| Mode | When | What Happens |
|---|---|---|
| Existing Project | package.json/pyproject.toml found | Explores codebase, detects patterns, creates feature specs |
| New Project | Empty directory | Asks about tech stack, optionally clones a website design |
your-project/
├── specs/ # Feature specifications
│ ├── feature-one.md
│ ├── feature-two.md
│ └── archived/ # Completed specs (ignored by loop)
├── AGENTS.md # Build/test commands
├── PROMPT_plan.md # Planning phase prompt
├── PROMPT_build.md # Build phase prompt
├── IMPLEMENTATION_PLAN.md # Auto-generated progress tracker
└── loop.sh # The bash loop
After setup:
# Exit Claude Code
exit
# Run planning phase (3 iterations)
./loop.sh plan 3
# Review the generated plan
cat IMPLEMENTATION_PLAN.md
# Run build phase (30 iterations)
./loop.sh 30
The loop will:
# 1. Start in your project
cd my-project
# 2. Run Ralph setup
/ralph
# Claude asks: "What do you want to add?"
# You: "Add user authentication with OAuth"
# Claude asks: "What features?"
# You: "Login, logout, profile page, password reset"
# Claude creates:
# - specs/authentication.md
# - specs/user-profile.md
# - specs/password-reset.md
# - AGENTS.md, PROMPT_*.md, loop.sh
# 3. Exit and run the loop
exit
./loop.sh plan 3
./loop.sh 30
# 4. Come back to a working feature!
Each spec follows this template:
# Feature Name
## Overview
Brief description of what this feature does.
## Requirements
- Requirement 1
- Requirement 2
## Acceptance Criteria
- [ ] Testable criterion 1
- [ ] Testable criterion 2
## Files Likely Affected
- path/to/file.ts
## Out of Scope
- What this does NOT include
specs/archived/ - Move completed specs there to keep focusThe plugin includes detailed guides on:
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub shipdeckai/claude-skills --plugin ralph-wiggumAI-powered image generation and editing across multiple providers (OpenAI, Stability, BFL, Ideogram, FAL, Gemini, Replicate)
Generate Ralph Wiggum loop infrastructure for iterative AI-driven development. Supports Claude Code and Amp with agent-specific optimizations.
Spec-driven development using GitHub spec-kit methodology. Constitution-first approach with specify, plan, tasks, and implement phases.
Interactive self-referential AI loops for iterative development. Claude works on the same task repeatedly, seeing its previous work, until completion.
A plugin to help with Ralph's tasks
Autonomous coding using the Ralph Wiggum technique - simple loops, persistent memory, one task at a time
Continuous self-referential AI loops for interactive iterative development, implementing the Ralph Wiggum technique. Run Claude in a while-true loop with the same prompt until task completion.