unity-shader

Manage Unity shader files and inspect shader source and properties.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/lrbjk/FenShen_Remake_V0 --skill unity-shader-lrbjk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-shader
Source: https://github.com/lrbjk/FenShen_Remake_V0/tree/main/.codex/skills/unity-skills/skills/shader
Command: npx skills add https://github.com/lrbjk/FenShen_Remake_V0 --skill unity-shader-lrbjk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Many Unity projects require creating, inspecting, organizing, and validating shader assets, which is error-prone when done manually across many files and render pipelines. This Skill centralizes shader creation, reading, listing, validation, and keyword/variant inspection to streamline shader workflows and reduce integration errors.

Core Features & Use Cases

  • Create and scaffold shaders from templates (Unlit, Standard, URP Lit/Unlit) to enforce consistent structure and naming conventions.
  • Read and list shader assets to quickly locate source, count properties, and enumerate keywords for debugging or refactoring.
  • Analyze and validate shaders by checking compilation errors, counting variants and passes for performance reviews, and toggling global keywords for rendering tests.
  • Use Case: Convert a legacy shader to a URP-compatible template, inspect its properties and keywords, and verify variant counts before a mobile build.

Quick Start

Use the unity-shader skill to create an Unlit shader named Custom/MyUnlit and save it to Assets/Shaders/MyUnlit.shader.

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

You can create a URP shader by scaffolding it from Unlit, Standard, or URP Lit/Unlit templates, which enforces consistent structure and naming conventions across your Unity project assets.

How do I check Unity shader compilation errors and count variants?

You can check Unity shader compilation errors and count variants by inspecting the shader source, which returns structured metadata including variant counts, passes, and keywords for performance reviews.

Can I convert a legacy Unity shader to URP?

Yes, you can convert a legacy shader to a URP-compatible template, inspect its properties and keywords, and verify variant counts before a mobile build to reduce integration errors.

How do I list Unity shader properties and enumerate keywords?

You can list Unity shader properties and enumerate keywords by reading the shader assets, which quickly locates source files and returns structured metadata for debugging or refactoring.

Does this shader validation workflow support HLSL and ShaderLab?

Yes, the workflow supports Unity shader files written in HLSL and ShaderLab, allowing you to inspect source code, toggle global keywords, and analyze variants during development.