smith-ralph

Coordinate Ralph loop iterations with Serena-backed memory persistence and context resets.

1|Updated Nov 25, 2025
One-click install
npx skills add https://github.com/tianjianjiang/smith --skill smith-ralph
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smith-ralph
Source: https://github.com/tianjianjiang/smith/tree/main/smith-ralph
Command: npx skills add https://github.com/tianjianjiang/smith --skill smith-ralph

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ralph loop integration patterns address the need for disciplined iterative development by coordinating loop control, memory persistence, and context resets across task lifecycles.

Core Features & Use Cases

  • Ralph fundamentals: structured iteration loops with clear completion criteria, safety gates, and atomic commits.
  • Context management and memory persistence: maintains state across context resets using Serena memories, iteration tracking, and versioned milestones.
  • Integration with existing skills: leverages TDD, debugging, task decomposition, and exploration workflows for end-to-end iteration.
  • Use cases include starting Ralph loops, managing iterations, recovering from context resets, and maintaining traceable progress via commits and memories.

Quick Start

Start a Ralph loop with /ralph-loop "[task]" to begin iterative development sessions.

Frequently Asked Questions about smith-ralph

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

FAQPage Schema
How do I manage AI context resets during iterative development loops?

To manage AI context resets during iterative development loops, use Serena-backed memory persistence to maintain state, track iterations, and version milestones for traceable progress and recoverability across task lifecycles.

What is a Ralph loop and when should I use it for TDD workflows?

A Ralph loop is a structured iteration process with clear completion criteria, safety gates, and atomic commits. Use it for TDD workflows to coordinate iterative development sessions, ensuring disciplined progress and context recovery.

How do I start an iterative development session with memory persistence?

Start an iterative development session with memory persistence by initiating a Ralph loop with a defined task. This coordinates loop control and applies Serena memories to maintain state across context resets.

Does Serena memory persistence work with debugging and planning workflows?

Yes, Serena memory persistence works with debugging and planning workflows by integrating them into Ralph loops. It maintains iteration tracking and versioned milestones to ensure traceable progress across these tasks.

What's the best way to maintain traceable progress across AI iterations?

The best way to maintain traceable progress across AI iterations is implementing phase-boundary commitments and atomic commits within Ralph loops, using Serena memories to persist state and track versioned milestones for recoverability.