The Code Complexity Analyzer skill empowers developers and AI agents to perform deep static analysis of source code, providing objective metrics such as cyclomatic and cognitive complexity. By identifying code smells, duplicate logic, and architectural hotspots, it helps teams prioritize refactoring efforts and prevent technical debt from accumulating. This skill is essential for system design reviews and performance optimization, transforming subjective code quality assessments into actionable data points.
主な機能
01Detects high-risk 'hotspots' within the codebase
021,203 GitHub stars
03Calculates cyclomatic and cognitive complexity metrics
04Generates technical debt scores and maintainability indices
05Supports configurable thresholds for automated quality gating
06Identifies code smells and duplicate logic patterns
ユースケース
01Performing deep-dive performance optimizations by identifying nested logic bottlenecks
02Prioritizing refactoring tasks in legacy codebases based on debt scores
03Automated architectural reviews to prevent complexity creep during development