deslop: AI Code Cleanup Skill

LinkBrian LovinTool

“deslop” is an agent skill created by Brian Lovin designed to remove AI-generated code slop from Git branches. It inspects branch diffs against the main branch to eliminate unnatural comments, redundant error handling, and improper type casts.

Key points

  1. Installed via the command “npx skills add https://github.com/brianlovin/agent-config --skill deslop”.
  2. Checks the diff of the active branch against main.
  3. Removes unnatural comments that do not match the rest of the codebase or would not be written by humans.
  4. Strips out abnormal defensive checks, unneeded try/catch blocks in trusted paths, and casts to “any”.
  5. Outputs a concise summary of changes limited to one to three sentences.
  6. Passed security audits conducted by Gen Agent Trust Hub, Socket, and Snyk.

Why it matters

AI-assisted coding frequently produces boilerplate verbosity, excessive guard clauses, and poor typing practices. Standardising the removal of these artefacts helps keep codebases clean and consistent prior to merging.

Analysis

The project demonstrates the growing ecosystem of sharable agent prompts and skills. By encapsulating cleanup instructions into a reusable command, it provides a consistent pre-merge sweep that delegates routine code polishing back to the AI assistant.

Found in

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Link:Peter G. Yang

    No AI Slop: An Agent Skill for Eliminating AI Writing Patterns

    Peter G. Yang has released an agent skill designed to identify and remove AI cliches from writing. It acts as an editor to make drafts clearer and more engaging while preserving the author's distinctive voice.

    AI & LLMs· Tool

  • Repository:petergyang/no-ai-slop

    no-ai-slop: Agent Skill to Strip Formulaic AI Phrasing

    The open-source project no-ai-slop detects and removes over 20 stereotypical patterns of AI writing without flattening the author's individual voice.

    7kstarsPython

    AI & LLMs· Tool

  • X post:Connor Loi

    Code cleanup with /ponytail-review to counter AI code bloat

    Developer Connor Loi highlights the /ponytail-review skill, describing it as an anti-slop mechanism that removes unnecessary code generated by additive models like Codex.

    818bookmarks42.1kviews

    AI & LLMs· Tool

  • Link:dmmulroy

    anti-slop

    Das Tool anti-slop ist ein spezialisiertes Skript, das über das npm-Ökosystem verteilt wird, um unerwünschte KI-generierte Inhalte oder sogenannte Slop-Inhalte zu filtern oder zu blockieren. Es richtet sich an Entwickler, die ihre Arbeitsumgebungen oder Repositories von minderwertigen, automatisierten Inhalten bereinigen möchten.

    AI & LLMs

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.