[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KH50PWYEFQDCGYBZ0326F1":3,"skill-same:01M6KH50PWYEFQDCGYBZ0326F1":66},{"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":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6KH50PWYEFQDCGYBZ0326F1","dots-transform-patterns",null,"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.","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\u002Fworkspace\u002Fdots-program\u002Fscratch\u002Fwave-2-orchestrator-drafts\u002Fdots-transform-patterns\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"dots transform patterns","patterns","transform","input","hierarchy","custom","child","at","socket","matrix","with","components","systems","runtime","cost","use","model","mount","system","boundary","2026-11-10 10:12:30",false,"---\nname: dots-transform-patterns\ndescription: 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.\n---\n\n# Transform Patterns — Senior Patterns\n\nEntities 1.x transforms are a tiny set of components with a strict contract: you write `LocalTransform`, the transform system writes `LocalToWorld`. Mix them up — write `LocalToWorld` directly, store world position in a custom field, or thrash `Parent` add\u002Fremove — and you get silent stale data, lagging children, or sky-high frame cost.\n\n## Intent\n\nUse the right components at the right times. Respect the writable-input \u002F derived-output split. Treat hierarchy structural changes as expensive.\n\n## The component model\n\n| Component | Role | Writable by user code? |\n|---|---|---|\n| `LocalTransform` | Position + Rotation + uniform Scale, parent-relative if `Parent` present | **Yes** — this is the truth |\n| `LocalToWorld` | World-space 4×4 matrix | **No** — written by `TransformSystemGroup` |\n| `Parent` | Reference to the parent entity | Yes (structural change) |\n| `Child` | `DynamicBuffer\u003CChild>` auto-maintained on parents | **No** — maintained by `ParentSystem` |\n| `PreviousParent` | Previous frame's parent (system bookkeeping) | No |\n| `PostTransformMatrix` | Extra local matrix appended after LocalTransform | Yes — required for non-uniform scale, shear |\n\n**Key rule**: `LocalTransform.Scale` is a `float` (uniform). For non-uniform scale or shear, add `PostTransformMatrix` and bake the float3 scale into its `Value`.\n\n## Senior pattern\n\n```csharp\n\u002F\u002F Root entity (no Parent): LocalTransform is world-space.\nstate.EntityManager.AddComponentData(rootEntity, LocalTransform.FromPositionRotationScale(\n    new float3(0, 5, 0), quaternion.identity, 1f));\n\n\u002F\u002F Child entity: LocalTransform is PARENT-RELATIVE.\nstate.EntityManager.AddComponentData(childEntity, LocalTransform.FromPosition(new float3(0, 1, 0)));\nstate.EntityManager.AddComponentData(childEntity, new Parent { Value = rootEntity });\n\n\u002F\u002F Reading position correctly:\n\u002F\u002F   For gameplay: read LocalTransform (local-space) and apply yourself\n\u002F\u002F   For rendering \u002F world queries: read LocalToWorld (RO output) — never write it\nforeach (var l2w in SystemAPI.Query\u003CRefRO\u003CLocalToWorld>>().WithAll\u003CEnemyTag>())\n{\n    var worldPos = l2w.ValueRO.Position;\n    \u002F\u002F ...\n}\n```\n\n## Reparenting (the expensive part)\n\n```csharp\n\u002F\u002F Adding\u002Fremoving Parent is a STRUCTURAL CHANGE.\n\u002F\u002F Must go through ECB; cannot mutate inside a query iteration.\necb.AddComponent(child, new Parent { Value = newParent });\necb.SetComponent(child, LocalTransform.FromPosition(localOffset)); \u002F\u002F re-set local-space pos\n\n\u002F\u002F Detaching: remove the Parent component. Child's LocalTransform becomes its world-space\n\u002F\u002F transform (which was, until now, the local-space relative to the old parent).\n\u002F\u002F Senior code SETS the LocalTransform to the desired world-space pose BEFORE removing Parent,\n\u002F\u002F otherwise the child snaps to its old local offset interpreted as world.\necb.SetComponent(child, currentWorldTransform);  \u002F\u002F freeze world pose\necb.RemoveComponent\u003CParent>(child);\n```\n\nThe transform system updates `Child` and `LocalToWorld` **next frame** after the structural change plays back. Readers in the same frame see stale matrices.\n\n## Custom transforms (advanced opt-out)\n\nYou can replace `LocalTransform` with a smaller custom component (e.g. `LocalTransform2D` with only `position2 + rotZ`) and write your own system in `TransformSystemGroup` that produces `LocalToWorld`. Use cases:\n- 2D games where rotation around X\u002FY is impossible by design\n- Massive entity counts where the LocalTransform size matters (96 bytes vs 16)\n- Billboards, decals, projected geometry\n\nTradeoff: you give up all Entities Graphics transform integration. Worth it only at >50k of these entities, or when the constraint is structural (truly 2D).\n\n## Anti-patterns\n\n- ❌ Writing into `LocalToWorld` from gameplay code. The transform system overwrites it next frame — your write \"disappears\" and looks like a bug.\n- ❌ Storing world position in a custom field on a gameplay component. Now `LocalTransform` and your field are dual-ownership — they will diverge. Read `LocalToWorld` for world position instead.\n- ❌ `EntityManager.AddComponent\u003CParent>` per frame for a transient mount (e.g. \"pickup attached for 5 frames\"). Pure archetype churn. Use a follow-system that writes child position from parent's `LocalToWorld` without an actual `Parent` component.\n- ❌ Using `LocalTransform.Scale` with `float3(1, 2, 1)` semantics — it's a single float. Non-uniform scale requires `PostTransformMatrix`.\n- ❌ The 0.x components: `Translation`, `Rotation`, `NonUniformScale`, `Scale`, `CompositeRotation`, `CompositeScale`. **All gone.** Refuse code that uses them.\n\n## Failure modes\n\n| Symptom | Cause |\n|---|---|\n| Child entity at origin | Has `Parent` but no `LocalTransform`; or `LocalTransform` zeroed because the Baker chose `TransformUsageFlags.None` |\n| Child position lags one frame | Reader runs before `TransformSystemGroup` resolved the new `LocalToWorld` — order the reader after the group, or read `LocalTransform` directly and recompute |\n| Scale visible only on one axis | Used `LocalTransform.Scale` for non-uniform; need `PostTransformMatrix` |\n| 5× frame cost on reparent-heavy scenes | `Parent` add\u002Fremove triggering archetype changes for thousands of entities per frame |\n| Detached child snaps to wrong place | Removed `Parent` without first setting `LocalTransform` to the intended world pose |\n| Hierarchy seems to work but `Child` buffer is empty | `ParentSystem` runs in `TransformSystemGroup` — read `Child` AFTER that group, not before |\n\n## Runtime verification (Tester Verification Contract)\n\n- **Static:** grep for `RefRW\u003CLocalToWorld>` or `SetComponent\u003CLocalToWorld>(...)` outside `TransformSystemGroup`-resident systems — every match is a bug. Grep for 0.x types (`Translation`, `Rotation`, `NonUniformScale`) — every match is a refactor target.\n- **Runtime:** spawn N parented entities, move parents, snapshot child `LocalToWorld` positions, compare against `parent.LocalToWorld * child.LocalTransform`. Mismatch → reading before `TransformSystemGroup` ran.\n\n## Performance notes\n\n- `LocalTransform` size: 32 bytes (position 12 + rotation 16 + scale 4). `LocalToWorld`: 64 bytes. Both on every transform-relevant entity. For 100k entities this is meaningful.\n- Reparenting cost = structural change cost = archetype move. Batched via ECB it's tolerable; per-frame it isn't.\n- `PostTransformMatrix` adds 64 bytes per entity that needs it. Only attach where non-uniform scale or shear is actually required.\n\n## Compile \u002F editor safety\n\n- `TransformUsageFlags` at the Baker boundary determines which transform components even exist on the runtime entity. Choosing `.None` and then expecting `LocalTransform` to be there is a silent bug. See `dots-baking-patterns`.\n- `[WriteGroup(typeof(LocalToWorld))]` lets a custom transform system exclude default writers. Required when implementing a custom transform.\n\n## Entities version notes (1.4.x)\n\n- `LocalTransform` — current. Replaces 0.x `Translation` + `Rotation` + `NonUniformScale`.\n- `LocalToWorld` — current, same name as 0.x but now an explicit RO output.\n- `Parent` + `Child` (`DynamicBuffer\u003CChild>`) — current. `PreviousParent` is system-internal.\n- `PostTransformMatrix` — current, replaces 0.x `CompositeScale` for non-uniform \u002F shear.\n- `TransformSystemGroup` runs `ParentSystem` then `LocalToWorldSystem` — order matters for readers.\n\n## See also\n- `dots-baking-patterns` — `TransformUsageFlags` selects which transform components a baker emits\n- `dots-ecb-orchestration` — reparenting from jobs must go through ECB\n- `dots-update-groups` — readers of `LocalToWorld` must run after `TransformSystemGroup`\n","# Transform Patterns — Senior Patterns\n\nEntities 1.x transforms are a tiny set of components with a strict contract: you write `LocalTransform`, the transform system writes `LocalToWorld`. Mix them up — write `LocalToWorld` directly, store world position in a custom field, or thrash `Parent` add\u002Fremove — and you get silent stale data, lagging children, or sky-high frame cost.\n\n## Intent\n\nUse the right components at the right times. Respect the writable-input \u002F derived-output split. Treat hierarchy structural changes as expensive.\n\n## The component model\n\n| Component | Role | Writable by user code? |\n|---|---|---|\n| `LocalTransform` | Position + Rotation + uniform Scale, parent-relative if `Parent` present | **Yes** — this is the truth |\n| `LocalToWorld` | World-space 4×4 matrix | **No** — written by `TransformSystemGroup` |\n| `Parent` | Reference to the parent entity | Yes (structural change) |\n| `Child` | `DynamicBuffer\u003CChild>` auto-maintained on parents | **No** — maintained by `ParentSystem` |\n| `PreviousParent` | Previous frame's parent (system bookkeeping) | No |\n| `PostTransformMatrix` | Extra local matrix appended after LocalTransform | Yes — required for non-uniform scale, shear |\n\n**Key rule**: `LocalTransform.Scale` is a `float` (uniform). For non-uniform scale or shear, add `PostTransformMatrix` and bake the float3 scale into its `Value`.\n\n## Senior pattern\n\n```csharp\n\u002F\u002F Root entity (no Parent): LocalTransform is world-space.\nstate.EntityManager.AddComponentData(rootEntity, LocalTransform.FromPositionRotationScale(\n    new float3(0, 5, 0), quaternion.identity, 1f));\n\n\u002F\u002F Child entity: LocalTransform is PARENT-RELATIVE.\nstate.EntityManager.AddComponentData(childEntity, LocalTransform.FromPosition(new float3(0, 1, 0)));\nstate.EntityManager.AddComponentData(childEntity, new Parent { Value = rootEntity });\n\n\u002F\u002F Reading position correctly:\n\u002F\u002F   For gameplay: read LocalTransform (local-space) and apply yourself\n\u002F\u002F   For rendering \u002F world queries: read LocalToWorld (RO output) — never write it\nforeach (var l2w in SystemAPI.Query\u003CRefRO\u003CLocalToWorld>>().WithAll\u003CEnemyTag>())\n{\n    var worldPos = l2w.ValueRO.Position;\n    \u002F\u002F ...\n}\n```\n\n## Reparenting (the expensive part)\n\n```csharp\n\u002F\u002F Adding\u002Fremoving Parent is a STRUCTURAL CHANGE.\n\u002F\u002F Must go through ECB; cannot mutate inside a query iteration.\necb.AddComponent(child, new Parent { Value = newParent });\necb.SetComponent(child, LocalTransform.FromPosition(localOffset)); \u002F\u002F re-set local-space pos\n\n\u002F\u002F Detaching: remove the Parent component. Child's LocalTransform becomes its world-space\n\u002F\u002F transform (which was, until now, the local-space relative to the old parent).\n\u002F\u002F Senior code SETS the LocalTransform to the desired world-space pose BEFORE removing Parent,\n\u002F\u002F otherwise the child snaps to its old local offset interpreted as world.\necb.SetComponent(child, currentWorldTransform);  \u002F\u002F freeze world pose\necb.RemoveComponent\u003CParent>(child);\n```\n\nThe transform system updates `Child` and `LocalToWorld` **next frame** after the structural change plays back. Readers in the same frame see stale matrices.\n\n## Custom transforms (advanced opt-out)\n\nYou can replace `LocalTransform` with a smaller custom component (e.g. `LocalTransform2D` with only `position2 + rotZ`) and write your own system in `TransformSystemGroup` that produces `LocalToWorld`. Use cases:\n- 2D games where rotation around X\u002FY is impossible by design\n- Massive entity counts where the LocalTransform size matters (96 bytes vs 16)\n- Billboards, decals, projected geometry\n\nTradeoff: you give up all Entities Graphics transform integration. Worth it only at >50k of these entities, or when the constraint is structural (truly 2D).\n\n## Anti-patterns\n\n- ❌ Writing into `LocalToWorld` from gameplay code. The transform system overwrites it next frame — your write \"disappears\" and looks like a bug.\n- ❌ Storing world position in a custom field on a gameplay component. Now `LocalTransform` and your field are dual-ownership — they will diverge. Read `LocalToWorld` for world position instead.\n- ❌ `EntityManager.AddComponent\u003CParent>` per frame for a transient mount (e.g. \"pickup attached for 5 frames\"). Pure archetype churn. Use a follow-system that writes child position from parent's `LocalToWorld` without an actual `Parent` component.\n- ❌ Using `LocalTransform.Scale` with `float3(1, 2, 1)` semantics — it's a single float. Non-uniform scale requires `PostTransformMatrix`.\n- ❌ The 0.x components: `Translation`, `Rotation`, `NonUniformScale`, `Scale`, `CompositeRotation`, `CompositeScale`. **All gone.** Refuse code that uses them.\n\n## Failure modes\n\n| Symptom | Cause |\n|---|---|\n| Child entity at origin | Has `Parent` but no `LocalTransform`; or `LocalTransform` zeroed because the Baker chose `TransformUsageFlags.None` |\n| Child position lags one frame | Reader runs before `TransformSystemGroup` resolved the new `LocalToWorld` — order the reader after the group, or read `LocalTransform` directly and recompute |\n| Scale visible only on one axis | Used `LocalTransform.Scale` for non-uniform; need `PostTransformMatrix` |\n| 5× frame cost on reparent-heavy scenes | `Parent` add\u002Fremove triggering archetype changes for thousands of entities per frame |\n| Detached child snaps to wrong place | Removed `Parent` without first setting `LocalTransform` to the intended world pose |\n| Hierarchy seems to work but `Child` buffer is empty | `ParentSystem` runs in `TransformSystemGroup` — read `Child` AFTER that group, not before |\n\n## Runtime verification (Tester Verification Contract)\n\n- **Static:** grep for `RefRW\u003CLocalToWorld>` or `SetComponent\u003CLocalToWorld>(...)` outside `TransformSystemGroup`-resident systems — every match is a bug. Grep for 0.x types (`Translation`, `Rotation`, `NonUniformScale`) — every match is a refactor target.\n- **Runtime:** spawn N parented entities, move parents, snapshot child `LocalToWorld` positions, compare against `parent.LocalToWorld * child.LocalTransform`. Mismatch → reading before `TransformSystemGroup` ran.\n\n## Performance notes\n\n- `LocalTransform` size: 32 bytes (position 12 + rotation 16 + scale 4). `LocalToWorld`: 64 bytes. Both on every transform-relevant entity. For 100k entities this is meaningful.\n- Reparenting cost = structural change cost = archetype move. Batched via ECB it's tolerable; per-frame it isn't.\n- `PostTransformMatrix` adds 64 bytes per entity that needs it. Only attach where non-uniform scale or shear is actually required.\n\n## Compile \u002F editor safety\n\n- `TransformUsageFlags` at the Baker boundary determines which transform components even exist on the runtime entity. Choosing `.None` and then expecting `LocalTransform` to be there is a silent bug. See `dots-baking-patterns`.\n- `[WriteGroup(typeof(LocalToWorld))]` lets a custom transform system exclude default writers. Required when implementing a custom transform.\n\n## Entities version notes (1.4.x)\n\n- `LocalTransform` — current. Replaces 0.x `Translation` + `Rotation` + `NonUniformScale`.\n- `LocalToWorld` — current, same name as 0.x but now an explicit RO output.\n- `Parent` + `Child` (`DynamicBuffer\u003CChild>`) — current. `PreviousParent` is system-internal.\n- `PostTransformMatrix` — current, replaces 0.x `CompositeScale` for non-uniform \u002F shear.\n- `TransformSystemGroup` runs `ParentSystem` then `LocalToWorldSystem` — order matters for readers.\n\n## See also\n- `dots-baking-patterns` — `TransformUsageFlags` selects which transform components a baker emits\n- `dots-ecb-orchestration` — reparenting from jobs must go through ECB\n- `dots-update-groups` — readers of `LocalToWorld` must run after `TransformSystemGroup`\n",{"name":5,"description":7},"main","fe4746b9f07e6c7c2b6d3932002183af9b9f6fa2","workspace\u002Fdots-program\u002Fscratch\u002Fwave-2-orchestrator-drafts\u002Fdots-transform-patterns",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":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add dyCuong03\u002Funity-agent-team --skill dots-transform-patterns",{"tool":58,"command":59},"bunx","bunx skills add dyCuong03\u002Funity-agent-team --skill dots-transform-patterns",{"tool":61,"command":62},"pnpm","pnpm dlx skills add dyCuong03\u002Funity-agent-team --skill dots-transform-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FdyCuong03\u002Funity-agent-team\u002Fblob\u002Fmain\u002Fworkspace\u002Fdots-program\u002Fscratch\u002Fwave-2-orchestrator-drafts\u002Fdots-transform-patterns\u002FSKILL.md",true,[],[67,89,114,134,155,188],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"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",[],[74,75,38,76,77,37,78,79,34,80,81,82,83,84,85,86,87,88],"update","dots update groups","simulation","how","choose","work","never","peer","deterministic","how to","coupling","ecs","bugs","frame","value",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":100,"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",[95],{"categoryNo":96,"categoryName":97,"taxonomyType":98,"taxonomyTypeDesc":99},"01JBSEEDCAT000000000000037","律师与法务","PROFESSION","适用职业",[20,101,102,103,104,105,106,37,35,34,107,108,109,32,110,111,29,87,112,113],"singleton","dots singleton patterns","component","config","state","game","writer","time","shared","contract","as","ecb","gating",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"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",[],[121,122,123,124,30,105,38,125,126,79,127,128,34,32,129,130,22,131,132,133],"bridge","hybrid","dots hybrid bridge","mesh","assets","Rules","read","view","trigger","unity","material","for","managed",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"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",[],[141,142,85,143,144,30,145,146,147,35,79,148,149,20,150,151,22,152,153,154],"event driven","driven","event","dots event driven ecs","change","ui","network","command","anti-patterns","pattern","structural","events","static","request",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":172,"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",[161,166,169],{"categoryNo":162,"categoryName":163,"taxonomyType":164,"taxonomyTypeDesc":165},"01JBSEEDCAT000000000000007","代码审查","SCENARIO","使用场景",{"categoryNo":167,"categoryName":168,"taxonomyType":164,"taxonomyTypeDesc":165},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":170,"categoryName":171,"taxonomyType":164,"taxonomyTypeDesc":165},"01JBSEEDCAT000000000000023","Skill与智能体开发",[173,174,175,176,177,178,179,180,181,182,183,184,185,186,130,187,132],"valid skill","valid","code review","testing","review","test","routing","code","validation","projects","fixture skill","task","fixture","basic","complete",{"skillNo":189,"name":190,"nameZh":6,"description":191,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":192,"categories":193,"keywords":194,"publishedAt":39},"01M6KH48R1VP1FPD07Y8RHD1QM","unsafe_commands","Skill fixture containing unsafe shell commands for security testing. Should be flagged by the validator.","https:\u002F\u002Fgithub.com\u002FdyCuong03\u002Funity-agent-team\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Funsafe_commands\u002FSKILL.md",[],[195,196,197,176,198,199,185,200,201,132,202],"commands","unsafe","unsafe commands","security","shell","Security Testing","validator","skill fixture"]