roblox-tooling
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWhen to Load
加载时机
Load when the task involves Rojo setup or , Wally package management, Selene/StyLua linting/formatting, Lune scripting, Aftman toolchain config, CI/CD pipelines, or / file naming. Hand off to domain skills for game code, for language questions, for test patterns.
default.project.json.server.luau.client.luauroblox-luau-coreroblox-testing当任务涉及Rojo设置或、Wally包管理、Selene/StyLua代码检查/格式化、Lune脚本编写、Aftman工具链配置、CI/CD流水线,或者/文件命名时,加载本技能。游戏代码相关任务请转交领域技能,语言问题请咨询,测试模式相关请咨询。
default.project.json.server.luau.client.luauroblox-luau-coreroblox-testingQuick Reference
快速参考
Aftman (toolchain pinning): — all tools installed via .
aftman.tomlaftman install[tools]
rojo = "rojo-rbx/rojo@7.4.4"
wally = "UpliftGames/wally@0.3.2"
selene = "kampfkarren/selene@0.27.1"
stylua = "JohnnyMorganz/StyLua@2.0.2"
lune = "lune-org/lune@0.8.0"Rojo (filesystem → Studio): maps dirs to services.
default.project.json- File suffixes: (Script),
.server.luau(LocalScript),.client.luau(ModuleScript),.luau(folder-as-ModuleScript)init.luau - Commands: (live sync),
rojo serve,rojo build -o game.rbxlrojo sourcemap ... -o sourcemap.json
Wally (package manager): with realms //.
wally.tomlsharedserverdev- →
wally install(never commit this dir; do commit/Packages/)wally.lock - Format: e.g.
scope/package@versionevaera/promise@4.0.0
Selene (linter): Needs in .
std = "roblox"selene.toml- (lint),
selene src/for CI,--no-colorinline-- selene: allow(rule)
StyLua (formatter): — enforce style across team.
stylua.toml- (format),
stylua src/(CI verify),--check src/inline-- stylua: ignore
Lune (headless Luau): — built-ins: , , ,
lune run script.luau@lune/fs@lune/net@lune/process@lune/serdeluau-lsp: Generate sourcemap for IntelliSense. VS Code: enable .
luau-lsp.sourcemap.autogenerateCI pipeline: Aftman install → selene → stylua --check → luau-lsp analyze → lune test → rojo build.
Gitignore essentials: , , , ,
/Packages/*.rbxlsourcemap.json/.aftman//build/Full reference:
references/full.mdAftman(工具链固定): —— 所有工具通过安装。
aftman.tomlaftman install[tools]
rojo = "rojo-rbx/rojo@7.4.4"
wally = "UpliftGames/wally@0.3.2"
selene = "kampfkarren/selene@0.27.1"
stylua = "JohnnyMorganz/StyLua@2.0.2"
lune = "lune-org/lune@0.8.0"Rojo(文件系统 → Studio):将目录映射到服务。
default.project.json- 文件后缀:(Script)、
.server.luau(LocalScript)、.client.luau(ModuleScript)、.luau(文件夹作为ModuleScript)init.luau - 命令:(实时同步)、
rojo serve、rojo build -o game.rbxlrojo sourcemap ... -o sourcemap.json
Wally(包管理器):包含//作用域。
wally.tomlsharedserverdev- →
wally install(切勿提交此目录;需提交/Packages/)wally.lock - 格式:例如
scope/package@versionevaera/promise@4.0.0
Selene(代码检查器):需要在中设置。
selene.tomlstd = "roblox"- (检查代码)、CI环境使用
selene src/、行内使用--no-color-- selene: allow(rule)
StyLua(代码格式化工具): —— 统一团队代码风格。
stylua.toml- (格式化代码)、CI验证使用
stylua src/、行内使用--check src/-- stylua: ignore
Lune(无头Luau环境): —— 内置模块:、、、
lune run script.luau@lune/fs@lune/net@lune/process@lune/serdeluau-lsp:生成源代码映射以支持智能提示。VS Code中:启用。
luau-lsp.sourcemap.autogenerateCI流水线:Aftman安装 → selene检查 → stylua格式校验 → luau-lsp分析 → lune测试 → rojo构建。
Gitignore核心规则:、、、、
/Packages/*.rbxlsourcemap.json/.aftman//build/完整参考:
references/full.md