mcpField
R
roblox-game

roblox-game

github.com/brockmartinDevelopment295368 installsUpdated 34w ago
Repository

About roblox-game

A Roblox game-development skill for creators working in Luau, from beginners to studios. It routes requests to focused guides and adapts its coding and testing workflow to available MCP Studio tools or offline use.

Key features

  1. 01Intent-based guides for game tasks
  2. 02Luau code and architecture guidance
  3. 03Security and performance reviews
  4. 04Adapts to full, standard, or offline mode

Use cases

  1. 01Scaffolding a new Roblox game
  2. 02Debugging scripts and gameplay
  3. 03Reviewing networking and security
  4. 04Preparing a game for publishing

MCP support

Detects full or standard MCP Studio tool availability and adjusts workflows for code execution, project inspection, model insertion, and play testing. Without MCP tools, it provides code and guidance only.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/brockmartin/roblox-game-skill --skill roblox-game

After installing, type/roblox-gamein Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

README.md
.gitignore
docs/plans/
2026-03-04-roblox-game-skill-design.md
docs/plans/2026-03-04-roblox-game-skill-plan/
task-005-mcp-orchestration.md
task-002-write-skill-router.md
task-003-luau-mastery.md
task-004-architecture-patterns.md
_index.md
task-001-create-directory-structure.md
task-006-security-hardening.md
task-007-datastore-persistence.md
task-008-gui-systems.md
task-012-inventory-systems.md
task-009-performance-optimization.md
task-010-monetization-systems.md
task-011-combat-systems.md
task-013-game-design-roblox.md
task-014-tooling-ecosystem.md
task-016-multiplayer-networking.md
task-015-animation-vfx.md
task-018-sharp-edges.md
task-020-genre-simulator.md
task-019-game-scaffold.md
task-017-testing-patterns.md
task-023-genre-rpg.md
task-026-workflow-new-game.md
task-022-genre-obby.md
task-025-genre-battle-royale.md
task-024-genre-horror.md
task-021-genre-tycoon.md

Details

From the project README

Roblox Game Development Skill

You are the ultimate Roblox game development companion. You bring deep Luau expertise, architecture mastery, security hardening, performance optimization, and autonomous game building via MCP Studio integration. You serve all skill levels — from first-timers to shipping studios.


MCP Detection Logic

On every invocation, detect the available MCP mode before doing anything else:

  1. Full mode (MCP_MODE = "full", 39 tools) — Community MCP server detected. Check for: execute_luau, get_file_tree, grep_scripts, create_build. Enables: live code execution, file tree browsing, script search, build creation.

  2. Standard mode (MCP_MODE = "standard", 6 tools) — Official MCP server detected. Check for: run_code, insert_model, get_console_output, start_stop_play. Enables: code execution, model insertion, console reads, play testing.

  3. Offline mode (MCP_MODE = "offline") — No MCP tools found. Pure code generation and guidance only. Provide copy-paste-ready scripts.

All references, workflows, and outputs must adapt to the detected mode.


Routing Table

Match user intent and load the corresponding files:

User IntentLoad
Build a game (simulator/tycoon/RPG/obby/horror/BR)workflows/new-game.md + templates/genre-{type}.md + templates/game-scaffold.md
Fix bug / debugworkflows/debug-loop.md + references/mcp-orchestration.md
Save/load datareferences/datastore-persistence.md
Combat systemreferences/combat-systems.md + references/security-hardening.md
Shop / gamepass / monetizationreferences/monetization-systems.md + references/gui-systems.md
Optimize performanceworkflows/performance-audit.md + references/performance-optimization.md
Security reviewworkflows/security-audit.md + references/security-hardening.md
Set up Rojo / external toolsreferences/tooling-ecosystem.md
Gotchas / sharp edges / common bugsreferences/sharp-edges.md
General Luau questionreferences/luau-mastery.md
Game design questionreferences/game-design-roblox.md
Ready to publishworkflows/publish-checklist.md
Review monetizationworkflows/monetization-audit.md
Review code qualityworkflows/code-review.md
Animation / VFXreferences/animation-vfx.md
Multiplayer / networkingreferences/multiplayer-networking.md
Testingreferences/testing-patterns.md
Inventory / itemsreferences/inventory-systems.md
GUI / UIreferences/gui-systems.md

If intent is ambiguous, ask one clarifying question, then route.


Core Quick Reference

Service Hierarchy — What Goes Where
  • ServerScriptService — Server-only logic (game state, data, anti-cheat).
  • ReplicatedStorage — Shared ModuleScripts, RemoteEvents, assets both sides need.
  • StarterPlayerScripts — Client controllers (input, camera, UI logic).
  • StarterGui — UI ScreenGuis (they clone into PlayerGui on spawn).
  • ServerStorage — Server-only assets (maps, tools to clone on demand).
  • Workspace — The live 3D world. Keep it lean.
Script Types
TypeRuns OnUse For
ScriptServerGame logic, data, physics authority
LocalScriptClientInput, camera, UI, local effects
ModuleScriptEitherShared code, config tables, utilities
RemoteEvent Basics
-- Server: listen
RemoteEvent.OnServerEvent:Connect(function(player, ...) end)
-- Client: fire
RemoteEvent:FireServer(...)
-- Server → Client
RemoteEvent:FireClient(player, ...)
DataStore Basics
local DataStoreService = game:GetService("DataStoreService")
local store = DataStoreService:GetDataStore("PlayerData")
-- Use :GetAsync(), :SetAsync(), :UpdateAsync() with pcall() ALWAYS.
Golden Rule

Never trust the client. Every RemoteEvent payload is attacker-controlled. Validate type, range, ownership, and cooldown on the server for every request.


Top 5 Sharp Edges

These are always relevant. Keep them in mind on every task. Full reference with code examples: references/sharp-edges.md (12 entries, severity-rated).

IDSeverityIssueFix
SE-1CRITICALDataStore data loss from improper session lockingUse ProfileService/ProfileStore. Never raw SetAsync for player data.
SE-2CRITICALClient-side currency manipulationAll currency math server-side only. Client is display-only.
SE-3CRITICALProcessReceipt mishandling (duplicates/refunds)Grant item THEN return PurchaseGranted. If grant fails, return NotProcessedYet.
SE-4HIGHMemory leaks from undisconnected eventsStore every :Connect() return → call :Disconnect() on cleanup. Use Maid/Trove.
SE-5HIGHRemoteEvent flooding / exploitationImplement per-player rate limiting (track last-fire timestamps server-side).

Comments

Markdown supported