English | 日本語 | 简体中文 | 繁體中文 | 한국어
Agent Skills for VRChat UdonSharp
Skills, rules, and validation hooks that teach AI coding agents to generate correct UdonSharp code
About • Install • Structure • Skills • Rules • Hooks • Contributing • Disclaimer
About
VRChat world development with UdonSharp (C# → Udon Assembly) has strict compile constraints that differ significantly from standard C#. In Udon runtime code, features like List<T>, async/await, try/catch, LINQ, and lambdas cause compile errors. Editor-evaluated field initializers are a separate C# context and may use some of these features to generate a final field value that Udon supports.
This repository provides AI coding agents with the knowledge to generate correct UdonSharp code from the start.
| Problem | Solution |
|---|---|
AI generates Udon-incompatible List<T>, async/await, etc. in runtime code |
Rules + hooks auto-detect and warn |
| Sync variable bloat | Decision tree + data budget |
| Incorrect networking patterns | Pattern library + anti-patterns |
| SDK version feature differences | Version table with feature mapping |
| Late Joiner state inconsistency | Sync pattern selection framework |
This is NOT:
- A VRChat SDK or UdonSharp distribution
- A Unity project (no executable code)
- A replacement for official VRChat documentation
- A guarantee of all AI behaviors
Issues: Bug reports and knowledge requests are welcome via GitHub Issues. PRs: Pull Requests are not accepted. See CONTRIBUTING.md for details.
Install
Migrating from fork/clone? — You no longer need to fork or clone this repository. Run one of the install commands below inside your VRChat Unity project. If you cloned this repo earlier, you can delete the cloned directory after switching.
Method 1: skills CLI (recommended)
npx skills add niaka3dayo/agent-skills-vrc-udon
This uses the skills.sh ecosystem to install skills into your project. The skills CLI requires Node.js 22.20 or later.
Method 2: Claude Code plugin
claude plugin install vrc-udon-skills --marketplace niaka3dayo/agent-skills-vrc-udon
On Claude Code older than 2.1.292, run claude plugin marketplace add niaka3dayo/agent-skills-vrc-udon first, then claude plugin install vrc-udon-skills@agent-skills-vrc-udon.
Method 3: git clone
git clone https://github.com/niaka3dayo/agent-skills-vrc-udon.git
No comments yet.