Registry / github

github/awesome-copilot/refactor-method-complexity-reduce

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

Agent skill · version 0.0.0-main.1793929460.g9654314 · from github/awesome-copilot

Install

npx yarkr-cli add skill:github/awesome-copilot/refactor-method-complexity-reduce

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:github/awesome-copilot/refactor-method-complexity-reduce
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:github/awesome-copilot/refactor-method-complexity-reduce

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:github/awesome-copilot/refactor-method-complexity-reduce

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.