code-janitor - Clean up and verify code for production readiness
Reviews and cleans code in a folder, package, or recent git changes through ordered cleanup, documentation, validation, and production-readiness checks.
Tags
Updated: 2026-12-02Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Detect workspace conventions
- Group files by intent
- Simplify and organize code
- Improve readability and documentation
- Sweep for production issues
- Validate changes with checks
- Grant production-ready verdict
- Write cleanup summary
Inputs
- Target folder or package
- Recent git changes
- Workspace configuration
- Agent instruction documents
- Optional review flag
- Optional test flag
Outputs
- Cleaned source files
- Per-file status messages
- Cleanup summary report
- Production-ready verdict
- Handoff prompt
Requirements
- Git workspace
- JavaScript or TypeScript package workspace
