What problem does it solve?
This Skill identifies and fixes AI-generated code anti-patterns that look plausible but fail under real-world conditions, including incomplete implementations, hallucinated APIs, missing error handling, security vulnerabilities, performance issues, and maintainability problems.
Core Features & Use Cases
- Anti-pattern detection and triage: Scans for 27 categories of issues across architecture, logic, security, performance, completeness, style, and reliability, then ranks findings by severity from Critical to Minor.
- Rewrite instead of only flagging: Refactors problematic sections to preserve intent while removing slop and simplifying the solution.
- Production-shipping review mode: Includes a final “would I ship this?” pass to ensure the output is maintainable, correct, and safe to deploy.
- Use cases: Use it to degunk code you suspect is AI-generated, clean up “working but wrong” implementations, harden insecure handlers and database queries, and make code reviews faster by converting review comments into concrete fixes.
Quick Start
Use the code-degunker skill to review the provided file for AI-generated slop and return a patched, production-ready version with the critical issues fixed first.