← 返回 Skills 市场
99
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install unity-shader-optimizer-llm-cleaner
功能描述
Unity HLSL Shader 代码风格规范,要求减少重复代码、提取共用函数、合理使用头文件。使用场景:编写 Unity Shader、重构重复 Shader 代码、生成新 Shader 时遵循 DRY 原则。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install unity-shader-optimizer-llm-cleaner - 安装完成后,直接呼叫该 Skill 的名称或使用
/unity-shader-optimizer-llm-cleaner触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
元数据
常见问题
Unity Shader Optimizer & LLM Cleaner(去垃圾代码) 是什么?
Unity HLSL Shader 代码风格规范,要求减少重复代码、提取共用函数、合理使用头文件。使用场景:编写 Unity Shader、重构重复 Shader 代码、生成新 Shader 时遵循 DRY 原则。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 99 次。
如何安装 Unity Shader Optimizer & LLM Cleaner(去垃圾代码)?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install unity-shader-optimizer-llm-cleaner」即可一键安装,无需额外配置。
Unity Shader Optimizer & LLM Cleaner(去垃圾代码) 是免费的吗?
是的,Unity Shader Optimizer & LLM Cleaner(去垃圾代码) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Unity Shader Optimizer & LLM Cleaner(去垃圾代码) 支持哪些平台?
Unity Shader Optimizer & LLM Cleaner(去垃圾代码) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Unity Shader Optimizer & LLM Cleaner(去垃圾代码)?
由 JoashChou(@joashchou)开发并维护,当前版本 v0.1.0。
推荐 Skills