roblox-ui-implementation
Skill5 starsChanged 5 months agoMITView on GitHub
Implement Roblox UI in Studio. Use for ScreenGui, HUDs, menus, mobile-safe layouts, UI state controllers, touch controls, buttons, progress bars, shop panels, reward surfaces, and verifying UI through Roblox Studio MCP.
In this repository39 other files it gives its agents.
- handoffSkill
- roblox-admin-tools-observabilitySkill
- roblox-analytics-instrumentationSkill
- roblox-animation-audio-feedbackSkill
- roblox-asset-pipelineSkill
- roblox-code-maintenance-refactorSkill
- roblox-combat-systemsSkill
- roblox-community-opsSkill
- roblox-creator-store-security-auditSkill
- roblox-datastore-persistenceSkill
- roblox-debugging-bugfixSkill
- roblox-economy-balancingSkill
- roblox-game-development-lifecycleSkill
- roblox-game-ideasSkill
- roblox-game-uxSkill
- roblox-genre-patternsSkill
- roblox-growth-marketingSkill
- roblox-liveops-roadmapSkill
- roblox-localization-accessibilitySkill
- roblox-luau-architectureSkill
- roblox-mobile-playtestSkill
- roblox-monetization-optimizationSkill
- roblox-performance-optimizationSkill
- roblox-playtest-qaSkill
- roblox-policy-complianceSkill
- roblox-publishing-discoverySkill
- roblox-quest-progression-systemsSkill
- roblox-release-operationsSkill
- roblox-retention-monetizationSkill
- roblox-security-economySkill
- roblox-social-systemsSkill
- roblox-studio-workflowSkill
- roblox-to-issuesSkill
- roblox-to-prdSkill
- roblox-triageSkill
- roblox-world-level-designSkill
- setup-roblox-skillsSkill
- write-a-skillSkill
- zoom-outSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 8 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Do not improvise UI. Before building a non-trivial surface, read its approved design brief:
- Distinctive: line 23
Keep UI construction and state updates in client-side controllers.
- Distinctive: line 24
Keep reward, purchase, inventory, and currency decisions on the server.
- Very specific: line 25
Put shared UI constants or formatting helpers in ReplicatedStorage.
- Distinctive: line 26
Use remotes to request actions, not to grant value directly.
- Very specific: line 32
Use UIScale, constraints, and anchors deliberately.
- Distinctive: line 33
Keep important buttons away from corners and system gesture zones.
- Very specific: line 34
Use large tap targets and clear pressed/disabled/loading states.
- Distinctive: line 35
Avoid text that can overflow in small buttons or compact panels.
- Distinctive: line 36
Keep core HUD visible without blocking the playfield.
- Very specific: line 49
Read scripts with script_read and inspect GUI instances with inspect_instance.
- Very specific: line 50
Use multi_edit for code changes or execute_luau for targeted GUI construction.
- Very specific: line 51
Use start_stop_play, user_mouse_input, user_keyboard_input, and screen_capture to verify.
- Distinctive: line 63
No new console errors.
- Very specific: line 67
Verify the surface with roblox-mobile-playtest and roblox-playtest-qa.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Roblox UI Implementation
Goal
Build Roblox UI that is readable, responsive, touch-friendly, and connected to real game state without trusting the client for valuable decisions.
Design Gate (read before building)
Do not improvise UI. Before building a non-trivial surface, read its approved design brief:
design/DESIGN.md— global palette, type scale, spacing, and patterns.design/features/<feature-slug>/design.md— this surface's layout, states, and mobile/tablet/desktop behavior. It must sayStatus: approved.
If the brief is missing or still draft, stop and run roblox-game-ux to produce and approve it first (or get an explicit user override). Build every state the brief specifies — default, empty, loading, error, and permission/locked — not just the happy path, and match the mobile/tablet/desktop behavior it describes.
Architecture
- Keep UI construction and state updates in client-side controllers.
- Keep reward, purchase, inventory, and currency decisions on the server.
- Put shared UI constants or formatting helpers in
ReplicatedStorage. - Use remotes to request actions, not to grant value directly.
- Separate HUD state, menu state, notification state, and input handling when the UI grows.
Layout Rules
- Design phone-first.
- Use
UIScale, constraints, and anchors deliberately. - Keep important buttons away from corners and system gesture zones.
- Use large tap targets and clear pressed/disabled/loading states.
- Avoid text that can overflow in small buttons or compact panels.
- Keep core HUD visible without blocking the playfield.
Common Surfaces
- HUD: objective, currency, health/energy, progress, next reward.
- Upgrade panel: current value, next value, cost, affordability.
- Shop: optional offers, clear benefit, no first-session pressure.
- Rewards: short celebration, visible delta, next goal.
- Settings: audio, graphics/performance, input preferences.
MCP Build Workflow
- Locate UI scripts and GUI instances with
script_search,script_grep, andsearch_game_tree. - Read scripts with
script_readand inspect GUI instances withinspect_instance. - Use
multi_editfor code changes orexecute_luaufor targeted GUI construction. - Use
start_stop_play,user_mouse_input,user_keyboard_input, andscreen_captureto verify. - Check
get_console_output.
Verification
Confirm:
- Text fits on mobile-sized screens.
- Buttons have obvious affordances and state.
- UI does not block first action.
- Valuable actions are server-validated.
- The built surface matches the approved design brief across mobile, tablet, and desktop, including empty/loading/error states.
- No new console errors.
Next
Verify the surface with roblox-mobile-playtest and roblox-playtest-qa. If the UI drove new server actions, review the trust boundary with roblox-security-economy. Return to roblox-to-issues / roblox-game-development-lifecycle for the next slice.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

