A method with too many nested conditions and loops is hard to understand. This skill helps you clean it up by breaking it into smaller helper methods. You tell it the method name and a complexity target. It will refactor the code for you.
The skill finds the most complex parts of your method. It extracts validation logic, repeated patterns, and type-specific processing into separate helpers. Each helper has one clear job. The main method becomes a simple high level flow.
After refactoring, the skill runs your tests to make sure nothing is broken. It checks that the complexity is truly reduced. The result is cleaner code that is easier to read, test, and maintain.
Global
mkdir -p ~/.claude/skills/refactor-method-complexity-reduceProject
mkdir -p .claude/skills/refactor-method-complexity-reduceSource Repository
Improve Codebase Architecturemattpocock/skills
Scan your codebase for architecture improvements with visual reports and pick one to refactor
Web Design Guidelinesvercel-labs/agent-skills
Review your UI code for compliance with web interface guidelines
Caveman Reviewjuliusbrussee/caveman
Ultra-compressed one-line code review comments that cut noise
Zoom Outmattpocock/skills
Get a big picture view of your code with a simple map of modules and callers
Codebase Designmattpocock/skills
Create deep modules with tiny interfaces and lots of hidden logic for testability
Requesting Code Reviewobra/superpowers
Catch code issues early with focused automated reviews before every merge
Request Refactor Planmattpocock/skills
Plan safe code refactors with tiny commits and clear GitHub issues
Receiving Code Reviewobra/superpowers
Think first, then code. Verify feedback before making changes. Stay objective