npx claudepluginhub saurabhkumar8112/cyclomatic-complexity-skillRefactor code to reduce cyclomatic complexity. Measures per-function complexity, refactors hotspots worst-first, reports before/after numbers. Keeps AI-generated code maintainable for humans.
A Claude skill that refactors code to reduce cyclomatic complexity. Built for AI-generated code: it works, but branches like a jungle. This skill makes Claude measure complexity, refactor hotspots, and keep code maintainable for humans and the long-term vision of the codebase.
/plugin marketplace add saurabhkumar8112/cyclomatic-complexity-skill
/plugin install cyclomatic-complexity@cyclomatic-complexity-skill
Download the .skill file from Releases (or zip the skills/cyclomatic-complexity folder) and upload it under Settings → Capabilities → Skills.
Upload via the Skills API.
Triggers automatically on refactoring, cleanup, and code review requests. Or invoke directly:
"Use the cyclomatic complexity skill to refactor parser.py"
## Complexity report
| Function | Before | After |
|----------|--------|-------|
| parseOrder | 14 | 4 |
Extracted: validateHeader, resolveDiscount
Behavior verified: existing test suite passes
Apache 2.0
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.