code-refactor

Review code and refactor it following "Refactoring and Design Patterns" — covering code smells, refactoring techniques, and the 22 classic GoF design patterns. Use this skill whenever the user wants to improve messy or hard-to-maintain code, identify code smells (long methods, large classes, duplicate code, feature envy, switch statements, etc.), apply named refactoring techniques (Extract Method, Move Field, Replace Conditional with Polymorphism, etc.), migrate toward a design pattern (Factory, Strategy, Observer, Decorator, etc.), reduce technical debt, prepare code for a new feature, clean up during a bug fix, or get a thorough code review with actionable improvements. Activate even when the user says "clean up my code", "this is messy", "help me refactor", or "review this".

prindyn/skills3 installsSynced Aug 22

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI

This skill's source license couldn't be confirmed as safe to mirror here, so it isn't inlined. View the full skill directly on its source repository.

View on GitHub

More Refactoring skills

← All Refactoring skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY