unity-shader

Create, inspect, and manage Unity HLSL and ShaderLab shader files.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/Rayzerrek/dotfiles --skill unity-shader-rayzerrek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-shader
Source: https://github.com/Rayzerrek/dotfiles/tree/main/.pi/agent/skills/unity-shader
Command: npx skills add https://github.com/Rayzerrek/dotfiles --skill unity-shader-rayzerrek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you create, inspect, and maintain Unity HLSL and ShaderLab shader files without manually digging through project folders or shader source.

Core Features & Use Cases

  • Create handwritten shaders from a default unlit template or a URP unlit or lit template.
  • Read shader source, list all shaders, and find a shader by name or path.
  • Inspect declared properties, keywords, compilation errors, and variant counts to debug and optimize rendering.
  • Use it when you need to add a custom effect, verify shader inputs, or review keyword complexity before shipping a Unity project.

Quick Start

Use the unity-shader skill to inspect the shader at Assets/Shaders/MyShader.shader and summarize its properties, keywords, and any compilation errors.

Frequently Asked Questions about unity-shader

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

FAQPage Schema
How do I inspect Unity shader properties and keywords without reading the source?

You can inspect Unity shader properties, enumerate keywords, and check compilation errors directly. The skill parses ShaderLab and HLSL files to report declared inputs, variant counts, and global keyword states for production shader maintenance.

Can I create URP shader templates for custom rendering effects in Unity?

Yes, you can create URP shader templates. The skill generates handwritten Unity shaders from default unlit, URP unlit, or URP lit templates to jumpstart custom rendering effects without starting from scratch.

What is the best way to find and list all ShaderLab files across a Unity project?

The best way to list all ShaderLab files is using project-wide shader discovery. The skill searches your Unity project directories to find, list, and manage shaders by name or path without manual digging.

How do I check HLSL compilation errors and count shader variants before shipping?

You can check HLSL compilation errors and count shader variants by inspecting the shader file. The skill analyzes Unity shaders to report compilation issues and variant counts, helping verify keyword complexity before project delivery.

Does this Unity shader management workflow support handwritten HLSL files?

Yes, this Unity shader management workflow fully supports handwritten HLSL files. It manages custom shader workflows by reading, creating, and inspecting raw ShaderLab source code for debugging and maintaining custom rendering effects.

Why should I review shader keyword complexity and variant counts in Unity?

Reviewing shader keyword complexity and variant counts in Unity prevents rendering performance issues. The skill inspects declared properties and enumerates keywords to help you optimize global keyword control and reduce unnecessary shader variants.