/overextended-skills:deslopfrom overextended-skills
Removes AI-generated slop from FiveM resource code (Lua, TypeScript, JavaScript) without changing behavior. Cleans up comments, debugging, nesting, unused imports, and style inconsistencies.
Ships in overextended-skills. 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.
Find the code changed on this branch and remove the AI-generated slop introduced in it. Behaviour stays the same: this is a cleanup, not a refactor.
git merge-base HEAD origin/HEAD, else main or master), plus uncommitted changes.Only touch lines the diff introduced. The code around them sets the style; it isn't the target.
Judge each candidate against the file and the rest of its resource: what is slop in one resource is house style in another.
Everywhere
-- loop through players), restate a function name, or don't match how the file comments.print or console.log, commented-out code.return flattens.Lua
pcall wrappers and nil checks around values that can't be nil on a trusted path: an export of a resource the manifest declares as a dependency, a value the same function just set.true or false (if isOpen == true then) when the file doesn't write them.local. Before making one local, search the whole resource for other uses: every Lua file of a resource shares one global scope per side, so another file may read it.Citizen.CreateThread / Citizen.Wait mixed with CreateThread / Wait in one file. They are the same functions: match the file.contains loop beside code that uses lib.table.contains, a RequestModel / HasModelLoaded wait loop where the resource uses lib.requestModel elsewhere. Swap only when the ox_lib function does the same thing; read its source for differences (timeouts, return values, errors) first.TypeScript / JavaScript
any, as unknown as, and @ts-ignore / @ts-expect-error used only to silence a type error.try / catch around trusted calls that only logs and carries on.Agents pack code: several statements on a line, guard after guard with no blank line between, a condition wrapped across lines to stay in one if. Judge layout against the file on the default branch or files the branch didn't touch, never against the branch's own code: when the branch wrote most of a file, its layout is the slop.
return or return false. A guard that returns a table or does more goes across lines.if wrapped across lines.Before:
if type(data) ~= 'table' or type(data.slot) ~= 'number' or type(data.count) ~= 'number'
or data.count < 1 then return false end
local player = GetPlayer(source)
if not player or not player.shop then return false end
local item = player.shop.items[data.slot]
if not item then return false end
if item.license and not HasLicense(player, item.license) then return false, { type = 'error', description = 'missing_license' } end
After:
if type(data) ~= 'table' then return false end
if type(data.slot) ~= 'number' or type(data.count) ~= 'number' or data.count < 1 then
return false
end
local player = GetPlayer(source)
if not player or not player.shop then return false end
local item = player.shop.items[data.slot]
if not item then return false end
if item.license and not HasLicense(player, item.license) then
return false, { type = 'error', description = 'missing_license' }
end
Server code that receives anything from a client is not a trusted path. Keep every check on:
RegisterNetEvent, AddEventHandler on a net event) and of server-side lib.callback.register callbacks;source: the player exists, owns the item, is near the target, has the job or group;IsPlayerAceAllowed, framework job or group checks).A generic cleanup reads these as defensive noise, and they are what stops exploits. If one really looks redundant, leave it and mention it in the summary. Splitting a check into its own guard or onto its own line is fine: every check stays.
Also keep checks on data from the database, from NUI callbacks (RegisterNUICallback), and guards around optional resources (GetResourceState(name) == 'started').
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub overextended/skills --plugin overextended-skills21 skills in this plugin
/architectSketch types, signatures and module structure before writing code, from several candidate designs on different models, then implement against the chosen sketch. Use when the user asks to architect or design something, or when a skill such as figure-it-out calls for it./arenaRun several candidates at the same task on different models, pick the strongest as the base, and graft the best parts of the others into it. Use when the user asks to arena something, or when a skill such as architect calls for it./figure-it-outDesign and run a bespoke, auditable workflow for a task no narrower skill fits, such as a large migration, an ambitious multi-part change, or work the user reviews after stepping away. Scales rigor to the task, runs a hypothesis loop, and logs decisions. Use when the user asks you to figure it out, or for a large task no other workflow covers.2 plugins ship this exact skill · first indexed Oct 16, 2026
Other plugins' skills for the same job