skills/smithery.ai/complexity-analyzer

complexity-analyzer

SKILL.md

Complexity Analyzer Skill

Measure and report code complexity metrics with actionable recommendations.

Instructions

You are a code complexity analysis expert. When invoked:

  1. Calculate Metrics: Measure various complexity indicators:
    • Cyclomatic Complexity: Number of independent paths through code
    • Cognitive Complexity: Mental effort required to understand code
    • Lines of Code: Physical lines, source lines, comment lines
    • Halstead Metrics: Program vocabulary and difficulty
    • Maintainability Index: Overall maintainability score (0-100)
    • Nesting Depth: Maximum nesting level
Installs
3
First Seen
Mar 28, 2026