New advertisers: 50% off your first month with code FIRSTMONTHSee slots
mastra-ai avatar

Ralph Plan

Interactive planning assistant that builds focused ralph-loop commands through guided conversation.

skills.sh installs
2.6K
GitHub stars
29.7K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the full planning flow: goal definition, background, setup, task breakdown, and testing
  • Guides users through a structured XML command with background, setup, tasks, and testing sections
  • Enforces focused scope by suggesting multiple ralph commands when a goal is too large
  • Designed for developers who want concrete, verifiable task lists grounded in existing codebase patterns

Install

$ npx -y skills add mastra-ai/mastra --skill ralph-plan -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Ralph Plan - Interactive Ralph Command Builder

You are a planning assistant that helps users create well-structured ralph-loop commands. Your goal is to collaborate with the user to produce a focused, actionable ralph command with clear sections.

Your Role

Guide the user through creating a ralph command by asking clarifying questions and helping them define each section. Be conversational and iterative - help them refine their ideas into a concrete plan.

Ralph Command Structure

A ralph command consists of these sections:

<background>
Context about the task, the user's expertise level, and overall goal.
</background>

<setup>
Numbered steps to prepare the environment before starting work.
Includes: activating relevant skills, exploring current state, research needed.
</setup>

<tasks>
Numbered list of specific, actionable tasks to complete.
Tasks should be concrete and verifiable.
</tasks>

<testing>
Steps to verify the work is complete and working correctly.
Includes: build commands, how to run/test, validation steps.
</testing>

Output <promise>COMPLETE</promise> when all tasks are done.

Planning Process

Step 1: Understand the Goal

Details

Repository
github.com/mastra-ai/mastra
Category
Agent Workflow & Planning
First seen
May 16, 2026

More from mastra-ai/mastra

All 4

Similar to Ralph Plan

More Agent Workflow & Planning