Slang 着色器开发与审查

原名:slang-shader-engineer

围绕 Slang 模块、GPU 计算和图形管线,辅助开发与检查着色器代码。

中文 Skills 技能说明

适合图形应用或计算项目使用 Slang、HLSL 兼容代码以及 SPIR-V 的情况。先确认编译目标、能力约束和引擎接口,再分析参数布局、模块组织与跨平台差异,提供验证方法。需要对应编译器、SDK 和 GPU 环境;性能结论必须来自实际测量,不能只根据代码推断加速倍数。代码修改在测试场景验证后再合入。

上游能力依据

上游原始适用说明:Use when working with Slang shaders, shader modules, HLSL-compatible GPU code, graphics pipelines, compute shaders, tessellation, ray tracing, parameter blocks, generics, interfaces, capabilities, cross-compilation, shader optimization, shader review, or C++ engine integration for Slang. Trigger on any mention of Slang, .slang files, slangc, SPIR-V from Slang, Slang modules, [shader("compute")], [shader("vertex")], or requests to write/review/refactor shader code with modern language features. Also trigger for Slang-to-HLSL/GLSL/Metal/CUDA cross-compile questions, or when the user says "shader" alongside "generics", "interfaces", "parameter blocks", "autodiff", or "capabilities".

上游 SKILL.md 主要章节(保留原文标题):

使用边界

先读取项目约定、依赖版本和现有测试,再提出最小改动。写文件、运行脚本、提交代码或发布前应检查差异并保留回退路径。

作者、翻译与许可证

原作者
GitHub, Inc. 与 awesome-copilot contributors
中文翻译
CEOFans翻译
许可证
MIT
上游来源
https://github.com/github/awesome-copilot/tree/a19b3101cc797a35de8b1c1698c13d1344703522/skills/slang-shader-engineer

适用范围

平台:linux、macos、windows;标签:软件开发、Slang 着色器开发与审查、开源技能

安全提示

基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。

如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。