plugins/web-motion/skills/typegpu/SKILL.md
Use this skill for TypeGPU schemas, typed buffers/textures, shader functions, pipelines, WebGPU capability checks, and CPU/GPU resource ownership. Trigger on TypeGPU, tgpu, d.struct, use gpu, unplugin-typegpu, typed WebGPU, shader functions. Do not use for near-miss tasks outside these boundaries; route to adjacent motion or platform skills when they own the implementation.
npx skillsauth add bjornmelin/dev-skills typegpuInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
TypeGPU schemas, typed buffers/textures, shader functions, pipelines, WebGPU capability checks, and CPU/GPU resource ownership.
Use this skill as a compact router plus domain checklist. Load references only when the current task matches their condition. Do not cite local scrape paths, machine cache paths, or hidden source locations. Verify API details against the target repo's installed package versions before editing.
references/typegpu-codex-playbook.md - Codex workflow for TypeGPU tasks. Read before writing TypeGPU app code, shader functions, or compute/render pipelines.references/shader-resource-boundaries.md - Shader/resource ownership rules. Read when code mixes CPU buffers, GPU resources, schemas, bind groups, and shader functions.references/webgpu-runtime-validation.md - Browser WebGPU validation and fallbacks. Read for secure context, adapter/device, unsupported browser, reduced motion, and teardown proof.references/browser-capability-and-adapter-selection.md - Browser capability and adapter selection. Read before creating TypeGPU roots, requesting WebGPU adapters/devices, or designing fallbacks.references/compute-vs-render-pipeline-design.md - Compute versus render pipeline design. Read when choosing TypeGPU compute, render, storage buffer, texture, or shader-function patterns.references/matrices.md - Copied source excerpt. Load only when exact upstream wording or API detail is needed.references/pipelines.md - Copied source excerpt. Load only when exact upstream wording or API detail is needed.references/setup.md - Copied source excerpt. Load only when exact upstream wording or API detail is needed.references/shaders.md - Copied source excerpt. Load only when exact upstream wording or API detail is needed.references/textures.md - Copied source excerpt. Load only when exact upstream wording or API detail is needed.references/types.md - Copied source excerpt. Load only when exact upstream wording or API detail is needed.references/advanced.md - Copied source excerpt. Load only when exact upstream wording or API detail is needed.references/noise.md - Copied source excerpt. Load only when exact upstream wording or API detail is needed.references/sdf.md - Copied source excerpt. Load only when exact upstream wording or API detail is needed.references/index.md - Complete reference inventory and routing summary.references/source-ledger.md - Source list, checked date, and copy policy.references/provenance.json - Machine-readable source and local-resource metadata.scripts/audit.mjs - Self-contained audit CLI; run doctor before scan when setup is unclear.assets/templates/typegpu-audit-report.md - Audit response/report template.assets/templates/typegpu-review-checklist.md - Manual review checklist.assets/examples/typegpu-starter.ts - Starter fixture/example for this skill.evals/trigger-queries.json - Trigger/near-miss eval set for description tuning.evals/evals.json - Task-quality evals with assertions.node scripts/audit.mjs doctor --root . --format json
node scripts/audit.mjs scan --root . --format markdown
node scripts/audit.mjs scan --root . --format json --output typegpu-audit.json
Treat script findings as leads. Verify every finding against current code before changing behavior or reporting it as valid.
Before finalizing, run the repo's focused validation command, this skill's audit CLI when relevant, and any browser/device/manual proof required by the changed surface. Report commands run, findings fixed, findings skipped with reasons, and residual risk.
development
Repo/monorepo modernization: dependency upgrades, security fixes, deprecation cleanup, framework migrations, dependency-native refactors, and verified hard-cut simplification.
development
Use this skill for Browser Web Animations API: Element.animate(), Animation, KeyframeEffect, playback control, generated keyframes, cancel/finish, commitStyles, and cleanup. Trigger on Element.animate, WAAPI, Web Animations API, KeyframeEffect, Animation object, commitStyles. Do not use for near-miss tasks outside these boundaries; route to adjacent motion or platform skills when they own the implementation.
tools
Use this skill for Three.js, React Three Fiber, Drei, Canvas/createRoot lifecycle, loaders, GLTF, useFrame, disposal, SSR/client boundaries, DPR, and browser proof. Trigger on Three.js, THREE, @react-three/fiber, @react-three/drei, R3F Canvas, useFrame, GLTF, WebGLRenderer. Do not use for near-miss tasks outside these boundaries; route to adjacent motion or platform skills when they own the implementation.
development
Use this skill for Tailwind CSS v4 transition, animation, duration, easing, motion-safe/motion-reduce, @theme motion tokens, and static class safety. Trigger on Tailwind animation, transition-all, motion-safe, motion-reduce, @theme, animate-, duration-. Do not use for near-miss tasks outside these boundaries; route to adjacent motion or platform skills when they own the implementation.