This skill should be used when the user asks to "refactor this file", "clean up this code", "extract this function", "break this function apart", "pull this out into a method", "simplify this switch", "turn this into a table", "inline this", "replace magic number", or mentions a specific refactoring by name. Applies one named, surgical refactoring from the textbook catalog (Extract Method, Table-Driven, Replace Conditional with Polymorphism, etc.) and shows exactly what changed.
$npx -y skills add dinoquinten/claude-plugins --skill refactorInstalls into the current project.
Run `npx skills use "https://github.com/dinoquinten/claude-plugins" --skill "dinoquinten/claude-plugins/refactor"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/dinoquinten/claude-plugins" that are relevant to the current task. Run `npx skills add "https://github.com/dinoquinten/claude-plugins"` and select the relevant skills, then follow their instructions.