Registry / saurabhkumar8112

saurabhkumar8112/cyclomatic-complexity-skill/cyclomatic-complexity

Refactor code to reduce cyclomatic complexity so it stays readable, maintainable, and aligned with the long-term vision of the codebase, not just optimized for AI comprehension. Use whenever the user asks to refactor, simplify, clean up, or review code quality; mentions complexity, maintainability, readability, spaghetti code, deeply nested logic, or god functions; or asks to check AI-generated code before merging. Also use proactively after writing any nontrivial function with heavy branching.

Agent skill · version 0.0.0-master.1794532703.g567886f · from saurabhkumar8112/cyclomatic-complexity-skill

Install

npx yarkr-cli add skill:saurabhkumar8112/cyclomatic-complexity-skill/cyclomatic-complexity

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

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:saurabhkumar8112/cyclomatic-complexity-skill/cyclomatic-complexity
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:saurabhkumar8112/cyclomatic-complexity-skill/cyclomatic-complexity

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:saurabhkumar8112/cyclomatic-complexity-skill/cyclomatic-complexity

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