Skip to content

deslop

Remove AI-generated code slop and clean up code style

1,029
installs
0 up / 0 down, score 0.00
votes
4,053
repo stars
Updated
less than a month ago
In the catalog since
7 Nov 2026
From
michael-denyer/pstack-claude
Get it through your agent npx skills add michael-denyer/pstack-claude@deslop

Skill instructions

Rendered from the published SKILL.md, 20 lines.

Remove AI code slop

Check the diff against the branch's base and remove AI-generated slop introduced in the branch. The base is the PR's base branch, else the branch this one was cut from, else the repository's default branch. Include uncommitted changes.

Focus Areas

  • Extra comments that are unnecessary or inconsistent with local style
  • Defensive checks or try/catch blocks that are abnormal for trusted code paths
  • Casts to any used only to bypass type issues
  • 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.
  • After editing, rerun the checks that verified the change (tests, type check, and the driver skill for UI work) and report their results.
  • Revert any edit whose check fails.
  • Keep the final summary concise (1-3 sentences).