What problem does it solve?
This Skill eliminates the tedious, inconsistent manual work of cleaning up messy codebases, ensuring code meets production-ready standards without hours of unguided review.
Core Features & Use Cases
- 5-Stage Cleanup Pipeline: Automatically groups files by intent, then runs a sequential simplification → abstraction → readability → documentation → production-readiness sweep, with a supervisor granting an industry-standard production-ready flag only when all checks pass.
- Common Cleanup Tasks: Handles fixing typos in identifiers, splitting overgrown files, improving JSDoc, removing dead code, and strengthening weak typing without altering runtime behavior.
- Use Case: If you just finished a feature branch with messy helper functions, duplicated logic, and missing docs, use this Skill to tidy the code and get an industry-standard production-ready flag.
Quick Start
Use the code-janitor skill to clean up your project's code and get a production-ready readiness verdict.