/rgblox:init [new|adopt] [game name]from RGblox
Scaffolds a new Roblox game folder for RGblox or adopts an existing Rojo project, Script Sync folder, or Studio-only place. Writes the game's CLAUDE.md. Use when starting or setting up a Roblox project.
Ships in RGblox. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Goal: a folder that RGblox can diff, push, pull and verify, with Rojo-compatible files (so Rojo stays an option)
and a CLAUDE.md that tells future sessions how to work on this game.
Templates live in ${CLAUDE_PLUGIN_ROOT}/skills/init/templates/. Read them; do not invent other layouts.
rgblox.json, default.project.json or other *.project.json,
src/, rokit.toml/aftman.toml, .git.rgblox_status. It tells you whether Studio is reachable and which place is open.| Situation | Case |
|---|---|
| Empty or nearly empty folder, new game | New |
default.project.json exists (Rojo project) | Adopt Rojo: keep it as is |
| Studio's Script Sync already writes into this folder | Adopt Script Sync |
| The game exists only in Studio (scripts made there) | Adopt from Studio |
If rgblox.json already exists, stop: the folder is set up. Suggest rgblox:doctor instead.
Never delete or overwrite an existing file without asking; list conflicts and ask.
Copy these templates, replacing {{GAME_NAME}}:
rgblox.json, default.project.json, stylua.toml, selene.toml, .luaurc, rokit.toml,
gitignore.txt -> .gitignore (append if one exists), src/server/Main.server.luau, src/client/Main.client.luau,
src/shared/Greeting.luau, tests/greeting.spec.luau, tests/playtest/smoke.json.
The project file also maps two optional folders for the builders: src/gui to StarterGui (gui_build) and
src/workspace to Workspace.Map (model_build, world_build). They need not exist yet; once a builder writes into
them, /rgblox:push carries the result to Studio. No Rojo is needed for any of this.
default.project.json. Write rgblox.json from the template but set
"mode": "rojo" if the user keeps rojo serve for syncing, or "native" if RGblox should push instead
(then they must stop rojo serve: two writers fight). Ask which. Add missing selene.toml, stylua.toml,
.luaurc only if absent.rgblox.json with "mode": "script-sync" and scriptSync.roots listing each synced
folder as { "instance": "ServerScriptService.Server", "path": "<folder on disk>" }. RGblox will verify and diff
these scripts but never write them (Studio's Script Sync owns them). Scripts with attributes or tags are ignored by
Script Sync; mention it if the user relies on them.default.project.adopt.json (services mapped straight to folders, emitLegacyScripts: true
so existing LocalScripts and legacy Scripts keep their class). Create src/server, src/shared, src/client,
src/character. Then tell the user to run /rgblox:pull to bring the scripts in (pull is dry-run first), then
/rgblox:push once: it only marks the instances as RGblox-managed ("adopt"), it does not rewrite them.StarterGui and Workspace.Map entries from default.project.json (with the user's agreement). The
builders' replies name the Studio path (studio_path) or say how to map a file (not_mapped).Fill CLAUDE.md.template: {{GAME_NAME}}, {{MODE}}, {{EMIT_LEGACY}}, and {{LAYOUT_ROWS}} with one table row
per mapped folder (from project_inspect). If a CLAUDE.md exists, append an "RGblox" section instead of replacing.
project_validate: must report no errors.project_inspect: show the user the mapped tree (short).rokit install for the toolchain if rgblox:doctor reports tools missing (do not run installers yourself
unless asked).studio_diff and show the counts. Do not push; the user runs /rgblox:push.Report what was created, in a short list, plus the next command to run.
templates/CLAUDE.md.template (opens in a new tab)templates/default.project.adopt.json (opens in a new tab)templates/default.project.json (opens in a new tab)templates/gitignore.txt (opens in a new tab)templates/rgblox.json (opens in a new tab)templates/rokit.toml (opens in a new tab)templates/selene.toml (opens in a new tab)templates/src/client/Main.client.luau (opens in a new tab)templates/src/server/Main.server.luau (opens in a new tab)templates/src/shared/Greeting.luau (opens in a new tab)templates/stylua.toml (opens in a new tab)templates/tests/greeting.spec.luau (opens in a new tab)templates/tests/playtest/smoke.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
22 skills in this plugin
/animationAuthor character animations with `anim_build`, an engine-style animation toolset for Roblox. It offers 22 procedural R15/R6 clips (idle, walk, run, jump, fall, land, climb, punch, 3-hit combo, sword slash, slap, throw, grab, carry, block, hit react, knockdown, wave, cheer, dance, pet hop/float) in smooth, snappy or weighty timing, and 6 packs (locomotion, brawler, sword-fighter, steal-and-slap, emotes, pet). It also covers custom keyframe clips with markers, upper-body layering, an AnimGraph state machine with a speed blend space and marker-driven VFX, IK (foot planting, head look-at, hand reach), and a 13-rule Anim QA. Use when the user wants character animations, attack or combo clips, walk/run cycles, emotes, an animation state machine, animation markers, or IK. Not for particle/beam effects (`rgblox:vfx`), static 3D models (`rgblox:modeling-3d`), Roblox's paid AI `generate_animation` (`rgblox:assets`), or uploading/publishing animations, which the owner does by hand in Studio./architectureStructure a Roblox game in an RGblox folder - server authority, remote design and validation, module boundaries, folder-to-DataModel mapping, DataStore persistence patterns, and where state lives. Use when designing a new system or feature, splitting modules, adding networking or saving player data. Not for line-level Luau style (rgblox:luau-core) or performance tuning (rgblox:perf)./assetsBring assets into a Roblox game safely - Creator Store search and insert (licensing, backdoor checks), AI generation tools (generate_mesh, generate_material, generate_texture, generate_avatar, generate_animation, generate_procedural_model), and image uploads, with their cost and permanence. Use when the user wants models, meshes, materials, textures, animations, avatars or images. Not for code-only work, UI layout (rgblox:ui), hand-authored keyframe clips (rgblox:animation) or particle effects (rgblox:vfx)./doctorDiagnose an RGblox setup end to end - Node version, Roblox Studio MCP connection and open places, Studio tool-list drift, Roblox's plugin, the Luau toolchain (StyLua, selene, luau-lsp, Lune, Rokit, Rojo), type definitions and the game folder. Use when the user asks to check the setup, when an RGblox or Studio tool fails to connect, or before a first push. Not for running code checks on the game (use rgblox:verify) or fixing game bugs./luau-coreWrite strict, typed, current Roblox Luau for an RGblox game folder, following the API-currency protocol - check Studio's skill/http_get tools or the Roblox docs before relying on any engine API from memory. Use whenever writing or changing .luau code in a Roblox project. Not for game architecture decisions (rgblox:architecture), UI layout (rgblox:ui) or non-Roblox Lua (Neovim, LOVE, plain Lua 5.x)./modeling-3dDesign and build production-grade 3D models, props, buildings, vehicles, weapons, and trending Roblox genre kits using RGblox's `model_build` engine (19 primitives incl. wedge/pillar/tree/fence/light_fixture/catenary/boulder/dome/frame_trim/prop_cluster/hinge_door, 8 genre templates, 8 style palettes, mirror/radial/repeat, PBR SurfaceAppearance, Decal/Texture/Particles/Fire, ModelStreamingMode, 12-rule Future-lighting spatial QA, `.model.json` or `--!strict` Luau output) or Studio's AI/CSG tools. Use when creating, editing, scaling, or QA-checking 3D objects or structures. Not for 2D ScreenGui layouts (`rgblox:ui`), full multi-zone world layouts (`rgblox:world-lighting`), Creator Store moderation/licensing rules (`rgblox:assets`), or character animation and gameplay VFX (`rgblox:animation`, `rgblox:vfx`).npx claudepluginhub ridthewann/rgblox --plugin rgbloxOther plugins' skills for the same job