From xonovex-skill-typescript-to-lua
Use when editing TypeScript that compiles to Lua via TSTL 1.24+ (game scripting, Defold, embedded engines). Triggers on `.ts` files in game/scripting directories with TSTL config, and on prompts about LuaMultiReturn, namespaces, decorators, stable table layouts, or Lua interop boundaries, even when the user doesn't say 'TSTL'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/xonovex-skill-typescript-to-lua:typescript-to-lua-guideThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The output is Lua. For Lua runtime semantics and idioms — module pattern, coroutines, metatables, error handling, string building — apply **lua-guide**; for hot-path tuning of the generated code apply **lua-opinionated-guide**. This skill covers only the TS→Lua transpiler boundary: what translates, how to shape TS source for clean Lua, and TSTL-specific features.
The output is Lua. For Lua runtime semantics and idioms — module pattern, coroutines, metatables, error handling, string building — apply lua-guide; for hot-path tuning of the generated code apply lua-opinionated-guide. This skill covers only the TS→Lua transpiler boundary: what translates, how to shape TS source for clean Lua, and TSTL-specific features.
for-await-of, dynamic import(), and BigInt are unsupported or partially supported0 and "" are truthy in Lua, falsy in JSlength for holes) replaces JS arrays — pass-through types abstract this but iteration order changes@types packages with Lua-runtime equivalents worktstlc is the CLI; build configs are different from tsc — sharing a tsconfig.json with web projects requires careful compilerOptions splitGuides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Resolves in-progress git merge or rebase conflicts by analyzing history, understanding intent, and preserving both changes where possible. Runs automated checks after resolution.
npx claudepluginhub xonovex/platform --plugin xonovex-skill-typescript-to-lua