Claude skill: refactor code to reduce cyclomatic complexity
# Add to your Claude Code skills
git clone https://github.com/saurabhkumar8112/cyclomatic-complexity-skillGuides for using ai agents skills like cyclomatic-complexity-skill.
cyclomatic-complexity-skill is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by saurabhkumar8112. Claude skill: refactor code to reduce cyclomatic complexity. It has 410 GitHub stars.
cyclomatic-complexity-skill's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/saurabhkumar8112/cyclomatic-complexity-skill" and add it to your Claude Code skills directory (see the Installation section above).
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh cyclomatic-complexity-skill against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
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