decomp-doctrine

ktastic7

Framework of prompts, templates, and documentation for preserving LLM-assisted reverse-engineering and decompilation knowledge across models.

Created

What is ktastic7/decomp-doctrine?

Decomp Doctrine is a CC BY-SA 4.0 framework of prompts, templates, and workflow guides created to document and preserve knowledge generated during LLM-assisted game modding, reverse engineering, and decompilation. Rather than storing only final code or chat transcripts, it captures discoveries, failed hypotheses, API mappings, subsystem interactions, and test logs in portable text files.

The methodology emphasizes an archive-first replacement policy so edits do not overwrite prior context, maintains parallel human-oriented and LLM-oriented records, and separates verified findings from unconfirmed assumptions. An included master bootstrap prompt and interaction guide explain how to clarify intent with a language model before writing conclusions into the doctrine.

Using the framework requires only text files, an LLM or agent workflow, and your own legitimate target binary if reconstructing software. The repository explicitly excludes proprietary binaries, game assets, DRM keys, leaked source code, and reconstructed code, and notes that preserving methodology does not grant immunity from copyright or DMCA claims.

agentic-aiai-agentsbinary-analysisdecompilationdigital-preservationgame-moddinggame-preservationgame-preservation-reverse-engineering

Before you startThe README says

Runs on
Any platform with text files and an LLM
Needs
An LLM and your own legitimate target files for reverse engineering
Accounts or paid services
Access to an LLM provider or local model
How you get it
Clone or download templates and prompts from GitHub
Not yet
Contains no game binaries, assets, DRM keys, or reconstructed source; not DMCA-immune

Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.