roblox-ui
यह क्या करती है
यह स्किल Roblox में HUD, इन्वेंटरी और शॉप जैसी साफ़ और प्रतिक्रियाशील इंटरफ़ेस स्क्रीन बनाने की व्याख्या करती है। यह उन डेवलपर्स के लिए है जिन्हें ऐसे मेन्यू चाहिए जो फ़ोन, कंसोल और कंप्यूटर पर चलें।
कब इस्तेमाल करें
- ✓जब आप Roblox Studio में HUD, इन्वेंटरी, शॉप या सेटिंग स्क्रीन बना रहे हों।
- ✓जब आपका इंटरफ़ेस फ़ोन पर या अलग विंडो आकारों पर ठीक न दिखे।
- ✓जब मेन्यू को Roblox में गेमपैड फ़ोकस या टच कंट्रोल के साथ काम करना हो।
Skill का लिंक
https://github.com/gamedev-skills/awesome-gamedev-agent-skills/blob/main/skills/other-engines/roblox-ui/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरी Roblox शॉप की विंडो फ़ोन पर कट जाती है, क्या आप इसे हर स्क्रीन आकार में फ़िट कर सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह स्क्रीन इंटरफ़ेस सेट करना, स्केल होने वाले लेआउट इस्तेमाल करना, रीस्पॉन के बाद इंटरफ़ेस का जीवनचक्र संभालना, और एक से ज़्यादा स्क्रीन आकार पर नतीजा जाँचना समझाती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Roblox UI
Implement deliberate, editable Roblox UI that preserves the experience's visual language and
works across supported devices. Targets Roblox's rolling platform APIs. Pair with game-ui-ux
for engine-neutral information architecture and UX; this skill owns Roblox Instances and APIs.
When to use
- Use for authored
ScreenGuiinterfaces, Roblox layout/constraint APIs, UI lifecycle, input, focus, animation, performance, or responsive/device fixes. - Use to replace brittle pixel layouts, runtime-created Instance tangles, mouse-only menus, or generic generated styling with a maintainable hierarchy.
When not to use: general UX flow and accessibility principles belong to game-ui-ux; raw
gameplay action mapping belongs to input-systems; server trust belongs to roblox-networking.
Workflow
- Inspect before designing. In Explorer, inventory existing
ScreenGuis, UI modules, fonts, colors, icon family, spacing, corners, strokes, animation timing, naming, and reusable components, including anyStyleSheet/StyleLinkstyling, tokens and themes. Capture representative screenshots at two viewports. Extend that language. - Define ownership and lifecycle.
StarterGuiis the authored template; Roblox clones it into each player'sPlayerGui. Decide whether eachScreenGuishould persist across respawn withResetOnSpawn = false; never keep stale references to a destroyed clone. - Author a readable hierarchy. Prefer meaningful editable Instances and small behavior modules. A normal screen should be understandable in Explorer; procedural generation is for genuinely data-driven repetition, not the whole shell.
- Build responsive structure. Combine
UDim2scale for placement with bounded offsets, correctAnchorPoints, layouts, padding, content sizing, and constraints. Choose explicit narrow/wide arrangements instead of shrinking a desktop panel until it technically fits. - Handle platform obstructions. Keep interactive UI in
CoreUISafeInsets(the recommendedScreenGui.ScreenInsetsdefault), and account for touch controls and TV distance/overscan. - Wire state and input. Render from a small view state; update on events. Use
ActivatedforGuiButtons, explicit selected states, and reachable gamepad navigation. Bind non-widget actions withContextActionServiceonly while the screen owns them. - Polish with restraint. Implement hover, pressed, selected, and disabled states. Animate
state changes, not decoration; honor
GuiService.ReducedMotionEnabledand clean up tweens and connections when the screen closes or is replaced. - Verify the real interface. Use Device Simulator and Controller Emulator. Test desktop, narrow portrait, mobile landscape, tablet-like, and console/gamepad; then respawn. Record clipping, overlap, text, scroll, safe-area, focus path, touch target, and lifecycle results.
Production structure
StarterGui
└── InventoryGui (ScreenGui; ResetOnSpawn = false)
├── Root (Frame)
│ ├── Header
│ ├── Content
│ │ ├── CategoryList
│ │ ├── ItemGrid (ScrollingFrame)
│ │ └── DetailsPanel
│ └── Footer
└── InventoryController (LocalScript)
ReplicatedStorage
└── UI
├── Components
└── Theme
Names describe roles, not colors or temporary positions. Keep repeated item cells as templates or components, but keep the authored shell visible in Explorer.
Patterns
Layout that survives content and viewport changes
-- Authored properties on ItemGrid (ScrollingFrame):
-- AutomaticCanvasSize = Enum.AutomaticSize.Y
-- CanvasSize = UDim2.fromOffset(0, 0)
-- Children: UIPadding + UIGridLayout
local grid = itemGrid.UIGridLayout
local projectBreakpoint = 700 -- derive from where this composition stops being usable
local function applyComposition()
local narrow = root.AbsoluteSize.X < projectBreakpoint
categoryList.UIListLayout.FillDirection = if narrow
then Enum.FillDirection.Horizontal
else Enum.FillDirection.Vertical
categoryList.Size = if narrow
then UDim2.new(1, 0, 0, 40)
else UDim2.new(0, 148, 1, 0)
itemGrid.Position = if narrow then UDim2.fromOffset(0, 52) else UDim2.fromOffset(164, 0)
itemGrid.Size = if narrow
then UDim2.new(1, 0, 1, -52)
else UDim2.new(0.58, -164, 1, 0)
detailsPanel.Visible = not narrow -- open details as a separate narrow-screen
अक्सर पूछे जाने वाले सवाल
मेरा इंटरफ़ेस रीस्पॉन के बाद क्यों रीसेट हो जाता है?
स्किल समझाती है कि हर स्क्रीन की एक सेटिंग होती है, जो तय करती है कि खिलाड़ी के फिर से स्पॉन होने पर वह रीसेट हो या नहीं।
क्या यह सामान्य UX डिज़ाइन कवर करती है?
पूरी तरह नहीं। सामान्य इंटरफ़ेस डिज़ाइन सिद्धांत एक अलग UX स्किल में कवर हैं।
क्या यह गेमप्ले इनपुट कवर करती है?
सिर्फ़ आंशिक रूप से। गेमप्ले इनपुट मैपिंग एक अलग इनपुट स्किल में कवर है।
जानकारी
लेखक का मूल विवरण
Build production Roblox interfaces with ScreenGui/PlayerGui lifecycle, responsive UDim2 layouts, safe insets, reusable editable Instances, cross-device input and selection, restrained motion, cleanup, and multi-viewport verification. Use for Roblox HUDs, inventories, shops, settings, ability bars, ScrollingFrames, AutomaticSize, GuiService, gamepad focus, touch UI, or UI that clips, resets on respawn, looks generic, or was generated as one giant LocalScript.
लोकप्रियता
- GitHub स्टार
- 6.6k
- रैंकिंग में स्थान
- #13843
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 28/10/2026
कमेंट
- …
इस repository की और skills
router
6.6kयह आपके एजेंट को इंजन और काम के प्रकार को पहचानकर किसी अनुरोध के लिए सही गेम डेवलपमेंट स्किल चुनने में मदद करती है।
ai-behavior-trees-utility-ai
6.6kयह आपके एजेंट को दुश्मनों और किरदारों के लिए बिहेवियर ट्री और यूटिलिटी AI सिस्टम बनाने में मदद करती है, जो प्राथमिकता और स्कोर से कार्रवाई चुनें।
audio-design
6.6kआपके एजेंट को गेम ऑडियो मिक्सिंग सिखाती है: बस, डेसिबल में वॉल्यूम, डायलॉग में म्यूज़िक धीमा करना और साउंड इफ़ेक्ट की विविधता।
camera-systems
6.6kयह आपके एजेंट को ऐसे गेम कैमरा बनाने में मदद करती है जो सहजता से पीछा करें, लेवल के भीतर रहें, और 3D में घूम या देख सकें।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।