Babysitter shader-optimization

Shader performance optimization skill for instruction counting, GPU profiling, and rendering efficiency.

install
source · Clone the upstream repo
git clone https://github.com/a5c-ai/babysitter
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/a5c-ai/babysitter "$T" && mkdir -p ~/.claude/skills && cp -r "$T/library/specializations/game-development/skills/shader-optimization" ~/.claude/skills/a5c-ai-babysitter-shader-optimization && rm -rf "$T"
manifest: library/specializations/game-development/skills/shader-optimization/SKILL.md
source content

Shader Optimization Skill

Shader performance optimization techniques.

Overview

This skill provides capabilities for optimizing shader performance.

Capabilities

  • Instruction counting
  • ALU optimization
  • Texture sample reduction
  • Shader variant management
  • GPU profiling

Best Practices

  1. Minimize texture samples
  2. Use half precision where possible
  3. Avoid branching
  4. Batch similar shaders
  5. Profile on target hardware

References

  • Engine-specific profiling tools