agentleFS
niaka3dayoniaka3dayo/agent-skills-vrc-udon/templates/AGENTS.md

agent-skills-vrc-udon / templates

AGENTS.md329 starsChanged 3 months agoMITView on GitHub

Agent Skills for VRChat world development using UdonSharp (C# → Udon Assembly). UdonSharp has significant constraints compared to standard C#. Always read the Rules before generating code. Read the following Rules before writing any UdonSharp code: Networking rule: a parameterless public method without a leading _ is a legacy network entry. Prefix local-only/custom public methods with _, expose only intentional entries with [NetworkCallable], confirm NetworkCalling.InNetworkCall before reading NetworkCalling.CallingPlayer, authorize the caller separately from receiver ownership, and never use instance master…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository5 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

4 rules. About 2 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈2

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the following Rules before writing any UdonSharp code:

    line 8
  2. Distinctive:

    Use web search to reference official documentation and community resources:

    line 45
  3. Common:

    Use it to preserve task-specific source of truth, sync strategy, ownership, late-joiner, owner-left, and validation decisions.

    line 58
  4. Common:

    Keep secrets, private data, and raw transcripts out of any note.

    line 60

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

UdonSharp / VRChat World Development

Agent Skills for VRChat world development using UdonSharp (C# → Udon Assembly). UdonSharp has significant constraints compared to standard C#. Always read the Rules before generating code.

Rules (Required Reading)

Read the following Rules before writing any UdonSharp code:

  • skills/unity-vrc-udon-sharp/rules/udonsharp-constraints.md — Blocked Features, Code Generation Rules, Attributes, Syncable Types
  • skills/unity-vrc-udon-sharp/rules/udonsharp-networking.md — Ownership, Sync Modes, RequestSerialization, NetworkCallable
  • skills/unity-vrc-udon-sharp/rules/udonsharp-sync-selection.md — Sync Pattern Decision Tree, Data Budget, Minimization

Networking rule: a parameterless public method without a leading _ is a legacy network entry. Prefix local-only/custom public methods with _, expose only intentional entries with [NetworkCallable], confirm NetworkCalling.InNetworkCall before reading NetworkCalling.CallingPlayer, authorize the caller separately from receiver ownership, and never use instance master as a security or access-control boundary.

Skills

SkillPurposePath
unity-vrc-udon-sharpUdonSharp coding, networking, events, templatesskills/unity-vrc-udon-sharp/SKILL.md
unity-vrc-world-sdk-3VRC component placement, layer configuration, world optimizationskills/unity-vrc-world-sdk-3/SKILL.md

SDK (active: 3.10.5)

Active support / last verified: SDK 3.10.5

From v4.0.0 onward, the policy is latest stable SDK only; support moves to a new stable release only after this repository verifies it. A new stable release is not supported automatically. Current last verified target: 3.10.5.

The table below keeps historical feature-introduction notes for migration. SDK 3.7.1-3.10.4 entries are not supported or validation targets for this Skill. This is the Skill's support boundary, not a statement about VRChat's own SDK policy.

VersionKey Features
3.7.1StringBuilder, Regex, System.Random
3.7.4Persistence API (PlayerData/PlayerObject)
3.8.1[NetworkCallable] network events with parameters
3.10.0VRChat Dynamics for Worlds (PhysBones, Contacts)
3.10.1Bug fixes and stability improvements
3.10.2EventTiming extensions, PhysBones fixes, shader time globals
3.10.3VRCPlayerApi.isVRCPlus, VRCRaycast (avatar), Mirror render-order fix
3.10.4VRCTween, Box Contacts, Global Avatar PhysBone Colliders, world VRCPhysBoneCollider Udon access, Data Container capacity APIs
3.10.5WorldQualitySettings, writable VRCQualitySettings, Assembly Version Defines, Pickup Outline Renderers, Pipeline Manager validation

Docs Reference

Use web search to reference official documentation and community resources:

SitePurposeSearch Example
site:creators.vrchat.comOfficial Udon / SDK documentationsite:creators.vrchat.com UdonSharp networking
site:udonsharp.docs.vrchat.comUdonSharp API referencesite:udonsharp.docs.vrchat.com synced variables
site:ask.vrchat.comCommunity Q&A and troubleshootingsite:ask.vrchat.com PlayerData persistence
site:feedback.vrchat.comKnown bugs and feature requestssite:feedback.vrchat.com PhysBones worlds
site:github.com/vrchat-communitySamples and librariessite:github.com/vrchat-community ClientSim

Context Preservation

For complex synced systems, ownership-sensitive multi-file refactors, or work resumed after context compaction/handoff, consider the lightweight guide at skills/unity-vrc-udon-sharp/references/context-preservation.md. Use it to preserve task-specific source of truth, sync strategy, ownership, late-joiner, owner-left, and validation decisions. Skip it for small mechanical edits. Keep secrets, private data, and raw transcripts out of any note.

Hooks

PostToolUse auto-validation when editing .cs files:

  • Windows: skills/unity-vrc-udon-sharp/hooks/validate-udonsharp.ps1
  • Linux/macOS: skills/unity-vrc-udon-sharp/hooks/validate-udonsharp.sh

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.