$npx -y skills add jmstar85/oh-my-githubcopilot --skill ralphPRD-driven persistence loop until task completion with verification. Activate when user says: ralph, don't stop, must complete, finish this, keep going until done.
| 1 | # Ralph |
| 2 | |
| 3 | Ralph is a PRD-driven persistence loop that keeps working on a task until ALL user stories have `passes: true` and are reviewer-verified. |
| 4 | |
| 5 | ## When to Use |
| 6 | - Task requires guaranteed completion with verification |
| 7 | - Work may span multiple iterations and needs persistence |
| 8 | - Task benefits from structured PRD-driven execution |
| 9 | |
| 10 | ## When NOT to Use |
| 11 | - Full autonomous pipeline → use `/omg-autopilot` |
| 12 | - Explore or plan before committing → use `/plan` |
| 13 | - Quick one-shot fix → delegate to @executor |
| 14 | |
| 15 | ## Flags |
| 16 | - `--no-prd`: Skip PRD generation, work in legacy mode (for trivial fixes) |
| 17 | - `--no-deslop`: Skip the mandatory post-review cleanup pass |
| 18 | |
| 19 | ## Steps |
| 20 | |
| 21 | ### 1. PRD Setup (first iteration) |
| 22 | - Check if `.omg/prd.json` exists via `omg_read_prd` |
| 23 | - If none exists, generate a PRD scaffold with task-specific acceptance criteria |
| 24 | - **CRITICAL**: Replace generic criteria with specific, testable ones |
| 25 | - Initialize progress tracking |
| 26 | |
| 27 | ### 2. Pick Next Story |
| 28 | - Read PRD via `omg_read_prd` |
| 29 | - Select highest-priority story with `passes: false` |
| 30 | |
| 31 | ### 3. Implement Current Story |
| 32 | - Delegate to @executor at appropriate complexity level |
| 33 | - If sub-tasks are discovered, add as new stories to PRD |
| 34 | |
| 35 | ### 4. Verify Acceptance Criteria |
| 36 | - For EACH criterion, verify with fresh evidence |
| 37 | - Run relevant checks (test, build, lint, typecheck) |
| 38 | - If any criterion NOT met, continue working |
| 39 | |
| 40 | ### 5. Mark Story Complete |
| 41 | - Set `passes: true` via `omg_update_story` |
| 42 | - Record progress in `progress.txt` |
| 43 | |
| 44 | ### 6. Check PRD Completion |
| 45 | - Call `omg_check_completion` |
| 46 | - If NOT all complete, loop to Step 2 |
| 47 | - If ALL complete, proceed to verification |
| 48 | |
| 49 | ### 7. Reviewer Verification |
| 50 | - @verifier checks against specific acceptance criteria from PRD |
| 51 | - @architect reviews for architectural soundness |
| 52 | |
| 53 | ### 7.5 Mandatory Cleanup Pass |
| 54 | - Unless `--no-deslop`, run `/ai-slop-cleaner` on changed files only |
| 55 | |
| 56 | ### 7.6 Regression Re-verification |
| 57 | - Re-run all tests after cleanup pass |
| 58 | - Only proceed after regression tests pass |
| 59 | |
| 60 | ### 8. Completion |
| 61 | - On approval: run `/cancel` for clean exit |
| 62 | - On rejection: fix issues, re-verify, loop back |
| 63 | |
| 64 | ## Execution Policy |
| 65 | - Fire independent tasks simultaneously |
| 66 | - Run builds/tests in background |
| 67 | - Deliver full implementation: no scope reduction, no partial completion |
| 68 | |
| 69 | ## Checklist |
| 70 | - [ ] All PRD stories have `passes: true` |
| 71 | - [ ] Acceptance criteria are task-specific (not generic) |
| 72 | - [ ] All requirements met (no scope reduction) |
| 73 | - [ ] Fresh test output shows all tests pass |
| 74 | - [ ] Reviewer verification passed |
| 75 | - [ ] Cleanup pass completed (or `--no-deslop`) |
| 76 | - [ ] Post-cleanup regression tests pass |