assets-shader-get-data
Installation
SKILL.md
Assets / Shader / Get Data
Get detailed data about a shader asset in the Unity project. Returns shader properties, subshaders, passes, compilation errors, and supported status. Use 'assets-find' tool with filter 't:Shader' to find shaders, or 'assets-shader-list-all' tool to list all shader names.
Toggles (most default off to keep responses small)
includeMessages(defaulttrue) — shader compilation messages.includeProperties(defaultfalse) — uniforms list.includeSubshaders(defaultfalse) — subshader and pass structure.includeSourceCode(defaultfalse) — pass source code. ImpliesincludeSubshadersand can produce very large responses.
Path-scoped reads (token-saving)
Supply paths (a list of paths) to read only the listed fields/elements via Reflector.TryReadAt, or viewQuery (a ViewQuery) to navigate to a subtree and/or filter by name regex / max depth / type via Reflector.View. The result populates View on the returned ShaderData. These two parameters are mutually exclusive.
Path syntax
fieldName, nested/field, arrayField/[i], dictField/[key]. Leading #/ is stripped.