What problem does it solve?
This Skill helps you write, refactor, and review production code so it is readable, maintainable, and easier to change without introducing regressions.
Core Features & Use Cases
- Naming and Structure: Enforces intent-revealing names, small functions, and one-level-at-a-time abstraction.
- Refactoring Discipline: Encourages a two-pass workflow where code is first made to work, then cleaned and simplified.
- Testing and Safety: Promotes test-first thinking, strong coverage, and fearless refactoring backed by reliable automated tests.
- Code Review and Cleanup: Applies clean-code rules to comments, duplication, error handling, side effects, and architectural boundaries.
- Use Case: A developer finishes a feature, then uses this Skill to remove duplication, split large functions, improve names, and ensure the codebase is cleaner than before.
Quick Start
Ask for a clean-code review of the changed files and rewrite the implementation to follow naming, size, testing, and refactoring best practices.