refactor
Installation
SKILL.md
Large-Scale Refactoring
Perform codebase-wide refactors using AST-aware tools for accuracy and safety. This skill emphasizes scripted approaches over individual file edits and integrates with the gameplan workflow for complex changes.
When to Use
- Renaming symbols (functions, types, variables) across multiple files
- Pattern replacements (e.g., updating API calls, changing import paths)
- Function signature changes that affect many call sites
- Migrating from one API/pattern to another
- Removing deprecated code paths
- Consistent style/naming transformations
Complexity Assessment
Before starting, assess the refactor complexity: