roblox-studio-workflow
它能做什么
该技能指导智能体编辑现有的 Roblox 场地,同时不破坏其当前结构。适合在 Roblox Studio 中或基于 Rojo 的项目上工作的开发者。
适用场景
- ✓当你要修改一个已经包含对象、脚本和模块的 Roblox 场地时。
- ✓当你要为一个在 Roblox Studio 中构建的项目添加新脚本或新对象时。
- ✓当你需要在完成前,同时在服务器和客户端上测试一个 Roblox 功能时。
技能链接
https://github.com/gamedev-skills/awesome-gamedev-agent-skills/blob/main/skills/other-engines/roblox-studio-workflow/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在我的 Roblox 游戏中添加一个商店按钮,使用现有的商店代码,而不是从头开始。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能要求智能体先检查项目,找出哪些文件或对象已经负责每项功能,进行适合的最小修改,然后测试,并删除调试用的对象。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Roblox Studio workflow
Work as a collaborator inside an existing place, not as if it were a blank text repository. Targets current Roblox Studio and rolling platform APIs.
When to use
- Use before invasive edits to a Roblox place, Studio DataModel, or Rojo-backed project.
- Use to plan execution location, find/reuse systems, create editable Instances, and gather honest Studio verification evidence.
When not to use: this skill owns project operation, not the domain implementation. Compose it
with roblox-ui, roblox-networking, roblox-characters, roblox-physics, roblox-luau, or
roblox-datastores as appropriate.
Workflow
- Establish source of truth. Determine whether Studio, Rojo files, a package manager, or a generated build owns each subtree. Do not hand-edit generated output or create Studio-only changes that the next sync overwrites.
- Inventory before proposing structure. Inspect Explorer, search scripts/modules/remotes/tags, read project mapping and naming conventions, and run once to observe existing warnings. Locate the feature's current owner and dependencies.
- Plan the smallest compatible edit. Name the Instances and execution locations you will change. Reuse existing remotes, component modules, cleanup utilities, tags, Attributes, folders, and configuration patterns. State any unresolved ownership boundary.
- Create real, meaningful objects. Normal authored UI, folders, attachments, constraints, remotes, and configuration remain inspectable in Explorer. Use scripts for behavior and truly dynamic repetition—not to hide the entire feature in runtime construction.
- Respect execution and replication. Put authoritative logic in server containers, persistent
client logic in
StarterPlayerScripts, per-character client logic inStarterCharacterScripts, UI templates inStarterGui, shared assets/modules/remotes inReplicatedStorage, and secrets/server assets in server-only containers. - Test the actual risk. Choose Test, Test Here, Run, Server & Clients, Device Simulator, Controller Emulator, Network Simulator, or scripted Studio testing based on the behavior. Inspect server and client Output, not only the viewport.
- Clean the experiment. Remove temporary parts, test remotes, command-bar scripts, debug UI, prints, disabled duplicate scripts, placeholder assets, and tags/Attributes created only for diagnosis. Stop the session and confirm edit-mode hierarchy is clean.
- Report evidence precisely. List changed Instances/files, modes and client counts, cases executed, observed Output, failures and fixes, and anything not run. Never translate “looks plausible” or static inspection into “tested in Studio.”
Execution-location map
| Location | Typical role | Key constraint |
|---|---|---|
ServerScriptService |
authoritative server Scripts/modules | not replicated to clients |
ServerStorage |
server-only assets/data | clients cannot access it |
ReplicatedStorage |
shared modules/assets/remotes | visible to clients; do not store secrets |
StarterPlayerScripts |
client systems across respawns | clone into PlayerScripts |
StarterCharacterScripts |
per-character client behavior | recreated each character |
StarterGui |
authored UI templates | clones into PlayerGui; lifecycle depends on GUI policy |
Workspace |
replicated world and live characters | streaming/ownership may affect client view |
Verify actual Script RunContext and project conventions; class/location shorthand does not excuse
inspection of an existing custom setup.
Reuse before adding
Before creating a RemoteEvent, search by purpose and inspect both endpoints. Before adding a “manager” or service module, identify the current feature owner. Before introducing folders/tags, inspect naming and retrieval patterns. Duplicate systems are especially dangerous when both run: they double-bind input, save twice, create two UI clones, or apply gameplay twice.
Use Attributes for small typed designer-editable metadata that belongs on an Instance. Use
CollectionService tags for discovering sets of Instances across hierarchy. Use folders for
ownership/navigation, not as a substitute for semantic tags. Preserve established schemas and
validate missing/malformed Attributes at system boundaries.
local CollectionService = game:GetService("CollectionService")
local function setupDoor(instance: Instance)
常见问题
什么是 Rojo?
Rojo 是一个将电脑上的文件与 Roblox 项目同步的工具,该技能指出它可能负责项目的某些部分。
为什么要在编辑前先检查项目?
该技能要求避免只在 Studio 中进行的修改,因为之后的同步会将其覆盖。
它会替我构建功能吗?
它指导如何进行修改,具体功能由相关的 Roblox 技能负责,例如界面、网络和角色。
详情
作者的原始描述
Modify living Roblox Studio projects safely: inspect Explorer and execution locations, preserve existing structure, reuse modules/remotes, create meaningful Instances, apply Attributes and CollectionService tags, test server/client and multiple devices, inspect Output, and remove experiments/debug objects. Use when an agent edits a place or rbxl/rbxlx/Rojo project, operates in Studio, adds Scripts/LocalScripts/ModuleScripts, or must verify a Roblox change in context.
热度
- GitHub 星标
- 6.6k
- 排名
- #13842
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/28
评论
- …