@codehz/ecs 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/ecs/SKILL.md +5 -0
package/package.json
CHANGED
package/skills/ecs/SKILL.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ecs
|
|
3
|
+
description: "Guide for using @codehz/ecs — a high-performance ECS (Entity Component System) library in TypeScript. Use when: writing application code with @codehz/ecs; understanding deferred command buffering, archetype storage, queries, relations, lifecycle hooks, and sync() semantics; avoiding common ECS pitfalls like stale reads, dangling EntityId references, or sync() inside iteration."
|
|
4
|
+
---
|
|
5
|
+
|
|
1
6
|
# @codehz/ecs — User Guide for AI Coding Assistants
|
|
2
7
|
|
|
3
8
|
**Purpose**: This document defines the strict usage contract for `@codehz/ecs`. Follow these rules when writing application code. Violating them is the most common source of subtle, hard-to-debug errors.
|