Cyclomatic Complexity

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.

saurabhkumar8112 7d91078 3.0 KB Updated

File contents

saurabhkumar8112/cyclomatic-complexity-skill/tree/main/skills/cyclomatic-complexity commit 7d91078553

Frequently asked questions

npx skillmds@latest add saurabhkumar8112/cyclomatic-complexity