shader-debugging
Diagnose shader and material failures using reproduction, render-state inspection, inputs, spaces, precision, variants, platform differences, and frame or…
от Dadmin88★ 52 звезды на GitHub
Установить shader-debugging в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Shader Debugging
Use when a shader renders incorrectly, inconsistently, too slowly, or only fails on certain assets or platforms.
Procedure
- Capture the failing material or shader revision, renderer, platform or GPU, scene, camera and light conditions, asset inputs, and exact visual symptom.
- Reduce to the smallest reproducing material, mesh, texture set, pass, or feature toggle while preserving the defect.
- Inspect shader inputs and coordinate spaces: UVs, normals or tangents, world, view or object space, color space, texture channels, vertex attributes, time, and uniform values.
- Check render state and pipeline assumptions such as blend, depth, cull, transparency order, shadow pass, keywords or variants, instancing, batching, and render queue.
- Use engine frame capture, shader debugger, generated shader code, or visualization outputs where available to locate the first bad stage.
- Check precision, NaN or Inf, division or normalization, derivative, mip or LOD, and platform-specific limits when the defect is hardware-dependent.
- Fix the owning layer rather than adding compensating constants that only hide one asset or camera condition.
- Re-test on representative assets, lighting, distances, variants, and target platforms; record performance impact if the fix changes shader cost.
Decision rules
- Visual artifacts are evidence; identify the pipeline stage that first becomes wrong.
- Do not assume the shader code is at fault when mesh attributes or import settings are wrong.
- Platform-specific precision and compiler behavior should be verified on target hardware.
- A fix that materially raises shader cost needs performance review.
Quality gate
The shader issue is resolved when the root cause is demonstrated, the corrected output is stable across relevant variants, assets, and platforms, render-state and input assumptions are explicit, and no material performance regression is hidden.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл shader-debugging?
Diagnose shader and material failures using reproduction, render-state inspection, inputs, spaces, precision, variants, platform differences, and frame or debugger evidence.
Как установить скилл shader-debugging?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл shader-debugging запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…