Shader Optimization
Testing & Qualityshader-optimizationShader Optimization is an Agent Skill for testing & quality published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Shader performance optimization skill for instruction counting, GPU profiling, and rendering efficiency.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/game-development/skills/shader-optimization/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/shader-optimization, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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
- Minimize texture samples
- Use half precision where possible
- Avoid branching
- Batch similar shaders
- Profile on target hardware
References
- Engine-specific profiling tools