Back to Collection
Tool/Orchestration/Adapted Open Source

Ralph

Converts requirements specifications into deterministic agent code.

What It Does

Parses Product Requirements Documents into structured JSON execution schemas and coordinates autonomous coding loops against verifiable acceptance criteria.

Origin and Adaptation Notes

Standard PRDs assume human intuition. Ralph structures requirements with explicit boundary tests so agents execute without drifting.

Attribution: Adapted from snarktank's open source ralph project. Distributed under the MIT License.

When to Activate

  • •Converting narrative product specifications into actionable agent tasks
  • •Running autonomous PRD execution loops in terminal environments

When to Avoid

  • •Informal exploratory coding sessions

Skill Specification and Runtime Setup

Full Instruction Specification
# Ralph Specification

## Overview
Parses Product Requirements Documents into structured JSON execution schemas and coordinates autonomous coding loops against verifiable acceptance criteria.

## Rationale
Standard PRDs assume human intuition. Ralph structures requirements with explicit boundary tests so agents execute without drifting.

## Core Principles
* Always verify environment constraints and dependencies before executing.
* Enforce negative constraints and reject speculative abstractions.
* Validate output against stated acceptance rubrics.

## Execution Workflow
1. Discovery: Map requirements and inspect active context.
2. Decomposition: Break down the task into discrete, verifiable phases.
3. Execution: Implement surgical changes preserving existing code architecture.
4. Verification: Test all criteria before declaring completion.

Related Skills in Orchestration