mastra-ai avatar

Ralph Plan

This is a collaborative planning assistant that helps you build structured ralph-loop commands through conversation instead of writing them from scratch. It walks you through defining background context, setup steps, concrete tasks, and testing criteria by asking clarifying questions and proactively researching your codebase to suggest specific file paths and patterns. The real value is in how it probes for gaps and ambiguity, turning vague ideas like "improve the UI" into actionable numbered tasks with implementation details. If you're using ralph-loop and find yourself staring at empty XML tags wondering how to break down a feature, this gives you a structured dialogue to work through it. Just be ready to answer follow-up questions, because it will dig until the plan is actually concrete.

skills.sh installs
2.6K
GitHub stars
29.4K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

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

More from mastra-ai/mastra

All 6
1dceoy avatarspeckit-plandceoy/speckit-agent-skillsExecute the implementation planning workflow using the plan template to generate design artifacts.2.5Kskills.sh installs
2owl-listener avatarusability-test-planowl-listener/designer-skillsDesign a usability test plan with tasks, success metrics, participant criteria, and facilitation guide. Use when planning moderated or unmoderated usability tes2.4Kskills.sh installs
3mrgoonie avatarsequential-thinkingmrgoonie/claudekit-skillsUse when complex problems require systematic step-by-step reasoning with ability to revise thoughts, branch into alternative approaches, or dynamically adjust s1.8Kskills.sh installs
4subsy avatarralph-tui-prdsubsy/ralph-tuiGenerate a Product Requirements Document (PRD) for ralph-tui task orchestration. Creates PRDs with user stories that can be converted to beads issues or prd.jso1.3Kskills.sh installs
5jezweb avatarroadmapjezweb/claude-skillsPlan and execute entire application builds. Generates phased delivery roadmaps, then executes them autonomously — phase by phase, committing at milestones, depl1.1Kskills.sh installs
6postplusai avatarediting-decision-enginepostplusai/postplus-skillsPlan short-form post-edit decisions from A-roll, B-roll, scripts, and reference videos. Use this when the goal is not generic video analysis or rendering, but d1Kskills.sh installs