Home / Skills / cyclomatic-complexity

cyclomatic-complexity

saurabhkumar8112/cyclomatic-complexity-skillSkill

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.

ScannedSkillSource: GitHub
405 stars Updated 2mo ago License Apache-2.0 Context ≈130 tokens always loaded
67popular

Why this score

Stars18/35
Usage (forks)4/15
Upkeep20/25
License15/15
Owner history10/10

Popularity score: 67/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

Security

Scanned Oct 20, 2026 at commit 567886f48506, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Nothing from another maker does quite the same job yet.