home/categories/framework-internals/comeonoliver-skillshub-skills-github-awesome-copilot-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.

ComeOnOliver
maintainer
ComeOnOliver
更新于 3/23/2026
星标
26
分支
7
quick start

Installation and usage

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

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use refactor-method-complexity-reduce