Tooluck logoTooluck
SKILL.md

deslop

Agent skill frommichael-denyer/pstack-claude

Remove AI-generated code slop and clean up code style

How to install deslop

install deslop
# install the pstack-claude pack with the skills CLI
npx skills add michael-denyer/pstack-claude

# or add only this skill to Claude Code: copy the folder

plugins/pstack/skills/deslop/

# into

~/.claude/skills/deslop/ (all projects)

.claude/skills/deslop/ (one project)

plugins/pstack/skills/deslop/SKILL.md

MITFull file
1# Remove AI code slop
2
3Check 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.
4
5## Focus Areas
6
7- Extra comments that are unnecessary or inconsistent with local style
8- Defensive checks or try/catch blocks that are abnormal for trusted code paths
9- Casts to `any` used only to bypass type issues
10- Deeply nested code that should be simplified with early returns
11- Other patterns inconsistent with the file and surrounding codebase
12
13## Guardrails
14
15- Keep behavior unchanged unless fixing a clear bug.
16- Prefer minimal, focused edits over broad rewrites.
17- After editing, rerun the checks that verified the change (tests, type check, and the driver skill for UI work) and report their results.
18- Revert any edit whose check fails.
19- Keep the final summary concise (1-3 sentences).

Excerpt shown under the repository's MIT license.

More skills in pstack-claude

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates