Ralph Wiggum Bdd
Description
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.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
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
Epic Sync
Sync epic issue bodies, labels, and local coordination snapshots from GitHub.
Git 使用 Git Worktrees
创建孤立的 Git worktrees,带有智能目录选择与安全验证。
Git Claude skills github
[Building agent skills blog](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-ag
Git #148
, [#161](https://github.com/affaan-m/everything-claude-code/pull/161))
Git GitHub MCP
| Token | Repos, issues, PRs, workflows |
Git GitHub MCP Server
Official first-party server to read repos, manage issues/PRs, and automate workflows.
Git