jswortz/my-skills/ralph-wiggum-skill

Claude Code and agent skill by jswortz/my-skills

Trust tier 2
  • community
LLM review pending
Source check pending

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

Iterative development loop for solving complex tasks through trial-and-error. Use when you need to "fix until passing", "optimize until metric reached", or "iterate until done".

Install

npx vskill@latest install jswortz/my-skills/ralph-wiggum-skill

SKILL.md

The same SKILL.md was published earlier as jswortz/my-skills/ralph-wiggum-skill.

Ralph Wiggum Skill

This skill defines a disciplined iterative loop for solving stubborn problems.

The Ralph Loop

When you enter a "Ralph Loop", you commit to the following process:

  1. Define the Promise: What exact state signals completion? (e.g., "All 5 tests pass", "Error log is empty").
  2. Iterate:
  • Action: Attempt a fix or improvement.
  • Verification: Run the verification command.
  • Observation: Analyze the output.
  1. Repeat: Continue until the Promise is met or Max Iterations reached.

When to Use

  • "Keep trying to fix this bug until the tests pass."
  • "Optimize this prompt until the score is > 80."
  • "Refactor this module, ensuring no regressions."

Workflow Template

Copy this into your scratchpad.md or keep it in your context to track progress.

markdown
# Ralph Loop Tracking
**Goal**: [Describe Goal]
**Completion Promise**: [Exact condition to stop]
**Max Iterations**: [Number]
## Iteration 1
-**Plan**: [What to do]
-**Action**: [Tool call]
-**Result**: [Outcome]
-**Status**: [PASSED / FAILED / PROGRESS]
## Iteration 2
...

See assets/loop_template.md for a raw template.

Principles

  1. Iteration > Perfection: Don't try to solve it all in one perfect shot. Try, fail, learn, retry.
  2. Failures are Data: Every error message is a clue. Read them carefully.
  3. Self-Correction: If a path isn't working, change direction. Don't repeat the same mistake.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

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

Source

Popularity

7-day trend score
5

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/jswortz/my-skills/ralph-wiggum-skill/badge)](https://verified-skill.com/skills/jswortz/my-skills/ralph-wiggum-skill)

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