Code Simplification
Simplifies complex source code to improve readability and maintainability without altering existing functionality or behavior.
Simplifies complex source code to improve readability and maintainability without altering existing functionality or behavior.
This skill empowers AI agents to perform production-grade refactoring by reducing structural complexity and improving code clarity while strictly preserving existing behavior. It guides the agent through identifying technical debt—such as deep nesting, long functions, and redundant logic—and applying incremental improvements based on the Chesterton’s Fence principle. Ideal for cleaning up code after a feature is completed or during code reviews, it ensures that source code remains consistent with project conventions and is easily understandable for human developers.
