بنقرة واحدة
ai-slop-cleaner
Clean AI-generated code — remove unnecessary abstractions, verbose comments, over-engineering
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Clean AI-generated code — remove unnecessary abstractions, verbose comments, over-engineering
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Detect and clean AI-typical writing patterns in documents — em dashes, filler phrases, over-formality
Route questions to Claude, Codex, or Gemini for multi-perspective answers
Claude-Codex-Gemini tri-model orchestration — decompose, query, synthesize
Health check — verifies omg plugin is correctly installed and working
Quick reference — what omg agents and skills are available and how to use them
About omg — version, architecture, capabilities, and credits
| name | ai-slop-cleaner |
| description | Clean AI-generated code — remove unnecessary abstractions, verbose comments, over-engineering |
| tags | ["code-quality","cleanup","refactoring"] |
| Pattern | Example | Fix |
|---|---|---|
| Verbose comments | // This function adds two numbers above add(a, b) | Remove — code is self-evident |
| Unnecessary abstractions | createHelperFactory() used once | Inline the logic |
| Over-engineered error handling | try/catch around 2 + 2 | Remove — can't fail |
| Feature flags for nothing | if (ENABLE_ADDITION) { a + b } | Remove flag, keep code |
| Premature generalization | BaseAbstractProcessor<T> with one impl | Remove base class |
| Backwards-compat shims | const _oldName = newName // removed | Delete entirely |
| Empty catch blocks | catch (e) { /* TODO */ } | Handle or remove |
| Console.log debris | console.log('DEBUG:', value) | Remove |
Determine scope:
bash: git diff --name-only HEAD~1Review the identified files for AI slop patterns: unnecessary abstractions, verbose comments restating code, over-engineered error handling, debug artifacts. Simplify without changing behavior. Delegate to @omg:code-simplifier for systematic cleanup.
After cleanup:
bash — must still compilebash — must still pass## Slop Cleanup Report
Files cleaned: N
Patterns removed:
- 3× verbose comments (file.ts:12, file.ts:45, file.ts:89)
- 1× unused abstraction (helper.ts → inlined into caller)
- 2× console.log debris
Lines removed: X
Verification: build PASS, tests PASS
If invoked with "review" or "scan": analyze but do NOT make changes. Report findings only.
clean slop, deslop, anti-slop, remove AI patterns
copilot -i "clean AI slop in src/"