Untitled 10/19/2026 12:17 PM
Metadata name refactoring-clean-code description Refactor and improve code quality while preserving behavior. Use when asked to clean up, simplify, restructure, make code more readable or maintainable, remove code smells, or review refactoring opportunities. Refactoring and Clean Code Improve the code's clarity, correctness, and maintainability while preserving its intended behavior. Prefer small, verifiable changes over broad rewrites. Clean code is code that is easy to understand and change safely—not code that mechanically follows every rule or uses the fewest lines. Use this skill when the user asks to refactor code, clean up a project, improve readability or maintainability, remove code smells, simplify logic, or conduct a clean-code review.