davepoon/buildwithclaude / plugins/ralph-review-trio/skills/ralph-review-trio
ralph-review-trio
VerifiedRun a sequential three-tier code review on a finished implementation branch — Haiku (surface) → Sonnet (logic) → Opus (deep). Restarts from Tier 1 on any tier failure. Use when a solo branch or PR is code-complete and you want structured pre-merge verification before human review.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 2.5 KB |
| assets/example-transcript.md | markdown | 4.3 KB |
| references/_common-culprits.md | markdown | 1.5 KB |
| references/haiku-checklist.md | markdown | 2.8 KB |
| references/opus-checklist.md | markdown | 4.8 KB |
| references/sonnet-checklist.md | markdown | 3.9 KB |
references/_common-culprits.md
View on GitHub# Ralph Review — Shared 5-Culprits Reference
> **Architectural design**: Each Ralph tier scans for the same five patterns at *increasing depth*. The depth-layering is intentional. This file holds the shared framing so the category numbers and names stay in sync; each tier file keeps its own depth-appropriate bullets.
## The 5 Categories
Each tier checks these patterns. Bullets in the per-tier files differ by depth, not by category.
| # | Category | Surface (Haiku) | Logic (Sonnet) | Architectural (Opus) |
|---|---|---|---|---|
| 1 | Duplicate Code (DRY / Modularity) | Visible copy-paste | Same logic in N files | Same pattern implemented differently |
| 2 | On-the-fly Calculations (Hardcoded Settings) | Magic numbers in calculations | Inline business formulas | Calculation constants varying by env |
| 3 | Hardcoded Settings | Embedded URLs / paths / credentials | Multipliers, percentages, timeouts | User-configurable values in code |
| 4 | Obsolete / Dead Code (LMCE) | Commented-out blocks, dead TODOs | Never-called functions, unused imports | Modules never instantiated, dead endpoints |
| 5 | Silent Fallbacks (Fail Fast) | `catch{}` swallow, `\|\| default` | `.get(k, {})` chains, `try / except: pass` | Cascading defaults masking root cause |
## Tier Files
- `haiku-checklist.md` — surface checks
- `sonnet-checklist.md` — logic-trace checks
- `opus-checklist.md` — architectural checks
## Rule
Tier-specific bullet content lives in the tier files. The category numbers / names live here — change them once, propagate by re-reading.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |