Cyclomatic Complexity Refactoring Scout
Evaluates AST McCabe cyclomatic complexity and cognitive nesting depth, identifying refactoring hotspots and decomposition plans.
This production-grade Python skill provides deterministic AST static analysis for autonomous coding agents, focusing on codebase refactoring and architectural dependency auditing. It functions as an AST McCabe cyclomatic complexity and cognitive nesting depth evaluator, effectively identifying refactoring hotspots and generating decomposition plans. Engineered with zero external dependencies, it ensures maximum portability and instantaneous cold starts, leveraging native Model Context Protocol (MCP) for seamless integration with AI agents, while optimizing LLM token usage by pruning dead code and detecting critical diffs.