PluginBench
Skill
Fail
Audit score 45

ralph-loop

andrelandgraf/fullstackrecipes

Automated agent-driven development loop: define features as user stories, run AI agents iteratively until all acceptance criteria pass.

What is ralph-loop?

Ralph Loop is a complete setup for automating feature development using AI agents. You define features as structured user stories with testable acceptance criteria, then run agents in a loop to implement and verify each story until all criteria pass. Use this when you want AI agents to autonomously drive development with clear, measurable progress tracking.

  • Define features as JSON user stories with testable acceptance criteria
  • Run AI agents in automated loops to implement features from stories
  • Verify acceptance criteria and track progress across agent iterations
  • Integrate with code health tools (Prettier, TypeScript, Fallow) for quality gates
  • Configure AI agents (Cursor, GitHub Copilot, Claude Code) with project-specific patterns
  • Log and report progress for visibility across development cycles

How to install ralph-loop

npx skills add https://github.com/andrelandgraf/fullstackrecipes --skill ralph-loop
Prerequisites
  • Code Health, Linting & Formatting setup (Prettier, TypeScript, Fallow)
  • AI Coding Agent Configuration (Cursor, GitHub Copilot, or Claude Code)
  • User Stories Setup (structured JSON format for requirements)
Claude Code
Cursor
Windsurf
Cline

How to use ralph-loop

  1. 1.Complete the three prerequisite recipes in order
  2. 2.Create user stories in JSON format with testable acceptance criteria
  3. 3.Configure your AI agent with project-specific patterns and coding guidelines
  4. 4.Run the Ralph agent loop to start automated feature implementation
  5. 5.Monitor acceptance criteria verification and agent progress logs
  6. 6.Review completed stories and iterate on next batch of features

Use cases

Good for
  • Automating feature implementation when requirements are clearly defined as acceptance criteria
  • Running overnight or scheduled agent loops to incrementally build features
  • Tracking AI agent progress on multiple user stories with measurable completion metrics
  • Ensuring code quality during automated development by enforcing linting and type-checking
  • Coordinating multiple AI agents on the same codebase with consistent guidelines
Who it's for
  • Teams using AI coding agents for autonomous development
  • Projects with well-defined feature requirements and acceptance criteria
  • Developers wanting to automate repetitive feature implementation
  • Teams prioritizing code quality and health during AI-assisted development

ralph-loop FAQ

What format should user stories be in?

User stories are JSON files with testable acceptance criteria that AI agents can verify and track. See the User Stories Setup recipe for the structured format.

Which AI agents are supported?

Ralph Loop works with Cursor, GitHub Copilot, and Claude Code. Configure them with project-specific patterns via the AI Coding Agent Configuration recipe.

How does the loop verify acceptance criteria?

The Ralph agent loop runs agents iteratively to implement features, then verifies acceptance criteria are met before marking stories as complete.

What code quality checks are enforced?

The setup integrates Prettier for formatting, TypeScript for type-checking, and Fallow for detecting dead code, duplication, complexity, and architecture drift.

Can I use this with existing projects?

Yes, but you must first complete the prerequisite recipes for code health setup and agent configuration in your project.

Full instructions (SKILL.md)

Source of truth, from andrelandgraf/fullstackrecipes.


name: ralph-loop description: Complete setup for automated agent-driven development. Define features as user stories with testable acceptance criteria, then run AI agents in a loop until all stories pass.

Ralph Loop

Complete setup for automated agent-driven development. Define features as user stories with testable acceptance criteria, then run AI agents in a loop until all stories pass.

Prerequisites

Complete these recipes first (in order):

Code Health, Linting & Formatting

Configure Prettier for formatting, TypeScript for typechecking, and Fallow for code health (dead code, duplication, complexity, architecture drift). Skips ESLint/Biome to avoid config complexity.

curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/code-health-setup

AI Coding Agent Configuration

Configure AI coding agents like Cursor, GitHub Copilot, or Claude Code with project-specific patterns, coding guidelines, and MCP servers for consistent AI-assisted development.

curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/agent-setup

Cookbook - Complete These Recipes in Order

User Stories Setup

Create a structured format for documenting feature requirements as user stories. JSON files with testable acceptance criteria that AI agents can verify and track.

curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/user-stories-setup

Working with User Stories

Document and track feature implementation with user stories. Workflow for authoring stories, building features, and marking acceptance criteria as passing.

curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/using-user-stories

Ralph Agent Loop

Set up automated agent-driven development with Ralph. Run AI agents in a loop to implement features from user stories, verify acceptance criteria, and log progress for the next agent.

curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/ralph-setup