code-refactor
Installation
SKILL.md
Code Refactor
Overview
Perform systematic code refactoring operations across files using pattern-based search and replace. This skill focuses on bulk transformations that maintain code functionality while improving structure, naming, or updating APIs.
When to Use This Skill
Activate this skill when users request:
- Rename variables/functions: "Rename
getUserDatatofetchUserDataeverywhere" - Replace deprecated patterns: "Replace all
vardeclarations withletorconst" - Update API calls: "Update all calls to the old authentication API"
- Refactor patterns: "Convert all callbacks to async/await"
- Standardize code: "Make all import statements use absolute paths"