Deslop

Remove AI-generated code slop from the branch diff. Use before claiming any coding task complete, before any commit or PR, and when the user asks for slop cleanup.

cristiano-pacheco Updated

File contents

Remove AI code slop

Check the diff against main and remove AI-generated slop introduced in the branch.

Focus Areas

  • Extra comments that are unnecessary or inconsistent with local style
  • Defensive checks or blocks that are abnormal for trusted code paths
  • Deeply nested code that should be simplified with early returns
  • Other patterns inconsistent with the file and surrounding codebase

Guardrails

  • Keep behavior unchanged unless fixing a clear bug.
  • Prefer minimal, focused edits over broad rewrites.
  • Keep the final summary concise (1-3 sentences).

cristiano-pacheco/ai-tools/tree/main/skills/misc/deslop commit 156e164940

Frequently asked questions

npx skillmds@latest add cristiano-pacheco/deslop