What problem does it solve? Codebases accumulate disorder over time, making it hard to know which files need refactoring first. This Skill quantifies technical debt by measuring cyclomatic complexity, coupling, duplication, and file size, then ranks files by an entropy score so teams know exactly where to focus cleanup efforts. ## Core Features & Use Cases - Complexity Measurement: Evaluates cyclomatic complexity with defined thresholds (1-5 simple, 16+ requires immediate refactoring) using tools like gocyclo. - Hotspot Detection: Combines git change frequency with complexity scores to identify the riskiest files in the repository. - Prioritized Remediation: Calculates a priority score (change frequency × complexity × coupling) and classifies issues into P1, P2, and P3 tiers with a structured Markdown report. - Use Case: Before a sprint planning meeting, run an entropy scan on a Go service to produce a table of the top 5 hotspot files with recommended actions, giving the team a data-driven refactoring backlog. ## Quick Start Ask the agent to run an entropy scan on this repository and report the top hotspot files with refactoring priorities.