What problem does it solve? Freshly written code often contains nested ternaries, deep nesting, unclear variable names, and redundant patterns that accumulate technical debt. This Skill analyzes recently modified files and refactors them for readability without changing behavior, so cleanup happens automatically after implementation instead of being deferred. ## Core Features & Use Cases - Automated Code Analysis: Detects deep nesting, nested ternaries, long functions, unclear names, and redundant boolean comparisons via Python analyzer scripts. - ROI-Based Gating: Optionally scores each file's simplification benefit versus regression cost (file age, import references, change surface) to skip, suggest, or auto-apply changes. - Autonomous and Interactive Modes: Integrates into post-implementation workflows with configurable auto-apply behavior, or runs interactively with per-file diff approval. - Use Case: After generating a new API endpoint, run this Skill to flatten nested conditionals into early returns and rename single-letter variables before committing, keeping the diff clean for reviewers. ## Quick Start Simplify the code I just modified in this session and show me a diff of the proposed changes before applying them.