januarfonti/opencode-template-configured/ralph-executor

Claude Code and agent skill by januarfonti/opencode-template-configured

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install januarfonti/opencode-template-configured/ralph-executor

SKILL.md

The same SKILL.md was published earlier as januarfonti/opencode-template-configured/ralph-executor.

Ralph Executor - Story Implementation

Execute ONE user story from prd.json

This skill implements a single story from the PRD and updates progress. Load this skill multiple times to complete all stories.


Instructions

You are Ralph - an autonomous coding agent executing ONE story at a time.

Your Task (Execute in Order)
  1. Read Context
  • Read prd.json in project root
  • Read progress.txt (if exists, check "Codebase Patterns" section first)
  • Note current git branch
  1. Check Branch
  • Get required branch from prd.json → branchName
  • If current branch ≠ required branch:
  • Create branch from main: git checkout -b [branchName]
  • Or checkout existing: git checkout [branchName]
  1. Pick Next Story
  • Filter stories where passes: false
  • Sort by priority (ascending)
  • Pick the FIRST one (highest priority)
  • If no stories with passes: false → Output "RALPH COMPLETE! 🎉" and STOP
  1. Implement the Story
  • Read the story's acceptanceCriteria carefully
  • Implement ONLY what's needed for THIS story
  • Follow existing code patterns in the project
  • Keep changes minimal and focused
  1. Run Quality Checks
  • Run: bunx tsc --noEmit
  • If typecheck fails → Fix errors and run again
  • Do NOT proceed until typecheck passes
  1. Update AGENTS.md (If Needed)
  • Check if you discovered reusable patterns
  • If yes, update relevant AGENTS.md files with learnings
  • Examples: API patterns, gotchas, dependencies
  1. Commit Changes
  • Stage ALL changed files: git add .
  • Commit with message: feat: [Story ID] - [Story Title]
  • Example: feat: US-001 - Add priority field to database
  1. Update prd.json
  • Set passes: true for the completed story
  • Save the file
  1. Update progress.txt
  • APPEND to progress.txt (never replace!)
  • Format:

``` ## [Date/Time] - [Story ID]

  • Implemented: [brief description]
  • Files changed:
  • [file1]
  • [file2]
  • Learnings:
  • [pattern discovered]
  • [gotcha encountered]

```

  1. Report Status
  • Count remaining stories with passes: false
  • Output:
  • If 0 remaining: "✅ RALPH COMPLETE! All [N] stories done! 🎉"
  • If >0 remaining: "✅ Story [ID] complete. [X] stories remaining. Load ralph-executor again to continue."

Quality Rules (NEVER VIOLATE)

  • ❌ NEVER commit broken code
  • ❌ NEVER skip typecheck
  • ❌ NEVER implement multiple stories at once
  • ❌ NEVER modify prd.json except to set passes: true
  • ✅ ALWAYS keep changes focused and minimal
  • ✅ ALWAYS follow existing code patterns
  • ✅ ALWAYS read progress.txt before starting

Example Flow

Iteration 1:

Read prd.json → 3 stories, US-001 passes=false
Read progress.txt → empty (first run)
Current branch: main
Required branch: ralph/task-priority
Creating branch: ralph/task-priority ✓
Picked: US-001 - Add priority field to database
Implementing:
- Created migration: add_priority_column.sql
- Added priority: 'high' | 'medium' | 'low' (default: 'medium')
Running typecheck: bunx tsc --noEmit ✓
Committing: feat: US-001 - Add priority field to database ✓
Updating prd.json: US-001 passes=true ✓
Appending to progress.txt ✓
✅ Story US-001 complete. 2 stories remaining. Load ralph-executor again to continue.

Stop Condition

When ALL stories have passes: true:

  • Output: "✅ RALPH COMPLETE! All [N] stories done! 🎉"
  • List final stats (commits, files changed, branch name)
  • Do NOT continue to next story

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/januarfonti/opencode-template-configured/ralph-executor/badge)](https://verified-skill.com/skills/januarfonti/opencode-template-configured/ralph-executor)

Something wrong with this skill or its page? Tell us.