OFFICIAL CURRICULUM v2.0 // FIVEM ENHANCED (DX12) · 50 MIT SCRIPTS

Master script engineering from scratch for COE Framework

The complete educational platform for human developers and AI Coding Agents. Learn Clean Architecture, Core.Platform HAL, the 50 MIT Framework Scripts (Core, City Base & Advanced Yield), and exact AI Prompt Playbooks.

50 MIT Scripts (9+15+26)
20 5-Step Practical Lessons
8 Official AI Agent Skills
0.00ms Strict Idle Budget
YOUR ACADEMY PROGRESS 0 / 20
Status: 0% Completed
Runtime: cerulean (Gen9 · DX12)
Framework Coverage: 50 / 50 MIT Resources
Documentation: 100% Synced (docs/)
Beginner's Onboarding Guide (101) Claim Official Architect Certificate
STRUCTURED CURRICULUM // 11 TRACKS & 20 LESSONS

Progressive Engineering Tracks

Each lesson is structured in 5 pedagogical stages: Real Problem & Context, Layered Architecture, Code Deep Dive, AI Prompt Playbook, and Interactive Evaluation Quiz.

TRACK 07 // I18N 1 Lesson

Native Localization (Core.Locale)

Zero hardcoded strings in code. 100% parity between pt-BR and en-US with safe interpolation.

INTERACTIVE ECOSYSTEM LAB // ALL 50 MIT RESOURCES

Practical Guide & Lab for All 50 Framework Scripts

Click any of the 50 public MIT modules below to inspect its architectural role, typed exports (types.lua), Yield/Extension Ports, Lua 5.4 integration snippet, and a ready-to-copy AI Agent Prompt.

50 / 50
AI-ASSISTED ENGINEERING // PROMPT PLAYBOOK & SKILLS

How to Build & Extend COE Scripts with AI Agents

Using Antigravity, Cursor, Claude Code, Windsurf, or GitHub Copilot? Learn how to configure the 5 Rules and 8 Official Skills of COE, avoid legacy hallucinations, and use our tested Prompt Playbook.

✕ VAGUE / FRAGILE PROMPT (WHAT NOT TO ASK) LEGACY HALLUCINATION RISK
"Create a script where the player presses E at a marker to sell gold for $1000 and save to MySQL."

// Why this fails in FiveM Enhanced:
// 1. AI writes a permanent while true do Wait(0) loop (destroys DX12 frame budget).
// 2. AI trusts client-sent price TriggerServerEvent("sell", 1000) -> instant money exploit.
// 3. AI calls oxmysql instead of coe_database and skips ValidateSession.
✓ STRUCTURED COE ENGINEERING PROMPT (5 PILLARS) SERVER-AUTHORITATIVE · 0.00ms
"Use the coe-novo-resource and coe-evento-rede skills to create coe_gold_exchange in experimental/ with Clean Architecture (domain, adapters, application). Register the interaction zone via exports.coetarget:AddBoxZone (0.00ms idle). On the server, validate distance via Core.Platform, enforce an atomic mutex, check Core.Players.ValidateSession(source, charId, gen), remove the item via exports.coe_inventory, pay server-side price via exports.coe_economy, log in coe_audit, and run check_contracts.lua --strict."

1. The 8 Official COE Agent Skills (.agents/skills/)

Study Track 10 (AI Engineering) →
coe-novo-resource
Create New Resource (Clean Architecture)

Scaffolds the full domain/, adapters/, application/, locales/, types.lua, and unit test structure.

coe-evento-rede
Hardened Network Event (Client -> Server)

Implements secure flow with ValidateSession, rate limit, atomic mutex, distance check, and rollback.

coe-interface-nui
NUI Interface & Apps (coe_ui Design System)

Builds panels, HUDs, and tablet/phone apps with 5 themes, zero emojis (100% SVG), and TOCTOU mitigation.

coe-migracao-db
SQL Migration & Persistence (coe_database)

Creates MariaDB tables via CoeMigrations and parameterized (?) queries or ACID transactions.

coe-export-contrato
Typed Exports & Extension Ports

Exposes ACE-guarded public functions with LuaLS contracts in types.lua and generated reference.

coe-teste-unitario
Offline Unit Tests (Pure Lua 5.4)

Tests domain rules, handlers, and Core.Platform mocks in milliseconds outside FXServer.

coe-servidor-dev
Local Server & Promotion ([coe-dev])

Manages the experimental/ -> dev/ -> coe-framework/ lifecycle and in-game testing via coe.ps1.

coe-validar-ci
Strict Audit & Local CI Pipeline

Runs check_contracts --strict, HAL/locale audits, smoke boot, and check_boundary.

2. Ready-to-Copy Prompt Playbook by Use Case

Open Full Prompt Playbook Lesson →