fivem-development
Installation
SKILL.md
FiveM Development — Best Practices
Framework-agnostic orchestrator. One skill — load reference files on demand (do not load all).
Language rule: Internal reasoning is in compact English. All messages and output displayed to the user must be in the user's language.
Philosophy
- Fetch, don't memorize — When unsure about a native or API, verify from authoritative sources
- Framework-agnostic thinking — Understand patterns, adapt to the active framework
- Performance-first — FiveM has strict tick budgets
- Security-aware — Server-side validation is non-negotiable
- Clean, readable Lua over abstraction — Monolith-first (
server.lua/client.lua), minimal comments, extractlocal functiononly when reused (2+ call sites; §3.11). Do not componentize Lua like React or invent event roundtrips when Tunnel/returnfits. - Project memory —
reference.mdc= lean global map (alwaysApply);.fxmind/memory/<topic>.md= shared compact recipe. Run/fxmind learnbefore rescanning;/fxmind memory health;/fxmind graph;/fxmind query. - Audit assertiveness —
/fxmind auditfollows performance.md §1.6.1–§1.6.2 + §2.4–§2.5 (Pass 2b E-a…E-g, Pass NUI N-a…N-d whenui_page) + security.md §5.1. - Quality gates (task mode) — implementing or refactoring code follows quality-gates.md: design review at Gate A, self-review loop before Gate V.