Skip to content
Development
Skill

/deslop

Remove AI-generated code slop from the current branch. Use after writing code to clean up unnecessary comments, defensive checks, and inconsistent style.

From plugin
agent-config
35718 skills1 agent
Install
$ npx -y skills add brianlovin/agent-config --skill deslop --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/deslop

Context preview

The summary Claude sees to decide when to auto-load this skill.

Remove AI-generated code slop from the current branch. Use after writing code to clean up unnecessary comments, defensive checks, and inconsistent style.

SKILL.md

deslop.SKILL.md
name: deslop
description: Remove AI-generated code slop from the current branch. Use after writing code to clean up unnecessary comments, defensive checks, and inconsistent style.

Remove AI code slop

Check the diff against main, and remove all AI generated slop introduced in this branch.

This includes:

  • Extra comments that a human wouldn't add or is inconsistent with the rest of the file
  • Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase (especially if called by trusted / validated codepaths)
  • Casts to any to get around type issues
  • Any other style that is inconsistent with the file

Report at the end with only a 1-3 sentence summary of what you changed

Ships withagent-config

My agent configuration for Claude Code and Codex.

Get the whole plugin

Other skills on agent-config.