refactor-with-ai
Installation
SKILL.md
Refactor with AI
Safely refactor code with AI assistance while preserving behavior.
When to Use
- Cleaning up messy or complex code
- Extracting reusable functions/components
- Modernizing legacy patterns
- Reducing cyclomatic complexity
- Applying design patterns
- Preparing code for new features
The Safe Refactoring Process
┌─────────────────────────────────────────┐
│ 1. CHARACTERIZE - Understand current │
│ behavior with tests │
Related skills