Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)

sandeco/reversa

Developer Tools

Reverse-engineer legacy codebases into traceable specs that AI coding agents can safely follow.

This repo is an agent skill pack · 78 skillsSkill list and install →
2,210
527
JavaScript
MIT
7 months old

What it does

Reversa is a specification reverse-engineering framework for legacy projects. Installed into a codebase, it coordinates a set of specialised AI agents that read the existing code and produce specifications with code traceability, meant to serve as operating contracts for coding agents rather than human-facing docs.

The core Discovery pipeline (/reversa) runs in five stages — Reconnaissance, Excavation, Interpretation, Generation and Review — handled by Scout, Archaeologist, Detective, Architect and Writer agents. Optional agents cover databases, UI screenshots, design tokens, executive summaries, documentation sites, bug tracking and refactoring. Every generated statement carries a confidence mark: green for confirmed from code, yellow for inferred, red for a gap requiring human validation.

It targets teams maintaining undocumented systems, and also supports greenfield work (/reversa-new) and migrations (/reversa-migrate).

Install and first run

Requirements: Node.js 18+ and a compatible AI engine in the environment (Claude Code, Codex, Cursor, Gemini CLI, Windsurf, Cline, Copilot and others). Run from the root of the legacy project:

npx reversa install

The installer detects installed engines, asks which agent teams to add, and creates .reversa/, agent skill folders and an engine entry file (CLAUDE.md, AGENTS.md, etc.). It writes only new files and, per the README, never modifies existing project files.

Then open the project in the agent and activate the pipeline:

/reversa

Engines without slash commands use reversa. The analysis pauses between agents and waits for CONTINUAR; progress is saved in .reversa/state.json, so typing the command again resumes an interrupted session. Generated artifacts land in _reversa_sdd/ (specs, diagrams, data dictionary, traceability matrices) and related folders. Other entry points include /reversa-autonomous, /reversa-forward, /reversa-docs and /reversa-debugger. Check the English documentation for full command details.

Constraints

  • The agent performs the intelligence; Reversa does not request, store or transmit LLM API keys, and quality depends on the engine you use.
  • The README asks users to commit the project to Git and keep a local or remote backup before analysis, since agents can make mistakes even under the write restrictions.
  • The non-destructive rule applies to the Discovery pipeline and related teams: writes are confined to .reversa/ and output folders. /reversa-forward-autonomous is an explicit exception — its coding phase edits project code, only where .reversa/reversa-config.json allows, and may run builds, tests and installs named in actions.md.
  • The optional Front-end Team bundles Impeccable, authored by Paul Bakaus and licensed under Apache 2.0; the first /impeccable init downloads its engine binary to ~/.impeccable/bin.
  • Reversa is MIT-licensed. The framework has a paper, Reversa: A Reverse Documentation Engineering Framework…, for deeper background.

HotRepo's take

On the Javascript weekly chart dated 2026-12-04, Reversa ranked 7th with 2,209 stars, adding 158 stars that week — a signal that the "legacy code to agent-ready spec" niche is drawing attention. The repository ships 78 skill files across many agent teams, so the entry cost is not just npx reversa install: users need to pick teams deliberately, and the autonomous forward workflow touches real project code, which warrants the backup and Git-safety steps the README insists on.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

You might also like

  1. mattpocock/skillsA set of composable agent skills for planning, spec-writing, TDD, debugging and codebase design with coding agents.Shell336,588
  2. cursor/pluginsA plugin marketplace and spec for giving Cursor's coding agent reusable skills and third-party service integrations.TypeScript19,670
  3. google-labs-code/design.mdA Markdown-plus-YAML spec and linter that gives coding agents a structured, persistent design system to build UIs from.TypeScript28,958
  4. addyosmani/agent-skillsA set of Markdown workflow skills that make AI coding agents follow spec, test, review and ship discipline.JavaScript116,771