reverse-document

reverse-document is a skill for Claude Code from CodePhobiia/claude-roblox-game-studio. It costs 28 tokens per session (774 once invoked), scanned A, original, MIT.

A method for creating design documents from an existing Roblox codebase. It reads the implementation to describe major systems, saved data, network messages, and the split between server and client code.

In plain words
What is it for?
Use it to document systems, data schemas, RemoteEvents and RemoteFunctions, public interfaces, and client-server responsibilities for handoff or review.
Why use it?
It helps teams understand a project when its original documentation is missing or no longer matches the code. A design document records how the game is organized and expected to work.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to document systems, data schemas, RemoteEvents and RemoteFunctions, public interfaces, and client-server responsibilities for handoff or review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/codephobiia/claude-roblox-game-studio/reverse-document
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CodePhobiia/claude-roblox-game-studio --skill reverse-document
Clone the repo
git clone --depth 1 https://github.com/CodePhobiia/claude-roblox-game-studio

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for reverse-document

README.md
[![agentmods](https://agentmods.dev/badge/skills/codephobiia/claude-roblox-game-studio/reverse-document/github.svg)](https://agentmods.dev/skills/codephobiia/claude-roblox-game-studio/reverse-document)
Your own site
<a href="https://agentmods.dev/skills/codephobiia/claude-roblox-game-studio/reverse-document"><img src="https://agentmods.dev/badge/skills/codephobiia/claude-roblox-game-studio/reverse-document/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for reverse-document

Your own site · 80×15
<a href="https://agentmods.dev/skills/codephobiia/claude-roblox-game-studio/reverse-document"><img src="https://agentmods.dev/badge/skills/codephobiia/claude-roblox-game-studio/reverse-document.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 774 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.00774
Opus 5 $0.00014 $0.00387
Sonnet 5 $0.00006 $0.00155
Haiku 4.5 $0.00003 $0.00077

Measured 9d ago against content hash ad13f08677b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

reverse-document scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/reverse-document/SKILL.md · 114 lines

How it starts

The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/reverse-document — Reverse Engineering Design Docs

Delegate to: systems-designer (with lead-programmer for code analysis)

Use When

  • Joining a project with no design documentation
  • Code has diverged from original design docs
  • Need to produce docs for handoff or publishing
  • Preparing for /design-review on an unfinished codebase

Steps

1. Scan the Codebase

Identify major systems by:

  • Top-level directories in src/
  • Module names
  • Service files
  • Obvious feature clusters
ls src/ServerScriptService/
ls src/ServerStorage/
ls src/ReplicatedStorage/

2. For Each System, Extract Info

Purpose (from code inspection)
  • Module comments (if any)
  • File names
  • Public function names
  • Type definitions
Data Schema
  • Find DataStore keys
  • Find config tables
  • Find Attribute usage
  • Find persistent state
grep -rn "DataStore\|Attribute\|ValueObject" src/
Remotes
  • Find RemoteEvents / RemoteFunctions created
  • Find FireServer / FireClient / InvokeServer / InvokeClient
  • Find OnServerEvent / OnClientEvent handlers
grep -rn "RemoteEvent\|RemoteFunction\|OnServerEvent\|OnClientEvent" src/
Client-Server Split
  • What files are in ServerScriptService vs. StarterPlayer?
  • What's shared via ReplicatedStorage?
UI
  • What ScreenGuis exist?
  • What buttons/modals/HUDs?
  • Sketch the structure
Formulas
  • Find numeric operations in gameplay code
  • Extract the math into explicit formulas
  • Flag magic numbers that should be documented

3. Draft a GDD

For each system, generate a draft GDD using the template. Mark sections as:

  • [INFERRED FROM CODE] — extracted from implementation
  • [NEEDS USER INPUT] — couldn't determine from code

4. Present for Review

Show each drafted GDD to the user:

  • Ask them to fill in sections marked [NEEDS USER INPUT]
  • Ask them to correct any [INFERRED FROM CODE] that are wrong
  • Look for discrepancies (code says X, user says Y — which is authoritative?)

Read the full file on GitHub · 114 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 114 lines · 28 tokens per session scan A ad13f08677b4

Subscribe to this mod's changes

reverse-document is a skill published in the GitHub repository CodePhobiia/claude-roblox-game-studio (9 stars, last pushed 4mo ago), licensed MIT. It adds 28 tokens to every session and 774 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

evo-dice-game-scoring

Dice game scoring optimization: parse Excel workbook with dice rolls, compute category scores per turn, optimize game scores across turns with no-repeat category constraint, and answer comparative questions about player matchups.

Zhang-Henry/CoEvoSkills · 46 tokens

cgs-reverse-document

Use for reverse document tasks that create design or technical documentation from existing implementation without inventing unverified behavior; produce verification evidence, changed or proposed files, and handoff boundaries.

merlinhu1/codex-game-studio · 41 tokens

cgs-setup-engine

Use for setup engine tasks that pin engine version, verify project markers, document conventions, and run engine smoke checks; produce verification evidence, changed or proposed files, and handoff boundaries.

merlinhu1/codex-game-studio · 43 tokens

cgs-standards-design-docs

Use for design document standards: review target files, apply Codex-native boundaries, produce violations, fixes, verification evidence, and handoff notes.

merlinhu1/codex-game-studio · 0 tokens

excel

A tool for managing Excel configuration sheets used in game development. It can query and edit spreadsheet data using SQL, a language for selecting and changing structured data.

TangentDomain/excel-mcp-server · 23 tokens

excel

A game-development tool for managing Excel configuration tables through commands. It can query, edit, search, format, and reorganize spreadsheet data, including data across files.

TangentDomain/excel-mcp-server · 38 tokens