agentleFS
cirnecirne/agent-skills/skills/deslop/SKILL.md

deslop

Skill2 starsChanged 5 months agoMITView on GitHub

Remove AI-generated code slop from the current branch diff without changing behavior. Use when the user invokes /deslop, asks to clean up agent-generated code, or before /commit on an agent-heavy branch.

59 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use thermo-nuclear-code-quality-review, dream and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AnastasiyaWSkill

    thermo-nuclear-code-quality-review

    Run an opt-in strict maintainability review for giant files, spaghetti growth, misplaced logic, weak boundaries, unnecessary abstractions, and missed structural simplifications. Use for a thermonuclear review, harsh code-quality audit, code-judo review, or a file approaching 1000 lines. Do not use as an automatic rewrite mandate or for cosmetic cleanup.

    Also in 3 projects that use this

  • maxvaegaSkill

    dream

    Self-improving memory loop — capture the user's preferences, corrections, and standing rules as project memories; periodically consolidate them (REM pass) and propose improvements to skills and CLAUDE.md. Modes - default, history, queued, rem, proposals, setup. Full loop on Claude Code; capture-only portable mode on Claude Cowork.

    Also in 3 projects that use this

  • Hugging FaceSkill

    simplify

    Refactor code after tests pass. The "Refactor" phase of Red-Green-Refactor.

    Also in 4 projects that use this

  • AWSSkill

    teach

    Teach the user a new skill or concept, within this workspace.

    Also in 5 projects that use this

  • nicodianskSkill

    brainstorm

    Use when starting creative work - creating features, building components, adding functionality, or modifying behavior. Explores requirements through Socratic dialogue before any implementation.

    Also in 4 projects that use this

  • MicrosoftSkill

    unslop

    Cut AI tells from any writing. Must always apply.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 58 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Before /commit on a mostly agent-authored branch

    line 13
  2. Distinctive:

    Do not bypass hooks or delete tests to “simplify”

    line 39

“Common” is measured: kept by at least 6 in 10 of the 58 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Deslop

Scan the branch diff against the default base branch (usually origin/main) and remove slop introduced on the branch. Behavior must stay unchanged unless fixing a clear bug found during review.

When to run

  • User asks to deslop, clean up, or de-AI the branch
  • Before /commit on a mostly agent-authored branch
  • Mid-session before a large review, when the diff feels noisy

Skip for docs-only edits, generated lockfiles, or when the user wants verbose comments preserved.

Focus areas

Match repo conventions (AGENTS.md / CLAUDE.md / contributing docs if present):

  • Comments that restate the obvious or clash with the file
  • Defensive try/catch on trusted internal paths
  • as any / casts used only to silence types — fix types when trivial
  • Deep nesting better expressed with early returns
  • One-off helpers that should stay inline
  • Patterns inconsistent with the surrounding file (naming, imports, error handling)

Workflow

  1. git fetch origin <default-branch> (usually main)
  2. Review git diff origin/<default-branch>...HEAD (+ unstaged if relevant)
  3. Apply minimal, focused edits per file — no broad rewrites
  4. Re-run the repo’s scoped checks for touched paths (see /commit or project docs)

Guardrails

  • Prioritize correctness over style — if unsure, leave it and note in the summary
  • Do not bypass hooks or delete tests to “simplify”
  • Final summary: 1–3 sentences — what was removed and from which areas

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.