一键导入
webgpu-specs
Download WebGPU and WGSL specifications for use as a reference
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Download WebGPU and WGSL specifications for use as a reference
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | webgpu-specs |
| description | Download WebGPU and WGSL specifications for use as a reference |
| allowed-tools | Bash(sh .claude/skills/webgpu-specs/download.sh) |
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.