Automated summary
Initializes a project for the Ralph autonomous development loop by creating the .ralph/ directory with stories, progress, and learnings files.
Strengths
- Provides a structured approach to breaking down projects into manageable stories.
- Supports both single-phase and multi-phase project setups.
- Preserves learnings across sessions.
Limitations
- Requires the user to run the 'ralph' command in their terminal to start implementation.
- Setup process can be time-consuming for complex projects.
When starting a new project that will be developed using the Ralph autonomous development loop.
For simple tasks that can be completed in a single session without need for structured story management.
Security analysis
SafeThe skill only creates configuration files and directories for a development loop setup. It does not execute any external commands, network calls, or destructive actions. The instruction to never start implementation within the session reduces risk.
No concerns found
How this analysis is madeExamples
/ralph Create a web application for managing blog posts with CRUD functionality./ralph I want to build a full e-commerce platform with authentication, product catalog, and payment./ralph Add stories for implementing user authentication and profile management.name: ralph description: This skill should be used when the user invokes "/ralph" to initialize a project for autonomous development. Creates .ralph/ directory with stories.json, progress.txt, and learnings.txt for the Ralph loop. version: 1.1.0
Ralph Skill
Initialize a project for the Ralph autonomous development loop.
CRITICAL: NEVER start implementing within this session. After setup is complete, instruct the user to run ralph from their terminal to begin implementation.
Instructions
When the user invokes /ralph:
Scope Detection
First, analyze the user's request to determine scope:
Single phase indicators (create stories directly):
- One clear feature or component
- Can be broken into 3-5 stories
- No distinct "layers" or "stages"
Multi-phase indicators (offer roadmap):
- Multiple distinct areas (auth, API, frontend, etc.)
- Would need 10+ stories
- Natural phases or stages mentioned
- Words like "full", "complete", "end-to-end"
If multi-phase detected, ask:
This looks like it could be split into phases:
1. [Phase name]
2. [Phase name]
...
Should I create a roadmap with phases, or keep it as one set of stories?
If user chooses roadmap:
- Create
.ralph/directory if needed - Create
.ralph/roadmap.jsonwith phase structure (see format below) - Create
.ralph/learnings.txtif it doesn't exist - Do NOT create
stories.jsonorprogress.txtyet - Update
.gitignore - Tell user to run
ralph --roadmap
If .ralph/ already exists:
Ask the user what they want to do:
- Add stories - Keep existing stories in
stories.jsonand add new ones. Progress and learnings are preserved. - Replace stories - Start fresh with new stories. Then ask:
- Keep learnings? (yes → preserve
learnings.txt, no → reset it) - Progress is always reset when replacing stories.
- Keep learnings? (yes → preserve
Setup flow (single phase):
- Understand the project - Read CLAUDE.md and explore the codebase structure
- Ask clarifying questions - Understand goals, constraints, and priorities
- Create .ralph/ directory - If it doesn't exist
- Generate .ralph/stories.json - Create or update the task list with user stories
- Create .ralph/progress.txt - Initialize (or reset if replacing)
- Handle .ralph/learnings.txt - Preserve existing, create if missing, or reset if user chose to
- Update .gitignore - Add
.ralphto .gitignore (create if needed)
.ralph/roadmap.json Format
{
"project": "Project Name",
"phases": [
{
"id": 1,
"title": "Phase Title",
"description": [
"Description bullet 1",
"Description bullet 2"
],
"complete": false
},
{
"id": 2,
"title": "Another Phase",
"description": [
"Description bullet 1"
],
"complete": false
}
]
}
.ralph/stories.json Format
{
"project": "Project Name",
"description": "One-line description",
"stories": [
{
"id": "PROJ-001",
"title": "Short title",
"description": "Detailed description of what needs to be built",
"acceptance_criteria": [
"Criterion 1",
"Criterion 2",
"Tests pass"
],
"priority": 1,
"passes": false
}
]
}
.ralph/progress.txt Format
# {Project Name} Progress Log
---
.ralph/learnings.txt Format
Only create this file if it doesn't already exist. Preserve existing learnings across ralph runs.
# {Project Name} Learnings
## Codebase Patterns
(Patterns discovered during implementation will be added here)
## Gotchas
(Project-specific warnings will be added here)
---
Guidelines
Story Sizing
Each story must be completable in ONE iteration (one Claude context window).
Right-sized stories:
- Add a database migration and model
- Create a single component
- Add an API endpoint with validation
- Implement a service class
Too big (split these):
- "Build the dashboard" → split into: model, list view, detail view, actions
- "Refactor the API" → split into one story per endpoint
Rule of thumb: If you can't describe the change in 2-3 sentences, split it.
Story Ordering
Stories execute in priority order. Earlier stories must not depend on later ones.
Correct order:
- Database migrations and models
- Service classes and business logic
- Controllers and routes
- UI components that use the above
Acceptance Criteria
Each criterion must be verifiable, not vague.
Good:
- "User model has email and password fields"
- "API returns 401 for unauthenticated requests"
- "Feature test covers the happy path"
Bad:
- "Works correctly"
- "Good user experience"
- "Handles edge cases"
Always Include
For every story, include at least one of:
- "Tests pass" (for backend logic)
- "Feature test covers the happy path" (for new features)
Project Detection
Detect project type to set appropriate defaults:
Laravel projects (has artisan file):
- Test command:
php artisan test --compact - Story IDs:
PROJ-001format (use project name prefix)
Node.js projects (has package.json):
- Test command: check scripts.test in package.json
- Story IDs:
PROJ-001format
Python projects (has pyproject.toml or setup.py):
- Test command:
pytest - Story IDs:
PROJ-001format
Phase Mode (called from ralph --roadmap)
When invoked with phase context, you'll receive a prompt like:
Run /ralph for this phase:
Phase: Phase 1: Data Models
- User and Project models with migrations
- Basic validation and relationships
Create stories only for this phase. Preserve learnings.txt if it exists.
In this mode:
- Create stories ONLY for this phase's scope
- Always reset
.ralph/progress.txt(new phase = fresh progress) - Preserve
.ralph/learnings.txtif it exists - Do NOT ask clarifying questions - use the phase description as-is
- After setup, output:
<ready>PHASE_READY</ready>
After Running
Tell the user what happened:
If roadmap created:
.ralph/roadmap.json- created with N phases.ralph/learnings.txt- created (if new).ralphadded to .gitignore- Run
ralph --roadmapfrom terminal to start
If stories created:
.ralph/stories.json- created/updated with N stories (N new if adding).ralph/progress.txt- initialized or reset.ralph/learnings.txt- preserved, created, or reset (based on user choice).ralphadded to .gitignore (if not already)- Run
ralphfrom terminal to start the autonomous loop - Run
ralph 1for a single iteration
Do NOT start implementing. The user must run ralph from their terminal.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/ralph-autonomous-development-loop-mma3js3f/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/ralph-autonomous-development-loop-mma3js3f' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/ralph-autonomous-development-loop-mma3js3f/download' --output '.skill-downloads/ralph-autonomous-development-loop-mma3js3f/SKILL.md.part' && mv '.skill-downloads/ralph-autonomous-development-loop-mma3js3f/SKILL.md.part' '.skill-downloads/ralph-autonomous-development-loop-mma3js3f/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/ralph-autonomous-development-loop-mma3js3f/SKILL.md' && test -s '.skill-downloads/ralph-autonomous-development-loop-mma3js3f/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/ralph' && cp -R '.skill-downloads/ralph-autonomous-development-loop-mma3js3f' '.claude/skills/ralph'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/ralph-autonomous-development-loop-mma3js3f'openskills read 'ralph-autonomous-development-loop-mma3js3f'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/ralph-autonomous-development-loop-mma3js3f/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.