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

deslop

Skill3 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.

135 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use control-cli, openseo-review-web-content and 9 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.
  • ElyzeSolutionsSkill

    control-cli

    Build or adapt a local harness to drive, inspect, and profile an interactive CLI or TUI without external services. Use for CLI UX checks, startup regressions, memory leaks, hangs, prompt flows, or terminal demos.

    Also in 7 projects that use this

  • JwuthriSkill

    openseo-review-web-content

    Write and review content for the OpenSEO website (web/) — blog posts, guides, feature pages, FAQs. Distills the philosophy for on-brand, useful, accurate content. Use whenever adding or editing user-facing prose in web/content or web/src.

    Also in 4 projects that use this

  • JwuthriSkill

    simple-issue-description

    Turn a rough bug report, feature request, support note, or pull request into a short, plain-language issue focused on the problem and desired behavior. Use when a contributor asks to simplify an issue, explain what a PR is for, create the corresponding issue for a PR, remove implementation detail from a report, or invokes /simple-issue-description.

    Also in 4 projects that use this

  • automagik-devSkill

    genie-hacks

    Browse, search, and contribute community hacks — real-world patterns for provider switching, teams, skills, hooks, cost optimization, and more.

    Also in 3 projects that use this

  • automagik-devSkill

    workfly

    Discover a procedure and build its saved workflow — dynamic discovery, drafted script, adversarial verification, landed in the catalog.

    Also in 3 projects that use this

  • ElyzeSolutionsSkill

    control-ui

    Build or adapt a local browser/CDP harness to drive and inspect a web, IDE, or Electron UI. Use for local UI verification, screenshots, accessibility snapshots, perf profiles, visual diffs, or reproducing UI bugs.

    Also in 8 projects that use this

  • +2 more from Jwuthri
  • +3 more from automagik-dev

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 134 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 134 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.