component-workflow
Installation
SKILL.md
Component Workflow
Overview
This skill provides step-by-step guidance for adding new ECS components to the game engine, ensuring consistency with architectural patterns.
Current Architecture: Instance-based IComponentEditor with constructor injection (no static methods). Uses ComponentEditorRegistry.DrawComponent<T>() for UI framing and leverages UI infrastructure (UIPropertyRenderer, VectorPanel, LayoutDrawer, drag-drop targets).
When to Use
Invoke this skill when:
- Adding or extending ECS component types
- Implementing component serialization or custom JSON converters
- Creating component editors for the Properties panel
- Understanding ComponentEditorRegistry integration or UI infrastructure patterns