#672672nd of 706 in Skills, plugins and prompts
cyclomatic-complexity-skill
Claude skill that refactors code to lower cyclomatic complexity
- Stars
- 410
- License
- Apache-2.0
- Last commit
- Aug 2026
2 on 24 Aug 2026410 on 23 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
A skill for Claude that measures cyclomatic complexity per function, then refactors the worst hotspots first using guard clauses, extract function, lookup tables and named predicates. It uses radon, eslint, gocyclo or lizard, falls back to a manual count, and respects linter thresholds already configured in the project. Each refactor ends with a before/after complexity table.
Who it is for: Claude Code users cleaning up AI-generated, heavily branching code
Strengths
- Uses existing tools (radon, eslint, gocyclo, lizard) and honors project linter thresholds
- Targets the highest-complexity functions first rather than rewriting whole files
- Reports a before/after complexity table for each refactor
- Installs via Claude Code marketplace, Claude.ai upload or Skills API
Weaknesses
- Only runs inside Claude; no standalone CLI or CI integration
- No tagged release; the .skill download is referenced but none is published
- Behavior preservation depends on the project's existing tests
- Manual count fallback is less reliable than a real analyzer
What it needs
- no GPU
- Needs radon, eslint, gocyclo, lizard
- Models: Claude
Also in Skills, plugins and prompts
See all 706| Rank | Project | Score |
|---|---|---|
| #670 | fablizeClaude Code plugin that gates task completion on verification and evidence | 31 out of 100 |
| #671 | econ-writing-skillAgent Skill that guides AI assistants in drafting and revising economics papers | 31 out of 100 |
| #673 | claude-code-proxyProxy that lets the Claude Code CLI use OpenAI-compatible APIs | 30 out of 100 |
| #674 | verilog-generatorAgent skill for writing and reviewing Verilog-2001 RTL with specs and waveforms | 30 out of 100 |
| #675 | devops-security-agent-skills160+ DevOps and security skill files for Claude Code, Cursor and Codex | 29 out of 100 |