unity-search
Installation
SKILL.md
unity-search — one query, shown before it runs
A request shaped like find, locate, list, where is, which ones use, what references has one good answer: a single Unity Search query, written out, with a word about what it searches.
Load what the request needs
| The situation | Read |
|---|---|
| "Where is X", "find all materials in Assets/UI", "which prefabs use X" | §Building the query, then §The answer, always two lines |
"What references this texture" — ref= relationships |
reference/query-patterns.md §1–§3 |
| "Which scene objects have a Rigidbody", "show every Light in the scene" — scene component queries | §Building the query — say it searches the loaded scenes |
| "What Unity Search query do I use"; "open the Search window with that" | §Building the query, §Open it in a live Editor |
Anything past a bare t:<type> — folders, labels, references, expressions |
reference/query-patterns.md §1–§3 |
| Mapping the user's wording onto a query shape | reference/query-patterns.md §4 |
| Opening the window, or an open attempt that failed | §Open it in a live Editor |
| The question is one Search cannot settle — shader properties, missing scripts, a full audit | §When Search cannot answer, then unity-debug → reference/editor-control.md |
| "Which assets does this change affect" — a diff question, not a find question | unity vcs affected in unity-cli → reference/version-control.md |
| The CLI is not installed, or no Editor answers | skill unity-cli |