← Back to Skills Marketplace
joashchou

Unity Shader Optimizer & LLM Cleaner(去垃圾代码)

by JoashChou · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ Security Clean
99
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install unity-shader-optimizer-llm-cleaner
Description
Unity HLSL Shader 代码风格规范,要求减少重复代码、提取共用函数、合理使用头文件。使用场景:编写 Unity Shader、重构重复 Shader 代码、生成新 Shader 时遵循 DRY 原则。
Usage Guidance
This skill is a coherent, instruction-only style guide for Unity HLSL shaders and does not request credentials or install code — low risk. Before installing, consider whether you'll allow the agent to automatically edit many shader files (e.g., normalizing CRLF or extracting functions): if so, make backups or use a branch/PR workflow. Also note the skill's source is unknown; that is not dangerous here because it contains only prose, but if you need provenance for compliance, obtain a trusted source copy.
Capability Analysis
Type: OpenClaw Skill Name: unity-shader-optimizer-llm-cleaner Version: 0.1.0 The skill bundle contains technical guidelines and best practices for organizing Unity HLSL shader code, focusing on the DRY (Don't Repeat Yourself) principle. The instructions in SKILL.md are strictly related to code structure, file organization, and platform-specific requirements (like CRLF line endings and URP macros), with no evidence of malicious intent, data exfiltration, or unauthorized execution.
Capability Assessment
Purpose & Capability
The name and description describe shader style/DRY guidance and the SKILL.md contains exactly that: guidance on extracting common HLSL functions/CBUFFERs, file layout, Pass handling, URP sampling, and line-ending conventions. There are no unrelated requirements (no env vars, binaries, or installs).
Instruction Scope
Runtime instructions are limited to coding/style recommendations and examples; they reference local shader files and include directives (appropriate for the task). The SKILL.md does not instruct reading credentials, system-wide config, network exfiltration, or other out-of-scope data collection. The note about normalizing CRLF is within scope (it could cause mass edits if applied automatically).
Install Mechanism
No install spec and no code files — this is instruction-only, which is the lowest install risk (nothing is downloaded or written by the skill itself).
Credentials
The skill requires no environment variables, credentials, or config paths. The guidance does reference local file paths (shader and .hlsl files) which is appropriate for the stated purpose.
Persistence & Privilege
Flags are default (always: false, user-invocable: true, model invocation allowed). There is no request for permanent presence or modifications to other skills or system-wide configs. Autonomous invocation is allowed by platform default but is not combined with broad privileges here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install unity-shader-optimizer-llm-cleaner
  3. After installation, invoke the skill by name or use /unity-shader-optimizer-llm-cleaner
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
## v0.1.0 – Initial Release * 首次发布 Unity HLSL Shader 优化工具 * 支持自动检测并移除冗余计算与无效代码 * 优化常见 Shader 性能问题(分支、重复采样、无用变量等) * 针对大模型生成代码进行去噪与结构优化 * 提升代码可读性与工程规范一致性 * Initial release of Unity HLSL shader optimization tool * Detects and removes redundant computations and unused code * Optimizes common shader performance issues (branching, duplicate sampling, unused variables) * Cleans and refines LLM-generated shader code * Improves readability and engineering consistency
Metadata
Slug unity-shader-optimizer-llm-cleaner
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Unity Shader Optimizer & LLM Cleaner(去垃圾代码)?

Unity HLSL Shader 代码风格规范,要求减少重复代码、提取共用函数、合理使用头文件。使用场景:编写 Unity Shader、重构重复 Shader 代码、生成新 Shader 时遵循 DRY 原则。 It is an AI Agent Skill for Claude Code / OpenClaw, with 99 downloads so far.

How do I install Unity Shader Optimizer & LLM Cleaner(去垃圾代码)?

Run "/install unity-shader-optimizer-llm-cleaner" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Unity Shader Optimizer & LLM Cleaner(去垃圾代码) free?

Yes, Unity Shader Optimizer & LLM Cleaner(去垃圾代码) is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Unity Shader Optimizer & LLM Cleaner(去垃圾代码) support?

Unity Shader Optimizer & LLM Cleaner(去垃圾代码) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Unity Shader Optimizer & LLM Cleaner(去垃圾代码)?

It is built and maintained by JoashChou (@joashchou); the current version is v0.1.0.

💬 Comments