zereight/gitlab-mcp

ai-slop-cleaner

Clean AI-generated code slop with regression-safe workflow.

View source

How to use

  1. Copy the installation command and review the source package before installing it in your own agent environment.
  2. Check the source document for required tools, credentials and supported hosts.
  3. Describe your input and desired deliverable; review the output against the source material.
npx skills add https://github.com/zereight/gitlab-mcp --skill ai-slop-cleaner

Before you start

  • Installation does not include a model subscription, API allowance or permission to access your files.
  • Repository stars and installation counts describe activity, not an independent quality or security test.
Original skill document

Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.

AI Slop Cleaner

Clean AI-generated code slop without changing behavior. Deletion-first workflow with regression safety.

When to Use

  • Code that works but feels bloated, repetitive, or over-abstracted
  • Duplicate logic, dead code, wrapper layers, boundary leaks
  • --review for reviewer-only mode (no changes, just findings)

When NOT to Use

  • New feature build or product change
  • Broad redesign
  • Behavior is unclear and untestable

Principles

  • Preserve behavior unless explicitly asked for changes
  • Delete before refactoring — removal is safest
  • Scope-bounded: only clean what was specified
  • Regression-safe: verify tests pass after every change

Slop Signals

  • Unnecessary wrapper functions
  • Duplicated logic across files
  • Over-abstracted single-use helpers
  • Dead code / unreachable branches
  • Excessive comments restating obvious code
  • Premature abstractions (used only once)

Workflow

  1. Identify target files/scope
  2. Run existing tests (baseline)
  3. Apply deletions first (dead code, unused imports)
  4. Simplify remaining code (reduce nesting, merge duplicates)
  5. Re-run tests after each change
  6. Report what was cleaned and verification results
from this repository

More skills

All skills