code-slop

Installation
SKILL.md

Find AI Code Slop

Review the diff between the working branch and its baseline, and propose removals for AI-generated slop. Do not modify files.

Resolve the baseline

Pick the first available reference, in order:

  1. An explicit ref the user provides (e.g. "compare against develop", a commit SHA, or a tag).
  2. The upstream tracking branch (git rev-parse --abbrev-ref --symbolic-full-name @{u}).
  3. The repo's default branch (git symbolic-ref refs/remotes/origin/HEAD, falling back to main then master).
  4. The merge-base of HEAD and the resolved ref above (git merge-base).

State the resolved baseline in the report so the user can confirm.

What counts as slop

  • Comments a human wouldn't write or that are inconsistent with the rest of the file
  • Defensive checks or try/catch blocks abnormal for that area of the codebase (especially on trusted / validated codepaths)
  • Casts to any used to sidestep type issues
Related skills

More from benjaming/ai-skills

Installs
13
GitHub Stars
2
First Seen
Feb 19, 2026