home/categories/framework-internals/github-awesome-copilot-skills-refactor-method-complexity-reduce-skill-md
framework-internalsdevelopment

refactor-method-complexity-reduce

Refactor given method `${input:methodName}` to reduce its cognitive complexity to `${input:complexityThreshold}` or below, by extracting helper methods.

github
maintainer
github
Updated 2/24/2026
Stars
29277
Forks
3455
quick start

Installation and usage

Refactor given method `${input:methodName}` to reduce its cognitive complexity to `${input:complexityThreshold}` or below, by extracting helper methods.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use refactor-method-complexity-reduce