unity-shader

Create and inspect Unity ShaderLab/HLSL shaders with property and validity checks.

1|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/muddyrain/valley-mas --skill unity-shader-muddyrain
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-shader
Source: https://github.com/muddyrain/valley-mas/tree/main/.codex/skills/unity-skills/skills/shader
Command: npx skills add https://github.com/muddyrain/valley-mas --skill unity-shader-muddyrain

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Shader development in Unity often involves manually creating, inspecting, and organizing shader files, which can be error-prone and time-consuming. This Skill provides a structured, repeatable workflow to manage shader lifecycles and validations within Unity projects.

Core Features & Use Cases

  • Create shader files from templates (Unlit, Standard, Transparent) and save to a specified path.
  • Read shader source code, list available shaders, and find shaders by name.
  • Inspect shader properties, check for compilation errors, and query or set keywords for global and material usage.
  • Use cases include creating URP shaders, validating shader integrity, and organizing shaders under a coherent naming convention.

Quick Start

Create an unlit shader named "Custom/MyShader" and save it to Assets/Shaders/MyShader.shader using the shader_create skill.

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 Unity shader from a template?

You can inspect shader properties by reading the shader source code to query its attributes, check for compilation errors, and validate keyword usage for both global and material-level applications.

Can I check for Unity shader compilation errors programmatically?

Yes, you can verify shader validity by checking for compilation errors and querying property definitions, ensuring your ShaderLab and HLSL code is structurally sound before applying it to materials.

Does this workflow support both ShaderLab and HLSL in Unity?

Yes, the workflow supports both ShaderLab and HLSL, allowing you to create, read, and inspect shaders across your Unity project while maintaining a coherent naming convention.

What is the best way to list available shaders in a Unity project?

The best way to list available shaders is to use the shader querying workflow, which finds shaders by name and lists them across the project to streamline shader organization and management.

How do I generate a URP shader in Unity?

You can generate URP shaders by creating new shader files from standard or unlit templates, saving them to a specified directory, and then inspecting their properties to ensure they meet URP requirements.