unity-shader

Create, read, list, find, delete, and validate Unity HLSL/ShaderLab .shader assets.

6|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/dyCuong03/unity-agent-team --skill unity-shader-dycuong03
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: unity-shader
Source: https://github.com/dyCuong03/unity-agent-team/tree/main/.claude/skills/unity-skills/skills/shader
Command: npx skills add https://github.com/dyCuong03/unity-agent-team --skill unity-shader-dycuong03

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the manual, error-prone work of creating, editing, inspecting, and troubleshooting Unity HLSL/ShaderLab .shader assets.

Core Features & Use Cases

  • Create shader files from templates: Generate .shader sources (including URP Unlit/Lit templates) and write them to your project paths.
  • Inspect shader content quickly: Read shader source, list and find shaders, and extract defined properties, keywords, and variant counts for performance checks.
  • Validate shader health: Check compilation errors and diagnose why a shader fails to build.
  • Control global shader keywords safely: Enable or disable global keywords to match runtime rendering configurations.

Quick Start

Create an unlit shader at Assets/Shaders/MyUnlit.shader using an appropriate template and then read back the generated source.

Frequently Asked Questions about unity-shader

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new URP shader file in Unity?▼

To create a URP shader, generate a .shader source file from an Unlit or Lit template and write it directly to your desired Unity project path.

Why does my Unity shader fail to compile and how can I validate it?▼

You can validate Unity shader health by checking for compilation errors, diagnosing build failures, and inspecting defined properties and keywords for correctness.

Can I extract shader keywords and variant counts for performance analysis?▼

Yes, you can inspect shader content by reading source files to extract defined properties, keywords, and shader variant counts for performance checks across ShaderLab and URP workflows.

How do I toggle global shader keywords in Unity?▼

You can safely enable or disable global shader keywords to match your runtime rendering configurations while operating under enforced read-only versus mutating operation guardrails.

What is the best way to manage and find existing HLSL shader assets?▼

Managing HLSL shader assets involves listing, finding, reading, and deleting .shader source files to maintain project organization and validate their defined interfaces.