What problem does it solve?
This Skill addresses the issue of "code bloat" or "slop" often introduced by AI code generation, such as unnecessary comments, redundant error handling, and unused imports, improving code quality and maintainability.
Core Features & Use Cases
- Static Analysis: Detects patterns like unused imports and leftover debug statements using tools like
ruff and grep.
- Semantic Review: Leverages an AI agent to identify issues like self-explanatory comments, over-abstraction, and boilerplate docstrings.
- Reporting: Generates a clear Markdown report detailing identified issues, their severity, and suggested fixes.
- Use Case: After an AI generates a complex function, run
jin-cleanser on the diff to automatically identify and report any "slop" that should be cleaned up before merging.
Quick Start
Run jin cleanser on the latest git diff to find and report code bloat.