[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KGGY4H3AJ5G8AY6FDHHF7D":3,"skill-same:01M6KGGY4H3AJ5G8AY6FDHHF7D":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":6,"ownerHtmlUrl":62,"ownerBlogUrl":6,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M6KGGY4H3AJ5G8AY6FDHHF7D","unity-foundation",null,"Lightweight Unity Foundation skill always loaded for architect, unity-dev, and data-tool agents. Covers asmdef design, scene lifecycle contracts, project structure, asset hygiene, and Unity-specific code quality. Does NOT replace core ECS skills — ECS guidance always takes precedence when both apply.","dyCuong03\u002Funity-agent-team","dyCuong03","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F137050365?v=4","01M6KFXC85HQHXZJC2VC1KY6EZ","CuongND","01M6KFXCCHP6CD5MTA8NECJC36",8,"MIT","https:\u002F\u002Fgithub.com\u002FdyCuong03\u002Funity-agent-team\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Funity-foundation\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"unity foundation","unity","foundation","assembly","ecs","asset","project","structure","windsurf","contracts","design","never","html","context","work","architect","data","code","copilot","project structure","2026-11-10 10:12:30",false,"---\nname: unity-foundation\ndescription: Lightweight Unity Foundation skill always loaded for architect, unity-dev, and data-tool agents. Covers asmdef design, scene lifecycle contracts, project structure, asset hygiene, and Unity-specific code quality. Does NOT replace core ECS skills — ECS guidance always takes precedence when both apply.\nuse-when: |\n  Always load as P2 foundation context for architect, unity-dev, and data-tool agents.\n  Load when assembly boundaries, scene lifecycle, or project structure decisions must be made.\ndo-not-use-when: |\n  Never the primary ECS skill — load unity-dots-best-practices for ECS work.\n  Do not load for tester or verifier roles. Do not load for triage.\nplatforms: [claude-code, codex, copilot, cursor, windsurf]\ntask-categories: [foundation, structure, assemblies, scene-management]\nmetadata:\n  source: https:\u002F\u002Fdocs.unity3d.com\u002FManual\u002FAssemblyDefinitionFiles.html\n  version: Unity 6 (6000.0)\n  tier: 1\n\n---\n\n# Unity Foundation\n\nThis skill is SECONDARY to core ECS skills. When ECS and foundation guidance conflict, ECS wins.\n\n## Assembly Design (asmdef)\n\n- Split editor code from runtime in separate assemblies (runtime.asmdef, editor.asmdef)\n- Keep test code in a dedicated tests.asmdef — never reference test code from runtime\n- Dependency direction: Tests → Runtime ← Editor (never Runtime → Editor)\n- For ECS: additional split — authoring.asmdef references runtime.asmdef only\n- Minimize inter-assembly dependencies to reduce compile times in large repos\n\n## Scene Lifecycle Contracts\n\nFor hybrid ECS + MonoBehaviour projects:\n- Define explicit entry\u002Fexit contracts for each scene (what ECS state exists on entry, what is cleaned on exit)\n- MonoBehaviour bootstrap: one entry point (`[DefaultExecutionOrder(-10000)]`), no static singletons\n- ECS world lifecycle: world is created at bootstrap, systems initialize in OnCreate, dispose in OnDestroy\n- Hybrid boundary: MonoBehaviour components that exist for baker input only — mark with clear naming convention\n\n## Project Navigation (for large repos)\n\n- Before reading code: check workspace\u002Frepo-knowledge.md for prior system mapping\n- Before designing: check workspace\u002Fecs-registry.md for existing components\n- Use `perception` REST skills to read live scene state when code reading is insufficient\n- Use CRG `get_architecture_overview` for code-level system discovery\n\n## Unity-Specific Code Quality\n\n- Every Update\u002FLateUpdate\u002FFixedUpdate must open with guard clauses (isInitialized, null checks)\n- Prefer early returns over nested conditionals\n- Keep MonoBehaviour lifecycle methods as thin wrappers — delegate to plain C# classes\n- For ECS: ISystem methods are already guard-free by design — no MonoBehaviour guard clauses needed\n- Debug.Log is NOT stripped in Player builds by default — use conditional compilation or custom logger\n\n## Unity-Skills REST Integration\n\nWhen calling Unity-Skills REST skills:\n1. Always check `GET \u002Fhealth` before first skill call — verify `currentMode`\n2. Respect the permission mode — do not call SemiAuto skills without checking mode\n3. Call `unity_diagnose` first for any debugging task — it provides an aggregated health snapshot\n4. Prefer read-only skills (perception, debug, console) over mutating skills unless mutation is required\n5. Batch-first: when touching 2+ objects, prefer `*_batch` skills over repeated single calls\n6. Do NOT call `workflow` or `smart` modules — they conflict with agent orchestration\n","# Unity Foundation\n\nThis skill is SECONDARY to core ECS skills. When ECS and foundation guidance conflict, ECS wins.\n\n## Assembly Design (asmdef)\n\n- Split editor code from runtime in separate assemblies (runtime.asmdef, editor.asmdef)\n- Keep test code in a dedicated tests.asmdef — never reference test code from runtime\n- Dependency direction: Tests → Runtime ← Editor (never Runtime → Editor)\n- For ECS: additional split — authoring.asmdef references runtime.asmdef only\n- Minimize inter-assembly dependencies to reduce compile times in large repos\n\n## Scene Lifecycle Contracts\n\nFor hybrid ECS + MonoBehaviour projects:\n- Define explicit entry\u002Fexit contracts for each scene (what ECS state exists on entry, what is cleaned on exit)\n- MonoBehaviour bootstrap: one entry point (`[DefaultExecutionOrder(-10000)]`), no static singletons\n- ECS world lifecycle: world is created at bootstrap, systems initialize in OnCreate, dispose in OnDestroy\n- Hybrid boundary: MonoBehaviour components that exist for baker input only — mark with clear naming convention\n\n## Project Navigation (for large repos)\n\n- Before reading code: check workspace\u002Frepo-knowledge.md for prior system mapping\n- Before designing: check workspace\u002Fecs-registry.md for existing components\n- Use `perception` REST skills to read live scene state when code reading is insufficient\n- Use CRG `get_architecture_overview` for code-level system discovery\n\n## Unity-Specific Code Quality\n\n- Every Update\u002FLateUpdate\u002FFixedUpdate must open with guard clauses (isInitialized, null checks)\n- Prefer early returns over nested conditionals\n- Keep MonoBehaviour lifecycle methods as thin wrappers — delegate to plain C# classes\n- For ECS: ISystem methods are already guard-free by design — no MonoBehaviour guard clauses needed\n- Debug.Log is NOT stripped in Player builds by default — use conditional compilation or custom logger\n\n## Unity-Skills REST Integration\n\nWhen calling Unity-Skills REST skills:\n1. Always check `GET \u002Fhealth` before first skill call — verify `currentMode`\n2. Respect the permission mode — do not call SemiAuto skills without checking mode\n3. Call `unity_diagnose` first for any debugging task — it provides an aggregated health snapshot\n4. Prefer read-only skills (perception, debug, console) over mutating skills unless mutation is required\n5. Batch-first: when touching 2+ objects, prefer `*_batch` skills over repeated single calls\n6. Do NOT call `workflow` or `smart` modules — they conflict with agent orchestration\n",{"name":5,"metadata":44,"use-when":48,"platforms":49,"description":7,"do-not-use-when":53,"task-categories":54},{"tier":45,"source":46,"version":47},1,"https:\u002F\u002Fdocs.unity3d.com\u002FManual\u002FAssemblyDefinitionFiles.html","Unity 6 (6000.0)","Always load as P2 foundation context for architect, unity-dev, and data-tool agents.\nLoad when assembly boundaries, scene lifecycle, or project structure decisions must be made.\n",[50,51,37,52,27],"claude-code","codex","cursor","Never the primary ECS skill — load unity-dots-best-practices for ECS work.\nDo not load for tester or verifier roles. Do not load for triage.\n",[21,26,55,56],"assemblies","scene-management","main","fe4746b9f07e6c7c2b6d3932002183af9b9f6fa2",".claude\u002Fskills\u002Funity-foundation",0,"https:\u002F\u002Fgithub.com\u002FdyCuong03\u002Funity-agent-team","https:\u002F\u002Fgithub.com\u002FdyCuong03","Game developer","2026-07-25 22:22:25",{"source":8,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add dyCuong03\u002Funity-agent-team --skill unity-foundation",{"tool":71,"command":72},"bunx","bunx skills add dyCuong03\u002Funity-agent-team --skill unity-foundation",{"tool":74,"command":75},"pnpm","pnpm dlx skills add dyCuong03\u002Funity-agent-team --skill unity-foundation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FdyCuong03\u002Funity-agent-team\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Funity-foundation\u002FSKILL.md",true,[],[80,102,126,146,165,186],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":39},"01M6KH55FFS00ET877QSMRYGX4","dots-update-groups","How to choose the right ECS system group and ordering so per-frame and per-fixed-step work is deterministic and never races its own readers. Covers InitializationSystemGroup \u002F SimulationSystemGroup \u002F PresentationSystemGroup \u002F FixedStepSimulationSystemGroup \u002F VariableRateSimulationSystemGroup, UpdateBefore \u002F UpdateAfter peer ordering, OrderFirst \u002F OrderLast group-boundary placement, RateManager, and the cross-group ordering trap. Use when adding an ISystem, fixing \"value visible one frame late\" bugs, or coupling simulation to a fixed timestep.","https:\u002F\u002Fgithub.com\u002FdyCuong03\u002Funity-agent-team\u002Fblob\u002Fmain\u002Fworkspace\u002Fdots-program\u002Fscratch\u002Fwave-2-orchestrator-drafts\u002Fdots-update-groups\u002FSKILL.md",[],[87,88,89,90,91,92,93,33,94,30,95,96,97,98,23,99,100,101],"update","dots update groups","boundary","simulation","how","system","choose","use","peer","deterministic","how to","coupling","bugs","frame","value",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":39},"01M6KH50PWYEFQDCGYBZ0326F1","dots-transform-patterns","The Entities 1.x transform model — LocalTransform (writable input) vs LocalToWorld (system-owned matrix), Parent\u002FChild hierarchy, reparenting cost, uniform vs non-uniform scale (PostTransformMatrix), and when to opt out with custom transform systems. Use when designing parent\u002Fchild hierarchies, runtime reparenting (mount\u002Fdismount\u002Fsocket), or choosing transform components at the Baker boundary.","https:\u002F\u002Fgithub.com\u002FdyCuong03\u002Funity-agent-team\u002Fblob\u002Fmain\u002Fworkspace\u002Fdots-program\u002Fscratch\u002Fwave-2-orchestrator-drafts\u002Fdots-transform-patterns\u002FSKILL.md",[],[109,110,111,112,89,92,113,114,94,115,116,117,118,119,120,121,122,123,124,125],"patterns","transform","dots transform patterns","components","mount","model","cost","runtime","systems","input","with","matrix","socket","at","child","custom","hierarchy",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":39},"01M6KH4VW4MA14DQW4KQYPFT0S","dots-singleton-patterns","Model cross-system shared configuration and game state as a single-entity component with a strict single-writer contract. Covers RequireForUpdate gating, SystemAPI.GetSingleton \u002F GetSingletonRW \u002F HasSingleton \u002F TryGetSingleton, bake-time vs runtime-created vs ECB-system singletons, the \"exactly one entity\" runtime invariant, and the single-writer rule. Use when designing frame-stable global config, shared mutable state, or any component intended to exist on exactly one entity.","https:\u002F\u002Fgithub.com\u002FdyCuong03\u002Funity-agent-team\u002Fblob\u002Fmain\u002Fworkspace\u002Fdots-program\u002Fscratch\u002Fwave-2-orchestrator-drafts\u002Fdots-singleton-patterns\u002FSKILL.md",[],[109,133,134,135,136,137,138,92,114,94,139,140,141,116,142,143,119,100,144,145],"singleton","dots singleton patterns","component","config","state","game","writer","time","shared","contract","as","ecb","gating",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":39},"01M6KH4PR076AYNDZHD63HHWX6","dots-hybrid-bridge","The one-way bridge between DOTS-owned runtime state and Unity-owned presentation. Covers UnityObjectRef for managed asset refs in components, the DOTS-writes \u002F Unity-reads ownership rule, when to use managed IComponentData vs UnityObjectRef vs CompanionComponent, baker-bridge vs runtime-bridge, and SubScene boundary rules. Use when an entity must reference Unity assets (Mesh, Material, AudioClip, ScriptableObject), a MonoBehaviour view must read entity state, or input\u002FUI must trigger ECS work.","https:\u002F\u002Fgithub.com\u002FdyCuong03\u002Funity-agent-team\u002Fblob\u002Fmain\u002Fworkspace\u002Fdots-program\u002Fscratch\u002Fwave-2-orchestrator-drafts\u002Fdots-hybrid-bridge\u002FSKILL.md",[],[153,154,155,156,112,137,89,157,158,33,159,160,94,116,161,20,118,162,163,164],"bridge","hybrid","dots hybrid bridge","mesh","assets","Rules","read","view","trigger","material","for","managed",{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":39},"01M6KH4FGRQ9AP2ND5H5HX4D83","dots-event-driven-ecs","Model one-frame events and external requests in ECS without dual ownership, polling, or persistent state leaks. Covers request-tag pattern with ECB, enableable command components (no structural change), event buffers (IBufferElementData), explicit consumer ownership, one-frame latency rules, and the banned C# event \u002F UnityEvent \u002F static bus anti-patterns. Use when input\u002FUI\u002Fnetwork must trigger ECS work, when a one-frame signal fans out to N consumers (damage, hit, collision), or when state changes must be processed exactly once.","https:\u002F\u002Fgithub.com\u002FdyCuong03\u002Funity-agent-team\u002Fblob\u002Fmain\u002Fworkspace\u002Fdots-program\u002Fscratch\u002Fwave-2-orchestrator-drafts\u002Fdots-event-driven-ecs\u002FSKILL.md",[],[172,173,23,174,175,112,176,177,178,114,33,179,180,109,181,182,118,183,184,185],"event driven","driven","event","dots event driven ecs","change","ui","network","command","anti-patterns","pattern","structural","events","static","request",{"skillNo":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":190,"categories":191,"keywords":192,"publishedAt":39},"01M6KH4BWRGCEBJ8PKCKCSGT33","valid_skill","A complete, well-formed test fixture skill for SkillHub validation testing. Covers basic task routing and code review for Unity projects.","https:\u002F\u002Fgithub.com\u002FdyCuong03\u002Funity-agent-team\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fvalid_skill\u002FSKILL.md",[],[193,194,195,196,197,198,199,36,200,201,202,203,204,205,20,206,163],"valid skill","valid","code review","testing","review","test","routing","validation","projects","fixture skill","task","fixture","basic","complete"]