←Leaderboard/Code Quality/cyclomatic-complexity-skill
Last commit on August 26, 2026·Created on August 26, 2026

saurabhkumar8112/cyclomatic-complexity-skill

“Simplify branching logic and reduce code complexity.”
Combined rank
#679
across all skills
In Code Quality
#15
category rank
Stars
410
+0.2% in last 7d
Forks
9
0.0% in last 7d
Watchers
0
0 watchers in last 7d
Traction scoreGitHub stars can be faked, so popularity alone can be misleading. Traction Score looks for broader signs of recent attention, adoption, and active maintenance.
TL;DR

Measures branching complexity before choosing where to refactor. It respects the project’s own thresholds and rejects clever one-liners that lower a score without making the code easier to maintain.

WHO IT'S FOR
Technical leads / architects
enforce maintainability standards across codebases
Backend / infrastructure engineers
simplify deeply nested logic and branching
QA / test automation engineers
validate AI-generated code before merging
Platform / DevEx teams
integrate complexity thresholds into linter configs
Repository contents

1 skill files

Compatible AgentsThe repository documents support for these agents. The skills may also work with other agents that can load SKILL.md files, but they may need some setup or small changes.

Use this skill

Follow the documented setup, then try a first task.

I’m using

Install from the Claude Code plugin marketplace

Installs: The cyclomatic-complexity plugin from the cyclomatic-complexity-skill marketplace · Claude Code

  1. Enter this complete command sequence in a Claude Code session. The first command adds the author's marketplace; the second installs its cyclomatic-complexity plugin.

    /plugin marketplace add saurabhkumar8112/cyclomatic-complexity-skill
    /plugin install cyclomatic-complexity@cyclomatic-complexity-skill
.claude-plugin/marketplace.json ↗ · Checked Nov 26, 2026README.md ↗ · Checked Nov 26, 2026skills/cyclomatic-complexity/SKILL.md ↗ · Checked Nov 26, 2026

Give it something to do.

Suggested first task

Refactor a complex source file

Uses cyclomatic-complexity

  • Path to the source file to analyze and refactor (`parser.py` is the author's sample placeholder)
  • Existing project linter configuration, if any
  • Existing test suite, if available, for before-and-after behavior verification
Use the cyclomatic-complexity skill to refactor parser.py
README.md ↗ · Checked Nov 26, 2026skills/cyclomatic-complexity/SKILL.md ↗ · Checked Nov 26, 2026