一键导入
roblox-ts
Use when writing TypeScript code for Roblox using roblox-ts, especially when unsure if a JavaScript API exists or how to handle Luau interop
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when writing TypeScript code for Roblox using roblox-ts, especially when unsure if a JavaScript API exists or how to handle Luau interop
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Testing Roblox/Luau code with Jest Roblox. Use when writing tests, mocking functions, asserting values, or configuring test suites in Luau with Jest Roblox. NOT JavaScript Jest — uses .never instead of .not, jest.fn() returns two values, 0 is truthy.
Opinionated preferences for roblox-ts development. Use when setting up new roblox-ts projects or when coding style/tooling decisions arise.
| name | roblox-ts |
| description | Use when writing TypeScript code for Roblox using roblox-ts, especially when unsure if a JavaScript API exists or how to handle Luau interop |
| metadata | {"author":"Christopher Buss","version":"2026.1.31","source":"Generated from https://github.com/roblox-ts/roblox-ts.com, scripts at https://github.com/christopher-buss/skills"} |
Based on roblox-ts v3.0.0, generated 2026-01-31
TypeScript-to-Luau transpiler for Roblox. This is "Roblox with TypeScript syntax", not full JavaScript - many JS APIs don't exist.
| Topic | Description | Reference |
|---|---|---|
| JS Differences | Missing APIs, assert() truthiness, any type, typeof | core-js-differences |
| Type Checking | typeIs, classIs, RemoteEvent validation | core-type-checking |
| Constructors | new syntax, DataType math (.add/.sub), collections | core-constructors |
| Utility Types | satisfies, InstancePropertyNames, Services, ExtractKeys | core-utility-types |
| Topic | Description | Reference |
|---|---|---|
| Luau Interop | $tuple, LuaTuple, type declarations, callbacks vs methods | feature-luau-interop |
| Game Hierarchy | Typing Workspace children with services.d.ts | feature-game-hierarchy |