legout/pi-config/ralph-wiggum
Claude Code and agent skill by legout/pi-config
- community
Checking that the SKILL.md file is still in the repository.
Ralph-Wiggum ticket loop — auto-implement all ready tk tickets with worker + reviewer cycle
Install
npx vskill@latest install legout/pi-config/ralph-wiggumSKILL.md
The same SKILL.md was published earlier as legout/pi-config/ralph-wiggum.
Ralph-Wiggum Ticket Implementation Loop
The Ralph-Wiggum loop automatically implements tk tickets one by one until all are closed. Each iteration: pick a ready ticket → implement → review → close (or retry with feedback).
Loop Protocol
Execute these steps in order. If any step fails, stop and report the error.
Step 1: Pick a ticket
If the output is empty (no tickets): You are done. Do nothing — no file changes means the loop converges and stops.
If tickets are listed: Pick the first one. Extract the ticket ID (e.g., PR-xxxx).
Run tk start <TICKET_ID> to mark it in_progress.
Check how many times this ticket has been reviewed:
Count reviews (lines containing "Gate:"). If the ticket has been reviewed 3 or more times, it is stuck — skip it and move to the next ticket:
Step 2: Implement the ticket (Worker Subagent)
Read the ticket file and any prior notes first:
Then delegate implementation to the worker agent using the subagent tool:
Wait for the worker to complete. If the worker fails or crashes, retry once. If it fails again, add a note and move to the next ticket.
Step 3: Review the implementation (Reviewer Subagent)
Delegate the review to the rw-reviewer agent:
Step 4: Handle review result
Parse the reviewer's output for the Gate line. Record a structured note with iteration context:
If Gate: PASS or NITS:
If Gate: REVISE:
Keep the ticket in_progress. The next loop iteration will pick it up again.
If Gate: ESCALATE:
Move to the next ticket. Do not retry automatically.
Step 5: Done
Report what happened this iteration (ticket ID, gate result, key findings). The loop will continue automatically if there are more tickets.
Important Rules
- Always run `tk ready` first — never assume which ticket to work on
- One ticket per iteration — the loop handles repetition
- Worker must pass lint + typecheck + tests before review
- Reviewer is read-only — it never modifies files
- Only close on PASS or NITS — REVISE means retry, ESCALATE means human needed
- Use `context: "fresh"` for both subagents — they start clean
- If `tk ready` is empty, do nothing — convergence stops the loop
- Max 3 review cycles per ticket — after that, escalate and skip
- Worker gets prior notes on retry — must reflect before re-attempting
- Reviewer output must be structured — severity, file, evidence, remediation
Gate Reference
| Gate | Meaning | Action | |
|---|---|---|---|
| PASS | All acceptance criteria met, no issues | Close ticket | |
| NITS | Acceptance criteria met, minor polish items | Close ticket (nits are optional) | |
| REVISE | Critical or High issues found | Feed back to worker, retry | |
| ESCALATE | Fundamentally blocked, needs human | Skip ticket, note why |
tk CLI Reference
| Command | Purpose | |
|---|---|---|
tk ready | List tickets with all deps resolved (ready to work on) | |
tk start <id> | Set ticket to in_progress | |
tk close <id> | Set ticket to closed | |
tk show <id> | Display ticket details | |
tk notes <id> | Show ticket notes (prior iteration history) | |
tk add-note <id> [text] | Append timestamped note | |
tk blocked | List tickets with unresolved deps | |
tk ls | List all open tickets | |
tk dep tree <id> | Show dependency tree |
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
- SKILL.md in the repositoryCheckingskills/ralph-wiggum/SKILL.md
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
[](https://verified-skill.com/skills/legout/pi-config/ralph-wiggum)