Deslop

From spences10/skills · View interactive version

Deslop is an AI agent skill from the GitHub repository spences10/skills. Clean AI-generated code noise. Use when reviewing diffs, removing unnecessary comments, tightening verbose code, or desloping recent changes.

How to use this skill

Skill file

Deslop

Remove AI-generated verbosity and low-value code noise from recent changes.

Scope

Default to the smallest relevant diff:

git diff --cached --name-only
git diff HEAD~1 --name-only

If scope is unclear, ask whether to review staged changes, the last commit, or specific files. Skip markdown/docs unless the user asks.

Fast Workflow

  1. Scan the diff for patterns from slop-patterns.md.
  2. Auto-remove obvious noise when it is mechanically safe: redundant comments, filler summaries, dead wrappers, duplicate branches.
  3. Ask before risky edits: behavior changes, public API changes, validation removal, or unclear comments.
  4. Verify with a targeted test/typecheck/lint when code changed.
  5. Report briefly: files touched, noise removed, risky items left alone.

What to Remove

What to Keep

References

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.