Shader Compiler Check

Automate HLSL shader compilation verification and type checking for DirectX 11 projects.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/SYUNTA99/NS-ENGINE --skill shader-compiler-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Shader Compiler Check
Source: https://github.com/SYUNTA99/NS-ENGINE/tree/main/.claude/skills/shader-compiler-check
Command: npx skills add https://github.com/SYUNTA99/NS-ENGINE --skill shader-compiler-check

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

HLSL shader compilation and type-check validation to catch errors early in the DX11 workflow.

Core Features & Use Cases

  • Automated compilation checks: verifies shader files compile to appropriate targets (vs_5_0, ps_5_0, etc.) based on file naming.
  • Semantic and layout validation: checks for common pitfalls like row_major usage and cbuffer alignment with corresponding C++ definitions.
  • Use Case: In a DX11 project, run on all assets in assets/shader to ensure build compatibility before release.

Quick Start

Run the shader-compiler-check on the target shader path to validate compilation.

Frequently Asked Questions about Shader Compiler Check

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

FAQPage Schema
How do I validate HLSL shader compilation in a DirectX 11 project?

HLSL shader compilation validation verifies that shader files compile to appropriate targets like vs_5_0 or ps_5_0 based on file naming conventions. This automated check runs on shader assets to ensure build compatibility before release.

How do I check cbuffer alignment between HLSL and C++ codebases?

Cbuffer alignment validation checks for common pitfalls like row_major usage and verifies layout consistency between HLSL shader definitions and corresponding C++ structures. This ensures memory layout matches across both codebases.

Can I run HLSL shader validation in a CI pipeline?

HLSL shader validation applies to CI pipelines by automating compilation verification and type checking. Running checks on target shader paths enables early detection of syntax, semantic, and layout mismatches during continuous integration.

What is the best way to catch DirectX 11 shader errors before runtime?

Automated shader compilation checks catch DX11 shader errors early by verifying compilation targets and validating semantic and layout rules. Running validation on all assets in the shader directory ensures build compatibility before release.

Does shader compilation validation work with fxc compiler targets?

Shader compilation validation works with fxc by compiling shader files to appropriate targets such as vs_5_0 and ps_5_0. The tool determines the correct compilation target automatically based on the shader file naming conventions.