/fivem-skill:resource-best-practicesfrom fivem-skill
Guides FiveM resource development with best practices for entity spawning, network control, cleanup, loops, state bags, and SQL queries. Useful when writing or reviewing client/server scripts to prevent duplication, hitches, or network floods.
Ships in fivem-skill. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The defaults every FiveM resource follows, on any framework. The examples use ox_lib. Where a rule needs a framework hook, such as a logout event or a vehicle spawner, use the framework's own. This skill doesn't cover security or NUI. Keep every server-side check as it is.
Read each file whose condition the code meets.
| Read | When the code |
|---|---|
| ENTITIES.md | Creates, deletes or takes control of an entity, passes entity or network ids, attaches props, plays sounds, ragdolls a ped, or calls a native on an entity it may not own |
| LIFECYCLE.md | Creates something that needs cleanup (entities, blips, cameras, timers, per-player state), or registers handlers, commands or zones |
| EVENTS.md | Loops, triggers or handles events or callbacks, yields inside a server handler, or uses state bags |
| DATA.md | Queries the database, adds config or convars, or logs |
Done when every line you wrote follows every rule in the files you read.
file:line, the rule, when it fails, and the fix. A failure names a moment, such as "after a restart", "with 100 players" or "when the player drops mid-purchase". Report only violations whose failure you can name.Done when every hunk has been checked against every matching file.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub seba3567/fivem-skill --plugin fivem-skill7 skills in this plugin
/deslopRemove AI-generated slop from FiveM resource code (Lua, TypeScript, JavaScript) without changing behaviour. Use when the user asks to deslop, clean up or tidy code an agent wrote, or after finishing a change to a resource and before it is committed./fivem-developmentBuilds, reviews, debugs, optimizes and secures FiveM (Cfx.re / GTA V) resources and whole servers — CfxLua 5.4, JS/TS and C#, fxmanifest.lua, natives, events and callbacks, OneSync and state bags, NUI, oxmysql and databases, ox_lib/ox_inventory/ox_target/ox_core, Qbox, QBCore, ESX, ND, vRP/Creative and custom frameworks, server.cfg, convars, txAdmin, console log analysis, GTA V Enhanced, vehicles, MLO/streaming, RP systems, anticheat and audits (backdoors, exploits, dupes, endpoint coverage). Use when the user mentions FiveM, FXServer, Cfx, CitizenFX, GTA RP/roleplay servers, a framework or ox resource above, a resource with fxmanifest.lua, server console errors, or asks to create, convert, optimize, scale, debug or audit a FiveM script or server, in any language./lua-best-practicesLua best practices for FiveM resources built on ox_lib, the way Overextended structures its own resources. Use when reading or editing any .lua file or fxmanifest.lua, or when the user asks when to use require, lib.load or lib.loadJson, how to split a resource into modules, where config goes, or how to use cache, lib.onCache, lib.points, lib.callback or locales./setup-oxConfigure the Overextended skills. Picks which model and reasoning level each subagent role uses within a budget you choose, then detects your FiveM server, its ox resources and framework. Writes `~/.config/ox/models.md` and `.ox/config.md`, which the other ox skills read./tddMake a bug in a TypeScript resource executable before fixing it, with a regression test that fails before the fix and passes after. Use only when the user asks for TDD, a failing test, or a regression test, or when the resource already has a test runner and the bug has an obvious cheap test target. Skip it when the test path is unclear, expensive or integration-heavy./typescript-best-practicesTypeScript best practices for FiveM resources and their NUI. Use when reading or editing any .ts or .tsx file or a .svelte file with <script lang="ts">, or when the user asks how to type net events, callbacks, exports, NUI messages or state bags.2 plugins ship this exact skill · first indexed Oct 19, 2026
Other plugins' skills for the same job