agent-doc-discipline
Writing-time discipline for documents agents consume (the five surfaces, specs, tickets, .omc/skills/) — every rule checkable and…
Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode
Claude Code
$ npx -y skills add Yeachan-Heo/oh-my-claudecode --skill ai-slop-cleaner --agent claude-code
Codex
$ npx skills add Yeachan-Heo/oh-my-claudecode --skill ai-slop-cleaner -a codex -y
Cursor
$ npx skills add Yeachan-Heo/oh-my-claudecode --skill ai-slop-cleaner -a cursor -y
Gemini CLI
$ npx skills add Yeachan-Heo/oh-my-claudecode --skill ai-slop-cleaner -a gemini-cli -y
GitHub Copilot
$ npx skills add Yeachan-Heo/oh-my-claudecode --skill ai-slop-cleaner -a github-copilot -y
OpenCode
$ npx skills add Yeachan-Heo/oh-my-claudecode --skill ai-slop-cleaner -a opencode -y
Windsurf
$ npx skills add Yeachan-Heo/oh-my-claudecode --skill ai-slop-cleaner -a windsurf -y
name: ai-slop-cleaner description: Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode level: 3
Use this skill to clean AI-generated code slop without drifting scope or changing intended behavior. In OMC, this is the bounded cleanup workflow for code that works but feels bloated, repetitive, weakly tested, or over-abstracted.
Use this skill when:
Do not use this skill when:
This skill can be bounded to an explicit file list or changed-file scope when the caller already knows the safe cleanup surface.
When invoked on a branch (the usual case for review-driven cleanup), the default surface is the slop **this branch introduced**, not the whole repo:
this one was cut from, else the repository's default branch.
scope — pre-existing slop outside the delta is reported, not edited.
This bounds the pass to work whose review context is already open, and keeps unrelated legacy cleanup from riding in under an anti-slop flag.
Ralph can invoke this skill as a bounded post-review cleanup pass.
`--review` is a reviewer-only pass after cleanup work is drafted. It exists to preserve explicit writer/reviewer separation for anti-slop work.
In review mode: 1. Do **not** start by editing files. 2. Review the cleanup plan, changed files, and regression coverage. 3. Check specifically for:
4. Produce a reviewer verdict with required follow-ups. 5. Hand needed changes back to a separate writer pass instead of fixing and approving in one step.
1. **Protect current behavior first**
2. **Write a cleanup plan before code**
3. **Classify the slop before editing**
Use these as review prompts, not absolute bans. Keep intentional brand, accessibility, product-density, or design-system choices when they have a clear rationale.
For Codex users: Check out oh-my-codex — the same orchestration experience for OpenAI Codex CLI. Liked OmC but found it a bit overkill? Try gajae-code.
Writing-time discipline for documents agents consume (the five surfaces, specs, tickets, .omc/skills/) — every rule checkable and…
Settle types and module shape before cross-boundary code — competing designs explored in parallel, compared on API surface and…
Periodic architecture survey — walks the module graph and reports ranked deepening candidates (shallow modules, hypothetical…
Run N parallel candidates at one brief and synthesize: rubric-first framing, isolated fan-out, a cross-judge on a different…
Shipyard's navigator — chart a foggy effort (destination unclear, questions not yet stateable) into a map of decision tickets on…
Process-first advisor routing for Claude, Codex, Gemini, Antigravity, Grok, Cursor, or Muse via `omc ask`, with artifact capture…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration