focus-creative-games/zlua/zlua-alias
Claude Code and agent skill by focus-creative-games/zlua
- community
Checking that the SKILL.md file is still in the repository.
Renames a C# method's Lua key with [LuaAlias] or ZLuaAlias XML. Use when the user mentions LuaAlias, ZLuaAlias, luaAliasXmlPaths, a short colon name, or a method that should no longer be called by its C# name.
Install
npx vskill@latest install focus-creative-games/zlua/zlua-aliasSKILL.md
The same SKILL.md was published earlier as focus-creative-games/zlua/zlua-alias.
LuaAlias
[LuaAlias] replaces the Lua key. It does not add a second name. After an alias, that method is not registered under MethodInfo.Name. Full signature keys still use the CLR name (demo['Run(System.Int32)']). See zlua-method-overload.
| Attribute | [LuaAlias("run_i32")] on the method only. One alias. Not inherited by overrides | |
| XML root | ZLuaAlias | |
| Settings | luaAliasXmlPaths |
Do not mix this file with ZLuaMarshalAs or ZLuaExtensions.
Hot-update assemblies (including HybridCLR) use the attribute only. XML is ignored. Precompiled, AOT, or third-party assemblies that are not hot-update use XML. Il2Cpp bakes XML at Generate. The Player does not read XML. Mono reads the Settings path list at runtime.
Attribute
The same alias on two methods, or an alias equal to another method's default name, joins one overload group. Callers then dispatch. Static names go on the type table (Demo.add_i32(...)). Instance names use a colon. Groups do not cross static and instance, or ByVal and ByObj.
If the final name matches a field or a parameterless property, method lookup still wins.
XML
Assembly/@name is Assembly.GetName().Name (for example Assembly-CSharp), not a path or .dll. Type/@fullName is the CLR name. Nested types use Outer+Inner. An open generic container is `Foo1`. Method/@name is MethodInfo.Name. Method/@signature is parameters only, in parentheses, with no return type: (), (System.Int32), (System.Int32,System.String). Byref types end with &. @alias` is required and is the only Lua name.
version must be "1". This file allows only Assembly / Type / Method with @alias. No MarshalAs, Param, Return, Field, or Property.
On the same method, the attribute wins and the XML entry is unused. Two @alias values for the same (assembly, type, method, signature) fail. Two different methods may share one final name.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingZLua~/skills/zlua-alias/SKILL.md
Popularity
- Repository stars
- 254
- Repository forks
- 25
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/focus-creative-games/zlua/zlua-alias)