Cyclomatic Complexity Refactoring Scout

•
7
•

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.

主要功能

01Zero External Dependencies (Standard Library Only)
027 GitHub stars
03Evaluates McCabe Cyclomatic Complexity & Cognitive Nesting Depth
04100% Deterministic AST Code Parsing
05Token Efficiency Optimization for LLMs
06Native Model Context Protocol (MCP) Integration

使用案例

01Identifying refactoring hotspots and decomposition plans
02Automating codebase refactoring with AI agents
03Performing architectural dependency auditing