unity-shader

Installation
SKILL.md

Unity Shader Skills

Work with .shader HLSL/ShaderLab files: create from templates, read source, list, find, inspect keywords, properties and variants, check errors, delete, and toggle global keywords. Parameters come from the schema (GET /skills/schema?names=<skill>&wire=v2); execution and dryRun rules: root SKILL.md. For node-based graphs use the shadergraph module.

When to use

  • Creating or editing handwritten shaders
  • Listing or finding .shader files
  • Inspecting properties and keywords

Rules

  • shader_create takes template as raw ShaderLab/HLSL source, written verbatim. It is not a preset name: template="Standard" writes the word Standard into the file. For a URP preset use shader_create_urp with type "Unlit" or "Lit".
  • Shader names are case-sensitive and path-like: "Standard" or "Universal Render Pipeline/Lit", not "standard" or "URP Lit".
  • shader_get_properties returns property definitions (name, type, range), not current values. For a material's values use material_get_properties.
  • Material property changes belong to the material module; per-material keywords use material_set_keyword. shader_set_global_keyword toggles a global keyword.

Pitfalls

  • shader_set_property, shader_apply and shader_assign do not exist. To change a material's shader use material_set_shader; to set a material value use material_set_float, material_set_color and the other material_set_* skills.

Skills

Installs
100
GitHub Stars
1.9K
First Seen
Mar 14, 2026