refactor-complexity
CommunityAutomate refactoring of high-complexity code.
AuthorTrevorPLam
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Refactors and decomposes overly complex functions into simpler, more maintainable units to improve readability, testability, and long-term maintainability.
Core Features & Use Cases
- Automated identification of high-complexity functions via static analysis and code smells.
- Refactoring strategies including extract-function, early-returns, and strategy pattern to reduce cyclomatic complexity.
- Workflow support for planning, scaffolding tests, and creating clear refactor tasks across apps/packages.
Quick Start
Run the refactor workflow to extract complex functions into smaller units and update tests.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: refactor-complexity Download link: https://github.com/TrevorPLam/agency/archive/main.zip#refactor-complexity Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.