brianlovin4.9K installs
Remove AI-generated code slop from the current branch. Use after writing code to clean up unnecessary comments, defensive checks, and inconsistent style.
Install
npx skills add https://github.com/brianlovin/agent-config --skill deslopSKILL.md
Remove AI code slop
Check the diff against main, and remove all AI generated slop introduced in this branch.
This includes:
- Extra comments that a human wouldn't add or is inconsistent with the rest of the file
- Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase (especially if called by trusted / validated codepaths)
- Casts to any to get around type issues
- Any other style that is inconsistent with the file
Report at the end with only a 1-3 sentence summary of what you changed
Related skills
simplifybrianlovin17KSimplify and refine recently modified code for clarity and consistency. Use after writing code to improve readability without changing functionality.knipbrianlovin3.8KRun knip to find and remove unused files, dependencies, and exports. Use for cleaning up dead code and unused dependencies.ramsbrianlovin2.9KRun accessibility and visual design review on components. Use when reviewing UI code for WCAG compliance and design issues.find-skillsbrianlovin2.9KHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.