michael-denyer/pstack-claude1.1k installs
deslop
Remove AI-generated code slop and clean up code style
How do I install this agent skill?
npx skills add https://github.com/michael-denyer/pstack-claude --skill deslopIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill automates the removal of inefficient or unnecessary code patterns. It carries a low risk of indirect prompt injection because it processes code diffs that could contain malicious instructions and executes verification tests in the local environment.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
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
anyused 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).
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/michael-denyer/pstack-claude/deslop">View deslop on skillZs</a>