diff --git a/skills/ui-ugui/SKILL.md b/skills/ui-ugui/SKILL.md index 7134d7a..eff5f51 100644 --- a/skills/ui-ugui/SKILL.md +++ b/skills/ui-ugui/SKILL.md @@ -12,7 +12,7 @@ allowed-tools: Understand existing Unity uGUI, make targeted edits, and generate new Canvas-based hierarchies. When working with ScrollRect/ScrollView, read the reference file: -- `references/scrollview-setup.md` — Required hierarchy, setup rules, and common failures +- [references/scrollview-setup.md](references/scrollview-setup.md) — Required hierarchy, setup rules, and common failures ## Scope diff --git a/skills/ui-uitk/SKILL.md b/skills/ui-uitk/SKILL.md index aad23a2..d1e7cef 100644 --- a/skills/ui-uitk/SKILL.md +++ b/skills/ui-uitk/SKILL.md @@ -14,13 +14,13 @@ Understand existing Unity UI Toolkit code, make targeted edits, generate new UXM ## References Read these as needed: -- `references/uss-guide.md` — USS patterns and examples -- `references/svg-icons.md` — SVG icon generation (only when generating icons) -- `references/common-issues.md` — Common mistakes to avoid -- `references/ui-runtime-binding.md` — Patterns and guide to bind data to UI at runtime (only when requested or when bindings are involved) -- `references/painter2d.md` — Painter2D API for custom visuals: gradients, shapes, arcs, procedural drawing (read this whenever gradients, custom shapes, progress rings, procedural drawing, or any visual beyond what USS can express is needed) -- `references/pointermanipulator-guide.md` — Patterns and guide to create and use Manipulators (only when requested or when manipulators are involved). This helps with setting up drag and drop features or simple event handling for a Visual Element. -- `references/custom-elements.md` — Custom UI Element patterns and guide to create reusable components with UXML, USS, and C#. This helps with creating complex UI components for reuse across the project. +- [references/uss-guide.md](references/uss-guide.md) — USS patterns and examples +- [references/svg-icons.md](references/svg-icons.md) — SVG icon generation (only when generating icons) +- [references/common-issues.md](references/common-issues.md) — Common mistakes to avoid +- [references/ui-runtime-binding.md](references/ui-runtime-binding.md) — Patterns and guide to bind data to UI at runtime (only when requested or when bindings are involved) +- [references/painter2d.md](references/painter2d.md) — Painter2D API for custom visuals: gradients, shapes, arcs, procedural drawing (read this whenever gradients, custom shapes, progress rings, procedural drawing, or any visual beyond what USS can express is needed) +- [references/pointermanipulator-guide.md](references/pointermanipulator-guide.md) — Patterns and guide to create and use Manipulators (only when requested or when manipulators are involved). This helps with setting up drag and drop features or simple event handling for a Visual Element. +- [references/custom-elements.md](references/custom-elements.md) — Custom UI Element patterns and guide to create reusable components with UXML, USS, and C#. This helps with creating complex UI components for reuse across the project. Paths are relative to this skill's folder — read `references/uss-guide.md` directly. diff --git a/skills/ui-uitk/references/custom-elements.md b/skills/ui-uitk/references/custom-elements.md index 923f794..b79651c 100644 --- a/skills/ui-uitk/references/custom-elements.md +++ b/skills/ui-uitk/references/custom-elements.md @@ -17,7 +17,7 @@ Guide for creating custom VisualElements using Unity 6+ `[UxmlElement]` and `[Ux Unity 6+ uses attribute-based custom elements. The old factory pattern (`IUxmlFactory`, `UxmlTraits`) is **deprecated**. -### ⚠️ CRITICAL: Namespace Declaration +### ⚠ CRITICAL: Namespace Declaration **Never include assembly names in UXML namespace declarations:**