Automated Code Polishing
Refines and optimizes existing code to meet quality standards and ensure all tests pass through an iterative fix-test-review loop.
The Polish skill for Claude Code provides an advanced, automated pipeline designed to bridge the gap between 'nearly finished' and 'production-ready.' Unlike tools that build from scratch, Polish analyzes your existing codebase against specific criteria, such as fixing failing tests, improving code quality, or handling complex edge cases. It follows a rigorous test-driven development (TDD) approach, writing new tests for missing behaviors, diagnosing root causes, and performing multiple fix-review cycles. With built-in gates for user approval and detailed state management, it ensures that every modification is verified, optimized, and aligned with your project's standards.