agentleFS
UtsavBalar1231UtsavBalar1231/oh-my-claudeagent/skills/remove-ai-slops/SKILL.md

remove-ai-slops

Skill3 starsChanged 33 days agoMITView on GitHub

Use to strip AI slop from changed files (double guards, dead fallbacks, narrating comments, premature abstraction) while keeping load-bearing validation and error handling. Triggers: 'remove ai slop', 'de-slop', 'clean up tests'.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Remove AI slop

Clean only the requested files or reviewed diff. Read each candidate before cutting redundant guards, dead fallbacks, narrating comments, or unused abstractions. Do not introduce replacement abstractions, change public signatures or algorithms, or weaken test assertions. Use references/categories.md for examples and borderline cases. On a direct request to clean up tests, follow references/tests.md; otherwise list suspect tests in your report and leave them in place.

Preserve load-bearing validation, error/data-loss handling, security controls, and comments that explain contracts or non-obvious constraints. Keep license/SPDX and file/module headers, API docs, // SAFETY: rationale, locking/concurrency and Context: contracts, invariants and constant derivations, error/panic semantics, units and boundary conditions, deprecation notices, bug-linked workarounds, and project-mandated comments.

Before deleting a trust-boundary guard or catch, test an adversarial input and prove the remaining path handles the same failure. Trace callers and mutation paths before declaring a check redundant. No proof means no deletion. Do not turn an environment assumption into a guarantee about external input.

Apply small cuts, safest first. Delegate independent batches only if the current role permits it; give each worker its exact files and the protection rules. Leaf workers make their own cuts.

Run the relevant project build, lint, and tests after cuts. If the commands are unknown, ask rather than guess. Log real exits with evidence_log. Report per file the cuts, what stays and why, and any uncertainty. For a bound plan, record consequential judgment calls with notepad_write.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.