reverse-engineer

Analyze codebases to generate documentation files with path-aware content.

3|3|Updated Nov 16, 2025
One-click install
npx skills add https://github.com/jschulte/claude-plugins --skill reverse-engineer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reverse-engineer
Source: https://github.com/jschulte/claude-plugins/tree/main/stackshift/skills/reverse-engineer
Command: npx skills add https://github.com/jschulte/claude-plugins --skill reverse-engineer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Understanding complex or undocumented codebases is a major hurdle for developers. This skill automates deep codebase analysis to generate 8 comprehensive documentation files, adapting its output based on whether you need business logic only (Greenfield) or full technical details (Brownfield).

Core Features & Use Cases

  • Path-Aware Documentation: Generate documentation tailored for Greenfield (business logic only) or Brownfield (business logic + technical implementation) scenarios.
  • 8 Comprehensive Docs: Produce detailed files covering functional specifications, data architecture, operations, technical debt, and more.
  • Deep Codebase Analysis: Systematically analyze backend, frontend, infrastructure, and testing aspects to extract all relevant information.
  • Use Case: You need to migrate an old application to a new tech stack (Greenfield) or bring an existing project under spec-driven development (Brownfield). Use this skill to automatically generate a complete set of documentation, providing a clear foundation for your project without manual code digging.

Quick Start

Reverse engineer the codebase, focusing on extracting business logic for a new implementation.

Frequently Asked Questions about reverse-engineer

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

FAQPage Schema
How do I generate documentation for an undocumented codebase?

Reverse-engineer your codebase to automatically generate 9 comprehensive documentation files. The Skill analyzes backend, frontend, infrastructure, and testing components, then outputs detailed specs covering functional requirements, data architecture, operations, and technical debt without manual code digging.

What's the difference between Greenfield and Brownfield documentation?

Greenfield documentation extracts business logic only in a framework-agnostic manner, ideal for migrating to new tech stacks. Brownfield includes business logic plus technical implementation details, suited for bringing existing projects under spec-driven development.

Can I use this to document a legacy application before migration?

Yes. The Skill generates complete documentation sets for legacy codebases by systematically analyzing all components. Choose Greenfield mode to capture business logic independently of current implementation, providing a clear foundation for your migration project.

What output files does the reverse-engineer process produce?

The Skill delivers 9 comprehensive documentation files covering functional specifications, data architecture, operations, technical debt, and more. All outputs are path-aware and written to your configured location, adapting content based on Greenfield or Brownfield scope.

Do I need to understand the codebase structure before using this Skill?

No. The Skill performs deep systematic analysis across backend, frontend, infrastructure, and testing aspects. It automatically extracts relevant information and generates documentation without requiring prior knowledge of the codebase structure.

What happens if my codebase uses multiple frameworks or languages?

Greenfield mode generates framework-agnostic documentation by focusing on business logic, making it suitable for mixed-tech codebases. The Skill analyzes all components regardless of framework or language and adapts output accordingly.

Related Skills