What problem does it solve? Legacy codebases accumulate hidden technical debt, dead code, and risky hotspots that teams cannot quantify. This Skill performs a full codebase health assessment so you know exactly which modules are critical before starting any refactoring or rescue effort. ## Core Features & Use Cases - Module Health Scoring: Scores every module 0-100 across six dimensions (complexity, test coverage, documentation, dependencies, code smells, maintenance) and assigns a risk tier from healthy to critical. - Git Archaeology: Identifies hotspot files, stale files untouched for over a year, dead code candidates, commit velocity trends, and bus factor from git history and GitHub API metrics. - Prioritized Rescue Plan: Generates a RESCUE-REPORT.md with a Mermaid dependency graph, language distribution chart, and a ranked surgery queue so refactoring effort targets the highest-impact modules first. - Use Case: When inheriting an unfamiliar legacy project, run the autopsy to get a quantified health report with confidence levels before deciding what to refactor. ## Quick Start Ask the agent to run a full codebase health assessment on this project and generate a rescue report with module scores and a prioritized refactoring queue.