Refactor given method `${input:methodName}` to reduce its cognitive complexity to `${input:complexityThreshold}` or below, by extracting helper methods.
安装
npx skills add github/awesome-copilot --skill refactor-method-complexity-reducenpx skills add github/awesome-copilot --skill refactor-method-complexity-reduce -a claude-code -gnpx skills add github/awesome-copilot --skill refactor-method-complexity-reduce -a codex -ggemini skills install https://github.com/github/awesome-copilot.git --path skills/refactor-method-complexity-reducegh skill install github/awesome-copilot refactor-method-complexity-reducegit clone --depth 1 https://github.com/github/awesome-copilot /tmp/github__awesome-copilot
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/github__awesome-copilot/skills/refactor-method-complexity-reduce ~/.claude/skills/refactor-method-complexity-reduce # Claude Code
cp -R /tmp/github__awesome-copilot/skills/refactor-method-complexity-reduce ~/.agents/skills/refactor-method-complexity-reduce # Codex, Cursor, Gemini CLI, Copilot, OpenCode