Skills

Validate Urp Render Graph Renderer Feature

Reviews a Unity 6 URP ScriptableRendererFeature that uses the Render Graph API...

Install

npx skills add Unity-Technologies/skills --skill validate-urp-render-graph-renderer-feature -g -a claude-code -y
Category
Engineering
Updated
5d ago
License
See repository
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Reviews a Unity 6 URP ScriptableRendererFeature that uses the Render Graph API, checking resource wiring, material binding, execution structure, and best practices. Use to validate a renderer feature.

Skill: Validate a Unity URP Render Graph Renderer Feature

Purpose

Review a Unity 6+ URP Render Graph ScriptableRendererFeature and its associated pass implementation for correctness issues related to material binding, resource wiring, render graph texture creation, static render function structure, global resource exposure, and API/version usage.

When to Use

Use this skill when:

  • reviewing AI-generated Unity URP Render Graph renderer feature code
  • validating a custom ScriptableRendererFeature before integrating it
  • checking for common Render Graph resource wiring and pass setup mistakes
  • diagnosing suspicious but plausible Render Graph pass implementations
  • reviewing whether a custom raster/blit/copy pass uses the most appropriate Render Graph helper APIs

Inputs

The skill should expect:

  • Unity version
  • URP version
  • Render Graph renderer feature code to review
    • ScriptableRendererFeature
    • associated pass code
    • or both
  • Intended behavior
  • Expected inputs/outputs, if known
  • Optional constraints
    • project conventions
    • required pass type
    • known resources
    • required material/shader properties

Output Format

The skill must return results in the following structure:

1. Validation Summary

A short overall assessment of the implementation.

2. Confirmed Issues

Concrete issues directly supported by the provided code.

3. Likely Issues / Risky Assumptions

Potential issues that depend on missing context or incomplete information.

4. Recommended Fixes

Minimal targeted fixes for each issue.

5. Corrected Snippets

Small corrected code snippets where useful.

6. Missing Information

Any information needed to validate the code with higher confidence.

Validation Checklist

Read the whole SKILL.md on GitHub

More in Engineering