ralph-loop

Coordinate ticket-by-ticket feature execution with isolated agent sessions and single-ticket commits.

13|2|Updated Nov 16, 2025
One-click install
npx skills add https://github.com/rstacruz/agentic-toolkit --skill ralph-loop-rstacruz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ralph-loop
Source: https://github.com/rstacruz/agentic-toolkit/tree/main/skill/atk/ralph-loop
Command: npx skills add https://github.com/rstacruz/agentic-toolkit --skill ralph-loop-rstacruz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing feature implementations from a PRD can become chaotic without a disciplined, ticket-by-ticket workflow. Ralph loop enforces context, review, and progress tracking to ensure steady, auditable delivery.

Core Features & Use Cases

  • Iterative PRD-driven development: process one ticket at a time to reduce risk and improve feedback.
  • Prompt-template driven agent orchestration: automatically spawn and supervise agent sessions per ticket with strict scoping.
  • Progress, commits, and verification: ensures a single ticket is completed per cycle with proper git commits and status updates.

Quick Start

Run the Ralph loop on a PRD plan to iteratively implement features one ticket at a time.

Frequently Asked Questions about ralph-loop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage PRD-driven feature development ticket by ticket?

Managing PRD-driven feature development ticket by ticket requires an iterative workflow that spawns isolated agent sessions per ticket, enforcing per-ticket scope and single-ticket commits. This approach validates completion deterministically and tracks progress explicitly to reduce implementation risk.

What is the best way to enforce per-ticket commits during agent orchestration?

Enforcing per-ticket commits during agent orchestration requires a loop mechanism that validates each ticket's completion before proceeding. This ensures a single, properly scoped git commit is generated per cycle, providing auditable progress tracking and strict context isolation across the feature implementation.

How do I automate ticket-by-ticket execution from a PRD plan?

Automating ticket-by-ticket execution from a PRD plan involves running an iterative loop that processes one ticket at a time. The system automatically spawns and supervises isolated agent sessions using prompt templates, applying strict scoping and status updates for steady delivery.

Does iterative agent orchestration work for deterministic feature iterations?

Iterative agent orchestration works for deterministic feature iterations by relying on prompt-template driven sessions and per-ticket isolation. This approach suits engineering workflows that depend on PRD-driven tickets, ensuring explicit progress signaling and validated completion for each cycle.

When should I avoid processing one ticket at a time for feature work?

You should avoid processing one ticket at a time when feature work lacks a clear PRD or requires cross-ticket dependencies that break strict per-ticket isolation. The workflow enforces single-ticket commits and scoped context, which may constrain tightly coupled implementation tasks.