This repository is organized for AI retrieval first:
- one topic per file
- small files with predictable paths
- consistent YAML front matter
- separate docs, datasets, and rules
docs/contains explanation pages and implementation guidanceai/contains operating rules for coding agentsdatasets/contains structured source inventories and reference recordstemplates/contains reusable page and resource templates
- All you have to do is just add this link to your project's context
https://forzayt.github.io/RedM-Knowledge-Base- Start with
docs/getting-started/overview.md - Read
ai/optimization-rules.mdandai/do-not-do.md - Use
datasets/sources.jsonfor source discovery and filtering - Drill into framework, native, and tooling pages as needed
- predictable filenames for indexing
- shallow folder depth where possible
- machine-readable metadata on every page
- documentation and reference data kept separate
- Lua: official reference manual and Programming in Lua
- Cfx: resource manifests and RedM scripting docs
- Frameworks: VORP, RSG, RedEM, and Native Scripts ns-lib
- Natives: alloc8or, femga, nativewrappers, VORP RDR3 natives
- Tooling: OpenIV, Lenny's Mod Loader, and CodeWalker
If you want this expanded, the next high-value pass is to add:
- per-native pages under
docs/natives/ - per-framework subpages under
docs/frameworks/ - JSON datasets for peds, horses, weapons, items, prompts, blips, and hashes