refactor-method-complexity-reduce
Reduces method cognitive complexity by extracting logic into helper methods with mandatory test verification.
Install
npx skills add https://github.com/github/awesome-copilot --skill refactor-method-complexity-reduceStats
| Total installs | 7,588 |
| Weekly installs | 7.6K |
| GitHub stars | 27.4K |
| First seen | Feb 25, 2026 |
| Source | @github/awesome-copilot |
Summary
- Analyzes nested conditionals, loops, and complex boolean expressions to identify refactoring opportunities
- Extracts validation logic, type-specific processing, and repeated code blocks into focused helper methods
- Simplifies the main method flow while preserving all original functionality and error handling
- Includes mandatory test verification to confirm zero test failures and cognitive complexity at or below the target threshold
Tags
Related skills
| Skill | Installs | vs refactor-method-complexity-reduce |
|---|---|---|
| java-refactoring-extract-method | 7,542 | -46 |
| quasi-coder | 7,473 | -115 |
| technology-stack-blueprint-generator | 7,483 | -105 |
| terraform-azurerm-set-diff-analyzer | 7,542 | -46 |
| java-refactoring-remove-parameter | 7,459 | -129 |
FAQ
- How many installs does refactor-method-complexity-reduce have?
- refactor-method-complexity-reduce has 7,588 total installs and 7.6K installs this week.
- Where is refactor-method-complexity-reduce hosted?
- refactor-method-complexity-reduce is published by @github/awesome-copilot at https://github.com/github/awesome-copilot.
- How many GitHub stars does refactor-method-complexity-reduce have?
- refactor-method-complexity-reduce has 27.4K GitHub stars.
- When was refactor-method-complexity-reduce first indexed?
- OrangeBot.AI first indexed refactor-method-complexity-reduce on Feb 25, 2026.
- How do I install refactor-method-complexity-reduce?
- Run: npx skills add https://github.com/github/awesome-copilot --skill refactor-method-complexity-reduce