reverse

Reverse engineer software systems into SDD specifications across Logic, Data, and Runtime dimensions.

70|13|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/AsiaOstrich/universal-dev-standards --skill reverse-asiaostrich
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reverse
Source: https://github.com/AsiaOstrich/universal-dev-standards/tree/main/.gemini/skills/reverse-engineer
Command: npx skills add https://github.com/AsiaOstrich/universal-dev-standards --skill reverse-asiaostrich

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you understand and document existing, often undocumented, codebases by reverse engineering their logic, data structures, and runtime environment.

Core Features & Use Cases

  • Logic Analysis: Extract APIs, flows, and specifications from code.
  • Data Modeling: Reverse engineer database schemas and ORM models.
  • Runtime Baselining: Analyze configurations, dependencies, and deployment topology.
  • Use Case: You inherit a legacy system with no documentation. Use /reverse to generate a comprehensive specification, including data models and API definitions, enabling faster onboarding and maintenance.

Quick Start

Run /reverse in the project root to perform a full 3-dimension analysis.

Frequently Asked Questions about reverse

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reverse engineer a legacy codebase to extract specifications?

To reverse engineer a legacy codebase, run `/reverse` in the project root to extract logic, data, and runtime specifications. This generates SDD specifications by analyzing APIs, database schemas, ORM models, and runtime configurations.

What is code archaeology and when do I need it?

Code archaeology is the process of excavating undocumented software systems to generate comprehensive specifications. You need it when inheriting legacy systems lacking documentation, enabling faster onboarding and maintenance through extracted logic, data models, and runtime baselines.

Can I extract data models from existing database schemas and ORM migrations?

Yes, you can extract data models by scanning database schemas, ORM models, and migrations. The analysis reverse engineers these data structures to generate comprehensive data model specifications as part of the system documentation.

How do I generate API definitions and module flows from existing source code?

Generating API definitions and module flows requires analyzing existing source code logic. The analysis extracts APIs, modules, and flows to produce logic specifications, with strict anti-hallucination rules ensuring all outputs include source attribution.

Does this work for runtime analysis of infrastructure configurations and logs?

Yes, runtime analysis works by inspecting runtime configurations, logs, and infrastructure to establish a runtime baseline. This dimension examines deployment topology, dependencies, and environment setups to document the system's operational state.

What's the best way to document an inherited system with no existing documentation?

The best way to document an undocumented inherited system is performing a full 3-dimension analysis covering logic, data, and runtime. This produces comprehensive SDD specifications including API definitions, data models, and runtime baselines for onboarding.