ralph

Automate PRD-driven user-story verification with JSON PRD iteration loops.

4|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/baleen37/bstack --skill ralph-baleen37
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ralph
Source: https://github.com/baleen37/bstack/tree/main/plugins/ralph/skills/ralph
Command: npx skills add https://github.com/baleen37/bstack --skill ralph-baleen37

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PRD-driven persistence loop reduces manual coordination overhead by automatically creating and iterating PRDs until all user stories pass verification.

Core Features & Use Cases

  • PRD generation & tracking: Automatically produce a PRD JSON and track progress across iterations.
  • Progress-driven iteration: Orchestrates the story execution loop, updating status and dependencies after each run.
  • Controlled completion: Writes a final cancel signal and state when verification succeeds, ensuring safe termination.

Quick Start

Invoke the Ralph loop with your task description to begin the PRD-driven iteration process.

Frequently Asked Questions about ralph

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

FAQPage Schema
How do I automate PRD creation and user-story verification in an iterative loop?

PRD-driven persistence loop automation generates structured JSON PRDs, executes user stories, and iteratively verifies them. It tracks progress across iterations until all test-driven verification checks pass, ensuring safe termination via a controlled completion signal.

What is a PRD-driven persistence loop for project management?

A PRD-driven persistence loop is an AI workflow mechanism that automatically manages user-story verification. It enforces a JSON PRD structure and continuously iterates story execution, updating status and dependencies until all test-driven progress checks successfully pass.

How do I start an automated project management workflow for iterative story management?

To start automated story management, invoke the persistence loop with your task description. This initializes the PRD generation process, creating the structured JSON needed to begin prioritizing, executing, and tracking user stories across multiple iterations.

Does the PRD-driven persistence loop require specific dependencies or environments?

The PRD-driven persistence loop requires no external dependencies or specific components. It operates independently to enforce the JSON PRD structure and iteration loop, making it suitable for product development workflows requiring iterative test-driven verification.

How does the AI workflow handle termination when all PRD verification checks pass?

When all user stories pass verification, the AI workflow ensures safe termination by writing a final cancel signal and final state. This controlled completion mechanism prevents infinite loops and confirms the PRD-driven iteration process has successfully finished.

What are the limitations of using an automated PRD generation loop for story management?

The automated PRD generation loop is limited to product development workflows requiring iterative PRD creation and test-driven verification. It strictly enforces a JSON PRD structure and cannot deviate from its controlled completion signal flow process.