Teaches Claude to write MSW scripts in mlua, a Lua variant with annotations like @Component, @Logic, and @ExecSpace that control where code runs (client, server, multicast). The framework isn't intuitive if you're coming from Unity. UI components use different property names, physics colliders don't emit touch events the way you'd expect, and Logic scripts have no self.Entity. The skill drills file structure rules (no flat dumps, feature folders required), the verify-then-write API lookup workflow against 600+ engine definitions, and the build-refresh-playtest-logs cycle. It's strict about method comments going inside the body, not above, because the parser binds them wrong otherwise. Good for teams that need Claude to stop guessing and follow MSW's actual contracts.

skills.sh installs
10.7K
GitHub stars
38
last updated
Aug 21, 2026

Install

$ npx -y skills add msw-git/msw-ai-coding-plugins-official --skill msw-scripting --agent claude-code

Installs into .claude/skills of the current project.

Files

MSW Scripting (.mlua) — Framework + File Workflow + Playtest & Debugging

mlua is Lua-based, but it has MSW-specific annotations, a lifecycle, and an execution-space model. General Lua knowledge alone will not produce working code. All work is done by editing files in the workspace directly, and code is validated in the order build logs → runtime logs.


1. Core Principles (must follow)

1.1 Existing Script First

Before creating a new .mlua, glob/keyword-search under ./RootDesk/MyDesk/ for an existing script with the same purpose — extending an existing file is always the first choice. Duplicate implementations raise maintenance cost and conflict risk.

1.2 Folder Structure for New Scripts — Never Dump Files Flat

When a new .mlua is unavoidable, place it under a feature/category subfolder. Required path shape: ./RootDesk/MyDesk/<FeatureFolder>/<ScriptName>.mlua.

Sponsors

Details

Repository
github.com/msw-git/msw-ai-coding-plugins-official
Categories
Frontend Development, Testing & QA, DevOps & CI/CD, Git & Pull Requests, AI & Agent Building, Debugging, Automation & Workflows
First seen
Jun 3, 2026

More from msw-git/msw-ai-coding-plugins-official

All 12
1msw-git avatarmsw-paintermsw-git/msw-ai-coding-plugins-officialWhen msw-search cannot find a suitable sprite RUID, draw a pixel art sprite directly with SVG / HTML5 Canvas / HTML code, render it to PNG, and upload it via th10.6Kskills.sh installs
2msw-git avatarmsw-sprite-ruidmsw-git/msw-ai-coding-plugins-officialSpriteRendererComponent.SpriteRUID (world) and SpriteGUIRendererComponent.ImageRUID (UI) — native RUID type support (sprite / animationclip direct playback), th10.5Kskills.sh installs
3deeflect avatarmiesdeeflect/miesUse this skill when creating, redesigning, critiquing, reducing, polishing, hardening, or making design decisions for a user-facing interface, brand surface, pr10.5Kskills.sh installs
4dimillian avatarswiftui-performance-auditdimillian/skillsAudit and improve SwiftUI runtime performance from code review and architecture. Use for requests to diagnose slow rendering, janky scrolling, high CPU/memory u10.4Kskills.sh installs
5ljagiello avatarctf-webljagiello/ctf-skillsProvides web exploitation techniques for CTF challenges. Use when the target is primarily an HTTP application, API, browser client, template engine, identity fl10.3Kskills.sh installs
6nomadamas avatarrhwp-advancednomadamas/k-skillDebug HWP layout, dump document IR, compare versions, extract thumbnails, and unlock read-only HWPs with the upstream rhwp Rust CLI (export-svg/dump/dump-pages/10.3Kskills.sh installs