Ralph Wiggum BDD — Git skill for Claude Code
by marcindulak - A standalone Bash script for Behavior-Driven Development with Ralph Wiggum Loop.
How to install Ralph Wiggum BDD
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open marcindulak/ralph-wiggum-bdd and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Ralph Wiggum BDD does
A standalone Bash script that runs the Claude Code agent in a loop to implement software requirements using Behavior-Driven Development (BDD). Inspired by the [Ralph Wiggum](https://ghuntley.com/ralph/) approach.
Alternatives in Git
- Star Us On GitHub — It helps us keep building 7k ★
- 40+ Claude Code Tips — Tips for getting the most out of Claude Code, including a custom status line script, cutting the system prompt 5.8k ★
- TDD Guard — by Nizar Selander - A hooks-driven system that monitors file operations in real-time and blocks changes that v 1.9k ★
README
[](https://github.com/hesreallyhim/awesome-claude-code)
Co-Authored-By: Claude
Functionality overview
A standalone Bash script that runs the Claude Code agent in a loop to implement software requirements using Behavior-Driven Development (BDD). Inspired by the [Ralph Wiggum](https://ghuntley.com/ralph/) approach.
In principle, while running unattended, the script can keep code and requirements in sync. In practice, it requires interactive human supervision.
See [scripts/ralph-wiggum-bdd.sh](scripts/ralph-wiggum-bdd.sh) for the functionality details (yes, read the script).
The script may improve generated code quality compared to a standalone agent because:
- Each iteration of the loop uses a fresh prompt, avoiding the quality and speed degradation caused by growing context rot.
- Each commit represents a completed, tested unit, which simplifies review.
It may fail to generate the desired code because, among others:
- Requirements are incomplete, ambiguous, or contradictory.
- The agent does not reliably follow instructions (anthropics/claude-code/issues/13689); for example, it may silently skip tests when unable to run them, or decide to implement multiple features in one iteration.
- The agent does not terminate the iteration and enters a whack-a-mole pattern, switches between non-working solutions, requests human guidance, or continues despite task completion.
Usage examples
Prerequisites
- Linux or macOS (Windows users need WSL)
- Claude Code CLI installed and configured (
claudecommand available) - Git installed and configured
- A Gherkin test framework installed (Behave for Python, Cucumber for Ruby/JS/TS, etc.)
Installation
git clone https://github.com/marcindulak/ralph-wiggum-bdd
cd ralph-wiggum-bdd
export PATH="${PATH}:$(pwd)/scripts"
The [scripts/ralph-wiggum-bdd.sh](scripts/ralph-wiggum-bdd.sh) script is standalone.
...
Related Skills
Lean Session.SKILL
Use in any long agentic session (browser pane, GitHub web editor, Desktop Commander on the PC, Beyond and Tabs
Dippy
by Lily Dayton - Auto-approve safe bash commands using AST-based parsing, while prompting for destructive oper
BDD From Code
Backward-engineer BDD from existing source code. Accepts a local path OR a git repo URL (with optional branch)
Https://github.com/digitalocean/engineering Code Of Conduct
This project is committed to a welcoming and harassment-free experience for everyone. Be respectful. Be constr
Claude Copilot Webhook
Opinionated webhook that replicates GitHub Copilot coding agent behavior using Claude Code GitHub Actions
github.com/MadAppGang/claudish
Category: Development Tools Type: Standalone CLI
Related Agents
Ralph Orchestrator
by mikeyobrien - Ralph Orchestrator implements the simple but effective "Ralph Wiggum" technique for autonomou
Ralph Conductor
Orchestre les sessions Ralph Wiggum v2.0 avec validation DoD adaptative
5dive
5dive exists for people who want a fleet of coding agents working unattended on hardware they control, without