Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurfMManus+14 more

    Legacy System Archaeologist

    by J. Trejo

    2

    Reconstruct architecture and map risks in inherited legacy codebases with evidence-based auditing and migration plans.

    Free

    0 installsSecurity scanned

    See it in action

    You say

    I've inherited this messy monolith and need to know what's safe to touch. Analyze the codebase, check the billing logic, and give me a risk assessment and migration plan.

    Your agent does

    System Health: CRITICAL Risk Register:

    • /app/services/billing_engine.rb: BLACK (High fan-in: 42, Git churn: high, 0 tests)
    • /lib/legacy_utils.js: RED (Dead code candidate, but dynamic dispatch possible) Plan: Implement 5 characterization tests on billing_engine before refactoring.

    About this skill

    What it does

    The Legacy System Archaeologist is a specialized toolkit for developers who have inherited "black box" codebases. It performs deep structural analysis to reconstruct system architecture, map dependencies, and identify high-risk modules before you write a single line of code.

    Why use this skill

    Modernizing legacy systems is dangerous because the "why" and "how" are often lost to time. While a standard AI might give you generic refactoring advice, this skill uses a rigorous 6-phase protocol—Inventory, Dependency Mapping, Risk Scoring, Dead Code Analysis, Architecture Reconstruction, and Strategy Reporting—to provide evidence-based insights.

    It goes beyond simple prompting by using dedicated scripts to calculate "fan-in" (coupling), git churn (instability), and risk classifications. You get a professional-grade audit that identifies "Black Zone" files (like auth or payments) that no agent or human should touch without characterization tests.

    Supported tools

    • Languages: Multi-framework support (Rails, Laravel, Django, Node, Spring, .NET)
    • Analysis Scripts: Python-based dependency graphers and risk scorers
    • Context: Git history analysis and static code analysis

    The Result

    You receive a structured documentation suite including an Executive Summary for stakeholders, a full System Map, a file-level Risk Register, and a phased Migration Plan based on the Strangler Fig pattern.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 3 months ago

    • Free to download with an account

    Listed3 months ago

    Creator

    J. Trejo
    J. Trejo

    2 skills on Agensi

    Frequently Asked Questions

    Popular in Code Review

    Free