quality-complexity-check

Community

Identify complex code, simplify refactoring.

Authormvillmow
Version1.0.0
Installs0

System Documentation

What problem does it solve? This Skill automatically analyzes code complexity metrics like cyclomatic complexity and nesting depth, helping developers pinpoint areas that are hard to understand, test, or maintain, and guiding refactoring efforts. It automates code analysis, reducing manual review time.

Core Features & Use Cases:

  • Complexity Metrics: Provides cyclomatic complexity, nesting depth, and function length reports to highlight problematic code.
  • Refactoring Guidance: Identifies functions and modules that exceed complexity thresholds, suggesting candidates for simplification.
  • Use Case: During a code review, use this skill to generate a complexity report. If a function has a cyclomatic complexity of 25, you know it's a prime candidate for refactoring into simpler, more manageable units, improving maintainability.

Quick Start: Use the quality-complexity-check skill to analyze the complexity of the Python code in the current directory.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: quality-complexity-check
Download link: https://github.com/mvillmow/ml-odyssey/archive/main.zip#quality-complexity-check

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository