[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KG0FBHZM2SW220CY7F9CQ0":3,"skill-same:01M6KG0FBHZM2SW220CY7F9CQ0":87},{"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":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":65,"commitSha":66,"skillDirectory":67,"forksCount":68,"repositoryHtmlUrl":69,"repositoryHomepageUrl":6,"ownerHtmlUrl":70,"ownerBlogUrl":6,"ownerDescription":71,"updatedAt":72,"install":73,"resources":86},"01M6KG0FBHZM2SW220CY7F9CQ0","unity-classic",null,"Non-DOTS \"Unity classic\" skill covering MonoBehaviour, UI Toolkit, UGUI, VContainer, Addressables, pooling, DOTween, async\u002FUniTask, and per-frame performance. Loaded exclusively by the unity-dev (non-DOTS) lane. Does NOT cover ECS\u002FDOTS — use unity-dots-best-practices for entities and systems.","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-classic\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"unity classic","unity","do","pooling","for","manual","verifier","as","domain","windsurf","performance","async","gameplay","system","Audio","Animation","lifecycle","lane","dev","copilot","2026-11-10 10:12:30",false,"---\nname: unity-classic\ndescription: Non-DOTS \"Unity classic\" skill covering MonoBehaviour, UI Toolkit, UGUI, VContainer, Addressables, pooling, DOTween, async\u002FUniTask, and per-frame performance. Loaded exclusively by the unity-dev (non-DOTS) lane. Does NOT cover ECS\u002FDOTS — use unity-dots-best-practices for entities and systems.\nuse-when: |\n  Load for unity-dev lane when triage classifies domain as Unity (not DOTS or Hybrid).\n  Load for MonoBehaviour lifecycle, UI system, Addressables, pooling, or DOTween tasks.\ndo-not-use-when: |\n  Do not load for unity-dots-dev lane. Do not load when task involves ISystem, IJobEntity,\n  ECB, NativeContainers, or any ECS API. Do not load for tester, verifier, or architect roles.\nplatforms: [claude-code, codex, copilot, cursor, windsurf]\ntask-categories: [gameplay, ui, animation, audio, implementation, classic-unity]\nmetadata:\n  source: https:\u002F\u002Fdocs.unity3d.com\u002FManual\u002F\n  version: Unity 6 (6000.0)\n  tier: 1\n\n---\n\n# Unity Classic (Non-DOTS) Skill\n\nThe non-DOTS lane: `GameObject` + `MonoBehaviour` runtime, UI, gameplay glue,\nDI, asset loading, tweening, pooling, async. If the task is `ISystem`\u002FJobs\u002FBurst\u002F\nEntities, it belongs to `unity-dots-dev`, not here.\n\nRoot-cause first: for a bug, trace the lifecycle \u002F data flow \u002F event wiring and fix\nthe real cause. No null-guard or timer band-aid without proving the cause. Match\nexisting project patterns; do not add a parallel service\u002Fcontroller\u002Fmodel.\n\n## MonoBehaviour lifecycle (the #1 bug source)\n\n- `Awake` → references\u002Fself-init only. `OnEnable` → subscribe events \u002F register.\n  `Start` → cross-object init (others' Awake done). `OnDisable` → **unsubscribe\n  everything subscribed in OnEnable**. `OnDestroy` → final teardown.\n- **Every `+=` needs a matching `-=`.** Static \u002F long-lived publisher + instance\n  subscriber that never unsubscribes = leak + ghost callbacks after destroy.\n- Pooled objects fire `OnEnable`\u002F`OnDisable` per reuse, NOT `Awake`\u002F`Start`.\n  Put re-init in `OnEnable`, cleanup in `OnDisable` — not Start\u002FOnDestroy.\n- Coroutines stop when the MB disables; restart in `OnEnable` if needed.\n  Never `StartCoroutine` on a disabled\u002Finactive object.\n\n## Pooling\n\n- Reset full state on `Get`\u002Fspawn (transform, callbacks, tween handles, timers).\n- On `Return`\u002Fdespawn: kill tweens, cancel async, unsubscribe, stop coroutines.\n- A pooled object's `OnDisable` runs on return — do destroy-like cleanup there,\n  not in `OnDestroy` (which may never run for pooled objects).\n\n## DOTween\n\n- Cache the `Tween`\u002F`Sequence`; `tween.Kill()` on disable\u002Freturn\u002Fdestroy before\n  starting a new one — orphan tweens mutate recycled objects.\n- `SetLink(gameObject)` or `SetAutoKill(true)` to bind lifetime; do not leak\n  infinite-loop tweens on pooled UI.\n- `DOTween.Kill(target)` in `OnDisable` for pooled views.\n\n## VContainer \u002F DI\n\n- Inject via constructor or `[Inject]` method; injection completes **after**\n  `Awake`, around `Start`\u002Fentry-point. Do not use injected refs in `Awake`.\n- `IStartable`\u002F`ITickable`\u002F`IAsyncStartable` via `RegisterEntryPoint`; register\n  in the right `LifetimeScope`. Mismatched scope = null inject or duplicate.\n- Do not `new` a service that the container owns — resolve it.\n\n## Addressables\n\n- `Addressables.LoadAssetAsync` ↔ `Release(handle)`. `InstantiateAsync` ↔\n  `ReleaseInstance(go)`. Mixing them leaks. Release exactly once per load.\n- Hold the `AsyncOperationHandle` to release later; releasing the asset while an\n  instance is live can break it. Check `.Status` before using `.Result`.\n\n## Async \u002F UniTask\n\n- Pass a `CancellationToken`; use `this.destroyCancellationToken` (or a\n  `CancellationTokenSource` tied to OnDisable\u002FOnDestroy) so awaits stop on teardown.\n- Never `async void` except top-level event handlers; catch there.\n- Cancel in-flight loads\u002Fanimations on disable to avoid acting on a dead object.\n\n## UI\n\n- Bind once; guard against double-subscribe on re-show. Unbind on hide.\n- No `GetComponent`\u002F`Find`\u002FLINQ\u002F`string.Format`\u002Fallocations in `Update` or\n  per-item layout loops. Cache references. Batch canvas updates.\n\n## Performance (per-frame)\n\n- Hot path: no allocations, no `GetComponent` per frame, no `Camera.main` per\n  frame, no boxing. Pool transient objects. Profile before\u002Fafter non-trivial work.\n\n## Output (handoff)\n\n1. Unity classic analysis (lifecycle\u002Fdata-flow\u002Froot cause)\n2. Implementation plan (existing patterns reused — no duplication)\n3. Changed files + one-line purpose\n4. Validation steps (lifecycle, leak, alloc, release\u002Fkill checks)\n","# Unity Classic (Non-DOTS) Skill\n\nThe non-DOTS lane: `GameObject` + `MonoBehaviour` runtime, UI, gameplay glue,\nDI, asset loading, tweening, pooling, async. If the task is `ISystem`\u002FJobs\u002FBurst\u002F\nEntities, it belongs to `unity-dots-dev`, not here.\n\nRoot-cause first: for a bug, trace the lifecycle \u002F data flow \u002F event wiring and fix\nthe real cause. No null-guard or timer band-aid without proving the cause. Match\nexisting project patterns; do not add a parallel service\u002Fcontroller\u002Fmodel.\n\n## MonoBehaviour lifecycle (the #1 bug source)\n\n- `Awake` → references\u002Fself-init only. `OnEnable` → subscribe events \u002F register.\n  `Start` → cross-object init (others' Awake done). `OnDisable` → **unsubscribe\n  everything subscribed in OnEnable**. `OnDestroy` → final teardown.\n- **Every `+=` needs a matching `-=`.** Static \u002F long-lived publisher + instance\n  subscriber that never unsubscribes = leak + ghost callbacks after destroy.\n- Pooled objects fire `OnEnable`\u002F`OnDisable` per reuse, NOT `Awake`\u002F`Start`.\n  Put re-init in `OnEnable`, cleanup in `OnDisable` — not Start\u002FOnDestroy.\n- Coroutines stop when the MB disables; restart in `OnEnable` if needed.\n  Never `StartCoroutine` on a disabled\u002Finactive object.\n\n## Pooling\n\n- Reset full state on `Get`\u002Fspawn (transform, callbacks, tween handles, timers).\n- On `Return`\u002Fdespawn: kill tweens, cancel async, unsubscribe, stop coroutines.\n- A pooled object's `OnDisable` runs on return — do destroy-like cleanup there,\n  not in `OnDestroy` (which may never run for pooled objects).\n\n## DOTween\n\n- Cache the `Tween`\u002F`Sequence`; `tween.Kill()` on disable\u002Freturn\u002Fdestroy before\n  starting a new one — orphan tweens mutate recycled objects.\n- `SetLink(gameObject)` or `SetAutoKill(true)` to bind lifetime; do not leak\n  infinite-loop tweens on pooled UI.\n- `DOTween.Kill(target)` in `OnDisable` for pooled views.\n\n## VContainer \u002F DI\n\n- Inject via constructor or `[Inject]` method; injection completes **after**\n  `Awake`, around `Start`\u002Fentry-point. Do not use injected refs in `Awake`.\n- `IStartable`\u002F`ITickable`\u002F`IAsyncStartable` via `RegisterEntryPoint`; register\n  in the right `LifetimeScope`. Mismatched scope = null inject or duplicate.\n- Do not `new` a service that the container owns — resolve it.\n\n## Addressables\n\n- `Addressables.LoadAssetAsync` ↔ `Release(handle)`. `InstantiateAsync` ↔\n  `ReleaseInstance(go)`. Mixing them leaks. Release exactly once per load.\n- Hold the `AsyncOperationHandle` to release later; releasing the asset while an\n  instance is live can break it. Check `.Status` before using `.Result`.\n\n## Async \u002F UniTask\n\n- Pass a `CancellationToken`; use `this.destroyCancellationToken` (or a\n  `CancellationTokenSource` tied to OnDisable\u002FOnDestroy) so awaits stop on teardown.\n- Never `async void` except top-level event handlers; catch there.\n- Cancel in-flight loads\u002Fanimations on disable to avoid acting on a dead object.\n\n## UI\n\n- Bind once; guard against double-subscribe on re-show. Unbind on hide.\n- No `GetComponent`\u002F`Find`\u002FLINQ\u002F`string.Format`\u002Fallocations in `Update` or\n  per-item layout loops. Cache references. Batch canvas updates.\n\n## Performance (per-frame)\n\n- Hot path: no allocations, no `GetComponent` per frame, no `Camera.main` per\n  frame, no boxing. Pool transient objects. Profile before\u002Fafter non-trivial work.\n\n## Output (handoff)\n\n1. Unity classic analysis (lifecycle\u002Fdata-flow\u002Froot cause)\n2. Implementation plan (existing patterns reused — no duplication)\n3. Changed files + one-line purpose\n4. Validation steps (lifecycle, leak, alloc, release\u002Fkill checks)\n",{"name":5,"metadata":49,"use-when":53,"platforms":54,"description":7,"do-not-use-when":58,"task-categories":59},{"tier":50,"source":51,"version":52},1,"https:\u002F\u002Fdocs.unity3d.com\u002FManual\u002F","Unity 6 (6000.0)","Load for unity-dev lane when triage classifies domain as Unity (not DOTS or Hybrid).\nLoad for MonoBehaviour lifecycle, UI system, Addressables, pooling, or DOTween tasks.\n",[55,56,43,57,33],"claude-code","codex","cursor","Do not load for unity-dots-dev lane. Do not load when task involves ISystem, IJobEntity,\nECB, NativeContainers, or any ECS API. Do not load for tester, verifier, or architect roles.\n",[36,60,61,62,63,64],"ui","animation","audio","implementation","classic-unity","main","fe4746b9f07e6c7c2b6d3932002183af9b9f6fa2",".claude\u002Fskills\u002Funity-classic",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":74,"prompt":84,"zipAvailable":85},[75,78,81],{"tool":76,"command":77},"npx","npx skills add dyCuong03\u002Funity-agent-team --skill unity-classic",{"tool":79,"command":80},"bunx","bunx skills add dyCuong03\u002Funity-agent-team --skill unity-classic",{"tool":82,"command":83},"pnpm","pnpm dlx skills add dyCuong03\u002Funity-agent-team --skill unity-classic","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FdyCuong03\u002Funity-agent-team\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Funity-classic\u002FSKILL.md",true,[],[88,112,136,158,176,196],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":44},"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",[],[95,96,97,98,99,37,100,101,102,103,104,105,106,107,108,109,110,111],"update","dots update groups","boundary","simulation","how","choose","work","use","never","peer","deterministic","how to","coupling","ecs","bugs","frame","value",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":44},"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",[],[119,120,121,122,97,37,123,124,102,125,126,127,128,129,130,131,132,133,134,135],"patterns","transform","dots transform patterns","components","mount","model","cost","runtime","systems","input","with","matrix","socket","at","child","custom","hierarchy",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":145,"publishedAt":44},"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",[142],{"categoryNo":143,"categoryName":144,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000037","律师与法务",[119,146,147,148,149,150,151,37,124,102,152,153,154,126,155,31,129,110,156,157],"singleton","dots singleton patterns","component","config","state","game","writer","time","shared","contract","ecb","gating",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":44},"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",[],[165,166,167,168,122,150,97,169,170,101,171,172,102,126,173,25,128,174,28,175],"bridge","hybrid","dots hybrid bridge","mesh","assets","Rules","read","view","trigger","material","managed",{"skillNo":177,"name":178,"nameZh":6,"description":179,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":180,"categories":181,"keywords":182,"publishedAt":44},"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",[],[183,184,108,185,186,122,187,60,188,124,101,189,190,119,191,192,128,193,194,195],"event driven","driven","event","dots event driven ecs","change","network","command","anti-patterns","pattern","structural","events","static","request",{"skillNo":197,"name":198,"nameZh":6,"description":199,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":200,"categories":201,"keywords":213,"publishedAt":44},"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",[202,207,210],{"categoryNo":203,"categoryName":204,"taxonomyType":205,"taxonomyTypeDesc":206},"01JBSEEDCAT000000000000007","代码审查","SCENARIO","使用场景",{"categoryNo":208,"categoryName":209,"taxonomyType":205,"taxonomyTypeDesc":206},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":211,"categoryName":212,"taxonomyType":205,"taxonomyTypeDesc":206},"01JBSEEDCAT000000000000023","Skill与智能体开发",[214,215,216,217,218,219,220,221,222,223,224,225,226,227,25,228,28],"valid skill","valid","code review","testing","review","test","routing","code","validation","projects","fixture skill","task","fixture","basic","complete"]