Skill / SKILL.md

Cyclomatic Complexity

saurabhkumar8112/cyclomatic-complexity-skill

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.
3 views 410 repository stars 0 commentsUpdated Nov 28, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/saurabhkumar8112/cyclomatic-complexity-skill' skill-source

Use the complete skill-source/skills/cyclomatic-complexity directory with your client’s skill installer.

  • skills/cyclomatic-complexity

    master · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/cyclomatic-complexity

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
07c59a28798bb67bb983aeae3c93af212f03fdbda89976ed4e84a1a952bb9151
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills