You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/ralph/SKILL.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,8 @@ By default, ralph operates in PRD mode. A scaffold `prd.json` is auto-generated
39
39
40
40
**Opt-out:** If `{{PROMPT}}` contains `--no-prd`, skip PRD generation and work in legacy mode (no story tracking, generic verification). Use this for trivial quick fixes.
41
41
42
+
**Deslop opt-out:** If `{{PROMPT}}` contains `--no-deslop`, skip the mandatory post-review deslop pass entirely. Use this only when the cleanup pass is intentionally out of scope for the run.
43
+
42
44
**Reviewer selection:** Pass `--critic=architect`, `--critic=critic`, or `--critic=codex` in the Ralph prompt to choose the completion reviewer for that run. `architect` remains the default.
43
45
</PRD_Mode>
44
46
@@ -96,7 +98,18 @@ By default, ralph operates in PRD mode. A scaffold `prd.json` is auto-generated
96
98
- Ralph floor: always at least STANDARD, even for small changes
97
99
- The selected reviewer verifies against the SPECIFIC acceptance criteria from prd.json, not vague "is it done?"
98
100
99
-
8.**On approval**: Run `/oh-my-claudecode:cancel` to cleanly exit and clean up all state files
101
+
7.5 **Mandatory Deslop Pass**:
102
+
- Unless `{{PROMPT}}` contains `--no-deslop`, run `oh-my-claudecode:ai-slop-cleaner` in standard mode (not `--review`) on the files changed during the current Ralph session only.
103
+
- Keep the scope bounded to the Ralph changed-file set; do not broaden the cleanup pass to unrelated files.
104
+
- If the reviewer approved the implementation but the deslop pass introduces follow-up edits, keep those edits inside the same changed-file scope before proceeding.
105
+
106
+
7.6 **Regression Re-verification**:
107
+
- After the deslop pass, re-run all relevant tests, build, and lint checks for the Ralph session.
108
+
- Read the output and confirm the post-deslop regression run actually passes.
109
+
- If regression fails, roll back the cleaner changes or fix the regression, then rerun the verification loop until it passes.
110
+
- Only proceed to completion after the post-deslop regression run passes (or `--no-deslop` was explicitly specified).
111
+
112
+
8.**On approval**: After Step 7.6 passes (with Step 7.5 completed, or skipped via `--no-deslop`), run `/oh-my-claudecode:cancel` to cleanly exit and clean up all state files
100
113
101
114
9.**On rejection**: Fix the issues raised, re-verify with the same reviewer, then loop back to check if the story needs to be marked incomplete
102
115
</Steps>
@@ -192,6 +205,8 @@ Why bad: Did not refine scaffold criteria into task-specific ones. This is PRD t
192
205
-[ ] lsp_diagnostics shows 0 errors on affected files
193
206
-[ ] progress.txt records implementation details and learnings
194
207
-[ ] Selected reviewer verification passed against specific acceptance criteria
0 commit comments