What problem does it solve? Reverse-engineering a legacy codebase requires deep, module-by-module analysis that is tedious and error-prone when done manually. This Skill automates the excavation phase of a reverse engineering workflow, extracting algorithms, control flows, data structures, and a data dictionary from legacy code into structured documentation. ## Core Features & Use Cases - Module-by-module code analysis: Extracts functions, control flow, non-trivial algorithms, validation logic, and business rules from each module defined in the analysis plan. - Structured documentation output: Generates code-analysis.md, data-dictionary.md, Mermaid flowcharts, and a structured modules.json file, with output depth controlled by a configurable doc_level (essencial, completo, detalhado). - Checkpointed sessions: Saves progress per module in .reversa/state.json and offers preventive pauses after intensive analysis so work can resume in a fresh session without quality loss. - Use Case: During a legacy system modernization project, run this Skill after the scouting phase to produce a complete technical analysis of each module, including entity fields, business rules with file/line references, and confidence-rated findings. ## Quick Start Ask the agent to run the reversa-archaeologist excavation phase to analyze each module in .reversa/plan.md and generate the code analysis, data dictionary, and flowcharts.