Deslop

From deadlock-mod-manager/deadlock-mod-manager · View interactive version

Deslop is an AI agent skill from the GitHub repository deadlock-mod-manager/deadlock-mod-manager. Remove AI-generated code slop from a branch diff — unnecessary comments, defensive checks, any-casts, nested code inconsistent with the surrounding codebase, and low-signal tests. Use after an AI-assisted implementation, before committing or opening a PR, or when asked to "deslop", "remove slop", or

How to use this skill

Skill file

Deslop

Check the diff against main and strip out the tells of AI-generated code: comments that narrate the obvious, try/catch blocks on trusted paths, any casts used to dodge type errors, nesting that should be early returns, and tests that guard nothing.

The failure mode this exists for: AI-assisted code that passes review because it works, but reads like it was written by someone who doesn't know the codebase.

When to use

What to look for

Delete whole tests, not individual assertions inside a test that earns its place. Drop helpers, fixtures, and test files left unused by the deletion.

Guardrails

Output should feel like

Related

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.