首页/ AI 技能 / @skilllib/skill-2117939930272410493
Skill站外收录 @skilllib/skill-2117939930272410493

webgpu-specs

提供 WebGPU 和 WGSL 规范文档的自动下载与本地引用能力,支持按语义锚点精准定位技术章节,便于在开发或调试中快速查阅最新标准定义。

0.0 (0) 20 次安装 原作者 编程导航
收录于 2026-01-22
软件开发 AI 技能

Skills.MD

Run `sh .claude/skills/webgpu-specs/download.sh` to download the WebGPU and WGSL specifications if they are not present or if they have been updated. You do not need to change directory before running the script. After the specs are downloaded, you can search in `target/claude/webgpu-spec.bs` and `target/claude/wgsl-spec.bs` for relevant sections of the specification. When referencing the specifications, prefer to use named anchors rather than line numbers. For example, to reference the "Object Descriptors" section, which has the following header: ``` ### Object Descriptors ### {#object-descriptors} ``` Use the URL <https://gpuweb.github.io/gpuweb/#object-descriptors> so the user can click to navigate directly to that section. For the WGSL specification, the base URL is <https://gpuweb.github.io/gpuweb/wgsl/>. If necessary, read additional content from the file to find the header preceding the text you want to reference. You may provide line numbers as additional context, but always make every effort to provide the user with a clickable link.

评论 0

还没有评论,来抢沙发。