Skip to content
Back to skills

Vercel Vgpu

ASecurity

Build and profile WGSL shaders and WebGPU passes using the installed vgpu package and version-matched documentation.

  • 50,717 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 21, 2026
ai-agentstypescriptgonodetestinggitapiperformancedocumentation

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 21, 2026

npx -y skills add sickn33/agentic-awesome-skills --skill vercel-vgpu --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vercel Vgpu?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vercel Vgpu
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sickn33-vercel-vgpu-e692e671/badge)](https://www.skillsdirectory.com/skills/sickn33-vercel-vgpu-e692e671)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: vercel-vgpu
description: Build and profile WGSL shaders and WebGPU passes using the installed vgpu package and version-matched documentation.
license: MIT
metadata:
  aas-category: development
  aas-risk: critical
  aas-source: https://github.com/vercel-labs/vgpu/tree/61779b7d15cc40a0058e4ade0457b8dbf717319e/skills/vgpu
  aas-source-repo: vercel-labs/vgpu
  aas-source-type: community
  aas-license-source: https://github.com/vercel-labs/vgpu/blob/61779b7d15cc40a0058e4ade0457b8dbf717319e/LICENSE
  aas-author: Vercel, Inc.
  aas-date-added: '2026-11-19'
---

# Build and Profile vgpu WebGPU Apps

## When to Use

Use for the vgpu TypeScript library and its WebGPU rendering or compute paths. Use the documentation shipped for the version in the project's lockfile. The Sybil-hosted snapshot came from the 0.3.1 generation of the library.

## Workflow

1. Identify the runtime and scene needs. Choose browser canvas surface, Node offscreen rendering, or the mock adapter for deterministic contract tests. Use the core device and buffer layer for low-level ownership, the main vgpu API for frames and shader reflection, and scene helpers only when geometry or cameras need them.
2. Define the WGSL inputs, explicit target formats and pass order. Keep resource ownership and lifetime visible. Preserve stable bind groups and pipeline identities for unchanged inputs. For multi-pass rendering, declare where depth and intermediate textures live.
3. Verify one minimal render or compute pass, then test resizing or downstream pass composition. Mock tests validate the contract. Observe actual pixels and validation errors on a real WebGPU adapter for rendering acceptance.
4. Measure CPU encoding, pipeline warm-up, bind-group churn, texture memory and GPU time separately. Compare equivalent workloads and output. Recheck shader semantics and pixel evidence after optimization.

## Example

“A shader demo stutters on the first frame.” Measure pipeline warm-up separately from steady-state frame time and confirm pixel output on the project adapter.

## Limitations

Use installed package docs or the official documentation. API paths vary by release. Keep testing local and get authorization before adding dependencies or external GPU infrastructure.

## Bundled resources

The complete vgpu 0.3.1 [reference index](reference-index.md) and docs are included. For that API version, start with [getting started](references/guides/getting-started.docs.md), then pick the [performance model](references/guides/performance-model.docs.md), [browser testing](references/guides/browser-testing.docs.md), or [shader workflow](references/guides/shader-workflow.docs.md) as needed. For a different vgpu version, use its installed package types as the authority for version-specific calls. Examples in the references show optional CLI and MCP setup. Use version-matched tools already available to the project and get explicit approval for any connector or global configuration changes.

## Source

Adapted from the [pinned skill tree](https://github.com/vercel-labs/vgpu/tree/61779b7d15cc40a0058e4ade0457b8dbf717319e/skills/vgpu). See the [MIT license](LICENSE).

See the [Sybil-hosted generated snapshot](https://github.com/sybil-solutions/local-studio-site/tree/2d1d6a9752477aafa39588dc1ec0f9e5b97e2e77/.agents/skills/vgpu).

Files in this skill

  • LICENSE1 KB
  • SKILL.md3.3 KB
  • reference-index.md10 KB
  • references/@vgpu/adapter-node/create-node-adapter.docs.md3.6 KB
  • references/@vgpu/adapter-node/create-node-device.docs.md12.8 KB
  • references/@vgpu/render/edit/edit.docs.md55.6 KB
  • references/@vgpu/render/inspect/inspect-material.docs.md5.6 KB
  • references/@vgpu/render/inspect/mesh-to-readable.docs.md2.5 KB
  • references/@vgpu/render/inspect/mesh-to-wireframe.docs.md2.6 KB
  • references/@vgpu/render/inspect/normal-debug-material.docs.md2.2 KB
  • references/@vgpu/render/inspect/wireframe-material.docs.md2.5 KB
  • references/@vgpu/render/perf/perf.docs.md7.2 KB
  • references/@vgpu/render/utils/canvas-mouse-tracker.docs.md3 KB
  • references/@vgpu/render/utils/canvas-resolution.docs.md2.3 KB
  • references/@vgpu/render/utils/frame-clock.docs.md1.5 KB
  • references/@vgpu/wgsl-std/color/index.docs.md4 KB
  • references/@vgpu/wgsl-std/fullscreen/index.docs.md2.8 KB
  • references/@vgpu/wgsl-std/hash/index.docs.md3.2 KB
  • references/@vgpu/wgsl-std/noise/index.docs.md6.4 KB
  • references/@vgpu/wgsl-std/noise/perlin/index.docs.md9.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.