
Description
A skill for AI agents that write, debug or design TypeGPU code. TypeGPU is type-safe WebGPU in TypeScript. A single schema defined with the d.* helpers sets the GPU type, the CPU buffer layout and the TypeScript type at the same time, so no manual alignment or casting is needed. The build plugin unplugin-typegpu transforms TypeScript marked with 'use gpu' for runtime WGSL transpilation, which allows type inference and polymorphism across the CPU and GPU boundary. The skill targets TypeGPU 0.12, and the page says to verify API availability first when a project runs an older release. It tells the agent to read its type reference before writing almost any shader, its shader reference for loops, ternaries, comptime, outer-scope capture and builtins, and its std reference before hand-rolling math helpers. It is part of the software-mansion-labs/skills repository on GitHub.…
Highlights
- Type-safe WebGPU shaders written in TypeScript
- One schema for the GPU type, buffer layout and TS type
- Transpiles 'use gpu' functions to WGSL at build time
- Targets TypeGPU 0.12 with type, shader and std references
Ratings & Reviews
No ratings yet
Be the first to rate typegpu.
People also visit

webgpu-threejs-tsl
Comprehensive guide for developing WebGPU-enabled Three.js applications
typegpu FAQ
What is TypeGPU?
Type-safe WebGPU in TypeScript, where one schema defines the GPU type, the CPU buffer layout and the TypeScript type.
Which version does it target?
TypeGPU 0.12. The page says to check API availability first on older releases.
What does the build plugin do?
unplugin-typegpu transforms code marked 'use gpu' for runtime WGSL transpilation.
How do I install it?
Run npx skills add https://github.com/software-mansion-labs/skills --skill typegpu in your project.
What do the security audits show?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best typegpu alternatives?
Popular alternatives to typegpu include webgpu-threejs-tsl, vgpu and typegpu. See all typegpu alternatives















