Agent skill
shader-remove
Remove a shader and all its associated files from the project
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/shader-remove
SKILL.md
/shader-remove — Remove a Shader
Remove a shader by display name, disk name, or filename.
Invocation
/shader-remove Matrix Rain/shader-remove matrix_rain/shader-remove matrix_rain.json
Steps
1. Resolve the Shader
The argument can be:
- Display name (e.g.,
Matrix Rain) — scansrc/shaders/**/*.json(includingmouse/andselection/subdirs), match on the"name"field (case-insensitive) - Disk name (e.g.,
matrix_rain) — look forsrc/shaders/matrix_rain.json,src/shaders/mouse/matrix_rain.json, orsrc/shaders/selection/matrix_rain.json - Filename (e.g.,
matrix_rain.jsonormatrix_rain.hlsl) — strip extension, use as disk name
If no match found, list available shaders and stop.
2. Read Metadata
Read the matched .json file to discover iChannel texture files referenced in "iChannels" and the shader's directory.
3. Delete Source Files
Remove all files belonging to the shader from its directory (src/shaders/, src/shaders/mouse/, or src/shaders/selection/):
{name}.glsl{name}.hlsl{name}.json- Any iChannel textures listed in the metadata (e.g.,
{name}_i0.png)
Only delete files that exist — don't error on missing .glsl (some shaders may not have the original).
4. Regenerate Bundles
powershell -File tools/shader_bundle.ps1
This regenerates src/gui/shader_bundle.ahk and src/gui/shader_resources.ahk, and cleans stale textures from resources/img/shaders/.
5. Run Tests
.\tests\test.ps1
6. Report
Summarize what was removed (list each deleted file).
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?