reverse-document

Generate design docs, ADRs, or concept papers from source files.

14|1|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/Euraika-Labs/Codex-Code-Game-Studios --skill reverse-document-euraika-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reverse-document
Source: https://github.com/Euraika-Labs/Codex-Code-Game-Studios/tree/main/.agents/skills/reverse-document
Command: npx skills add https://github.com/Euraika-Labs/Codex-Code-Game-Studios --skill reverse-document-euraika-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Teams often build features without accompanying design or architecture documentation, leading to knowledge gaps and maintenance challenges. This Skill automates the creation of those documents by analyzing existing code, prototypes, or systems.

Core Features & Use Cases

  • Code & Prototype Analysis: Scans source files, directories, or prototype assets to extract mechanics, patterns, and technical decisions.
  • Clarifying Interaction: Generates targeted questions to resolve ambiguous intent before drafting.
  • Template‑Driven Drafting: Produces design documents, ADRs, or concept papers using predefined markdown templates.
  • Collaborative Workflow: Presents findings, seeks approval, writes the final document with metadata, and recommends next steps.
  • Use Cases: Documenting newly implemented gameplay systems, capturing architectural decisions for core engines, formalizing prototype concepts for design reviews.

Quick Start

Run $reverse-document design src/gameplay/combat to generate a combat system design document.

Frequently Asked Questions about reverse-document

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

FAQPage Schema
How do I generate design docs from existing source code?

To generate design docs from existing source code, apply the Skill to codebases, prototype directories, or core system files. It parses mechanics, patterns, and intent, then uses templates to produce markdown documents with metadata.

Can I automatically create architecture documentation for a game prototype?

Yes, you can automatically create architecture documentation for a game prototype by scanning prototype assets and gameplay directories. The Skill extracts technical decisions and formalizes concepts into design documents or ADRs.

What is the best way to write an ADR for an undocumented core engine?

The best way to write an ADR for an undocumented core engine is to use template-driven drafting after parsing the system files. The Skill analyzes the implementation to capture architectural decisions and outputs structured markdown.

Does this approach work for clarifying ambiguous intent in prototype concepts?

Yes, this approach works for clarifying ambiguous intent in prototype concepts by generating targeted questions before drafting. It resolves missing design specifications by seeking approval on findings before writing the final document.

How to document gameplay mechanics from a codebase without manual writing?

To document gameplay mechanics from a codebase without manual writing, run the Skill on the specific gameplay directory. It extracts mechanics and patterns directly from the source files and outputs a formal markdown design document.