Refines and simplifies codebases through structural reviews, AI slop removal, and automated test audits.
The Polish skill is a multi-phase maintenance utility designed to transition code from draft to production-grade by performing light structural reviews, optional Codex cross-checks, and comprehensive cleanup. It specifically targets 'AI slop'—such as redundant comments and defensive over-engineering—while auditing test suites for over-mocking, vague naming, and copy-paste errors. By directly applying fixes to the current diff and validating changes with integrated test commands, it ensures your code remains clean, efficient, and well-tested without the overhead of a full architectural audit.
主要功能
01Self-healing workflow that stashes fixes if they cause test failures
02Automated structural simplification of code logic
03Detection and removal of AI-generated 'slop' and redundant comments
04Comprehensive test suite auditing and cleanup
059 GitHub stars
06Optional Codex cross-check for high-priority bug detection
使用场景
01Auditing test files to ensure naming consistency and remove excessive mocking
02Simplifying overly complex logic after a large feature implementation
03Cleaning up AI-generated drafts or experimental code before a commit