totvs/engpro-advpl-tlpp-skills/refactor-method-complexity-reduce
Refactor given method `${input:methodName}` to reduce its cognitive complexity to `${input:complexityThreshold}` or below, by extracting helper methods. Use when user says 'reduce complexity', 'simplify method', 'cognitive complexity too high'.
Agent skill · version 1.0.1 · from totvs/engpro-advpl-tlpp-skills
Install
npx yarkr-cli add skill:totvs/engpro-advpl-tlpp-skills/refactor-method-complexity-reduceWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:totvs/engpro-advpl-tlpp-skills/refactor-method-complexity-reduce
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:totvs/engpro-advpl-tlpp-skills/refactor-method-complexity-reduceOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:totvs/engpro-advpl-tlpp-skills/refactor-method-complexity-reduceWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.