ashexplained/roblox-skills

roblox-ui-implementation

Implement Roblox UI in Studio.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/ashexplained/roblox-skills --skill roblox-ui-implementation

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

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 say Status: 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

  1. Locate UI scripts and GUI instances with script_search, script_grep, and search_game_tree.
  2. Read scripts with script_read and inspect GUI instances with inspect_instance.
  3. Use multi_edit for code changes or execute_luau for targeted GUI construction.
  4. Use start_stop_play, user_mouse_input, user_keyboard_input, and screen_capture to verify.
  5. 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.

来自同一仓库

更多 Skills

全部 Skills
ashexplained
社区

roblox-playtest-qa

Playtest Roblox experiences through Studio MCP with attention to first-session fun, mobile UX, console errors, progression, social hooks, performance, and exploit-sensitive flows.

1小时安装量
4
GitHub Stars
63
最近更新
7月1日
ashexplained
社区

roblox-animation-audio-feedback

Improve Roblox feel through animation, audio, VFX, haptics-like feedback, reward juice, movement feel, combat feedback, UI transitions, emotes, and satisfying loop feedback without hurting mobile performance.

1小时安装量
3
GitHub Stars
63
最近更新
7月1日
ashexplained
社区

roblox-combat-systems

Design, implement, and review Roblox combat systems. Use for melee, ranged, abilities, cooldowns, hit detection, damage validation, status effects, enemy AI hooks, combat UI, balance knobs, VFX/SFX, and exploit-resistant remotes.

1小时安装量
3
GitHub Stars
63
最近更新
7月1日
ashexplained
社区

roblox-creator-store-security-audit

Audit Roblox Creator Store, Toolbox, inventory, group, universe, package, model, UI, gameplay, plugin-like, and other third-party imported assets for malicious or risky scripts. Use whenever Claude imports, inserts, reviews, or trusts Creator Store assets, especially assets with Scripts, LocalScripts, ModuleScripts, hidden descendants, require calls, HTTP, DataStore, remote creation, obfuscated code, or suspicious names.

1小时安装量
3
GitHub Stars
63
最近更新
7月1日