ワンクリックで
ai-slop-cleaner
Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Automated UI verification loop: Marionette screenshot -> Figma reference -> pixel-diff -> difference list -> auto-fix iteration. Solves the false-positive verification problem flagged in insights reports (UI claimed fixed without actually being compared against the reference). Triggers (English): verify ui, ui compare, pixel diff, figma compare, automated ui verification, golden test fail. 自动 UI 验证:Marionette 截图 → Figma 参考图 → pixel-diff → 差异列表 → 自动修复循环。 触发关键字(中文):verify ui、ui 对比、pixel diff、figma 对比、自动验证
Structured visual QA verdict for screenshot-to-reference comparisons
Operational rules for driving Codex CLI from scripts: success-signal contract, diff-feeding semantics, worktree -C flag, and stdin vs argv. Triggers when invoking `codex exec` programmatically (not interactively) — script wrappers, ralph loops, cron pipelines, multi-CLI fan-out. Surfaces silent failure modes that exit 0 but produce no useful output. Triggers (English): codex exec, codex cli, codex review, codex rescue, codex fallthrough, agent script invocation, programmatic codex.
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Socratic deep interview with mathematical ambiguity gating before autonomous execution
Use when creating or developing, before writing code or implementation plans - refines rough ideas into fully-formed designs through collaborative questioning, alternative exploration, and incremental validation. Don't use during clear 'mechanical' processes
| name | ai-slop-cleaner |
| description | Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode |
| requires-omc | true |
| 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:
deslop, anti-slop, or AI slop--reviewDo 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.
oh-my-claudecode:ai-slop-cleaner skills/ralph/SKILL.md skills/ai-slop-cleaner/SKILL.mdRalph can invoke this skill as a bounded post-review cleanup pass.
--review)--review remains the reviewer-only follow-up mode, not the default Ralph integration path--review)--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:
Protect current behavior first
Write a cleanup plan before code
Classify the slop before editing
Run one smell-focused pass at a time
Run the quality gates
Close with an evidence-dense report Always report:
/oh-my-claudecode:ai-slop-cleaner <target>/oh-my-claudecode:ai-slop-cleaner <target> --review/oh-my-claudecode:ai-slop-cleaner <file-a> <file-b> <file-c>Good: deslop this module: too many wrappers, duplicate helpers, and dead code
Good: cleanup the AI slop in src/auth and tighten boundaries without changing behavior
Bad: refactor auth to support SSO
Bad: clean up formatting
requesting-code-review → receiving-code-review — use this skill before requesting review to strip boilerplate and unfounded claims. Polish the work, then request review.writing-skills — when authoring new skill documentation, run this skill afterward to remove AI-generated filler (clichés, unsupported claims, boilerplate marketing language).