skills/global/.agents/skills/deslop/SKILL.md
Use after AI-generated code to remove slop (excess comments/defensive checks). Not for general refactors.
npx skillsauth add erikstmartin/dotfiles deslopInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Check the diff against main, and remove all AI generated slop introduced in this branch.
This includes:
Report at the end with only a 1-3 sentence summary of what you changed
Before (AI slop):
// Check if the user exists before proceeding
if (user !== null && user !== undefined) {
try {
// Attempt to update the user's profile
await updateProfile(user.id, data);
} catch (error) {
// Handle any errors that might occur
console.error('Error updating profile:', error);
throw error;
}
}
After (deslopped):
if (user) {
await updateProfile(user.id, data);
}
testing
Use when creating new skills, editing existing skills, or verifying skills work before deployment
development
Use when you have a spec or requirements for a multi-step task, before touching code
data-ai
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
tools
Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions