General
ralph-patterns - Claude MCP Skill
Patterns for Ralph loop tasks. Auto-loaded to provide guidance on completion signals, progress tracking, and iteration patterns. Ralph = autonomous issue-to-merged-PR loop.
SEO Guide: Enhance your AI agent with the ralph-patterns tool. This Model Context Protocol (MCP) server allows Claude Desktop and other LLMs to patterns for ralph loop tasks. auto-loaded to provide guidance on completion signals, progress track... Download and configure this skill to unlock new capabilities for your AI workflow.
Documentation
SKILL.md# Ralph Loop Patterns
You're running in a Ralph loop - an autonomous issue-to-merged-PR workflow.
## Completion Signals
Output these exact XML tags for the shell script to detect:
- `<promise>DONE</promise>` - Task complete, exit successfully
- `<promise>BLOCKED</promise>` - Cannot proceed, needs human intervention
Always include the exact XML tag. The shell script greps for it.
## Progress Tracking
Ralph monitors these for "no progress" circuit breaker:
- Git HEAD (commits)
- PR state (reviews, CI status)
**Make commits frequently to show progress.** Avoid long stretches without commits.
## Within a Ralph Loop
You have full access to:
- `/spec`, `/architect`, `/build`, `/refactor`, `/update-docs`, `/pr`
- Task tool for parallel agent delegation
- Sentry, PostHog, GitHub MCPs
- All configured hooks and skills
## Delegation Pattern
Use Codex CLI for implementation:
```bash
codex exec --full-auto "Implement [feature]. Follow pattern in [ref file]." \
--output-last-message /tmp/codex-out.md 2>/dev/null
```
Or Task tool for parallel work:
```
Task({ subagent_type: "general-purpose", prompt: "..." })
```
## Handling CI Failures
1. Get CI logs: `gh run view --log-failed`
2. Analyze failures
3. Fix and push
4. Wait for re-run (CI usually triggers automatically)
## Handling Review Feedback
1. Get PR comments: `gh pr view --comments`
2. Identify critical vs stylistic feedback
3. Address critical feedback first
4. Push changes
5. Respond to reviewers via commit message or PR comment
## When to Output BLOCKED
Output `<promise>BLOCKED</promise>` when:
- Missing required credentials or API keys
- Ambiguous requirements that need human clarification
- Conflicting constraints with no clear resolution
- External dependency is down/unavailable
- Permissions issues you can't resolve
Include a brief explanation after the tag:
```
<promise>BLOCKED</promise>
Reason: Need clarification on whether user auth should use JWT or session cookies.
```
## Anti-Patterns
- Don't loop infinitely on the same failing test
- Don't make empty commits just to show progress
- Don't ignore reviewer feedback hoping it goes away
- Don't skip /codify-learning at the end (Ralph does this automatically)Signals
Information
- Repository
- phrazzld/claude-config
- Author
- phrazzld
- Last Sync
- 3/2/2026
- Repo Updated
- 3/1/2026
- Created
- 2/1/2026
Reviews (0)
No reviews yet. Be the first to review this skill!
Related Skills
upgrade-nodejs
Upgrading Bun's Self-Reported Node.js Version
cursorrules
CrewAI Development Rules
cn-check
Install and run the Continue CLI (`cn`) to execute AI agent checks on local code changes. Use when asked to "run checks", "lint with AI", "review my changes with cn", or set up Continue CI locally.
CLAUDE
CLAUDE.md
Related Guides
Bear Notes Claude Skill: Your AI-Powered Note-Taking Assistant
Learn how to use the bear-notes Claude skill. Complete guide with installation instructions and examples.
Mastering tmux with Claude: A Complete Guide to the tmux Claude Skill
Learn how to use the tmux Claude skill. Complete guide with installation instructions and examples.
OpenAI Whisper API Claude Skill: Complete Guide to AI-Powered Audio Transcription
Learn how to use the openai-whisper-api Claude skill. Complete guide with installation instructions and examples.