webgpu-core-architecture

Installation
SKILL.md

WebGPU Core Architecture

Initialize WebGPU correctly through the navigator.gpu entry point and the adapter, device, queue model, and reason about the 4-phase application runtime. Baseline: WebGPU 1.0-stable (Chrome 113+, Safari 26+, Firefox 141+).

Quick Reference

Type / Member Kind Purpose
navigator.gpu GPU Entry point. undefined on insecure origins.
navigator.gpu.requestAdapter(options?) method Returns Promise<GPUAdapter | null>. Null is a valid resolution.
navigator.gpu.getPreferredCanvasFormat() method Returns "bgra8unorm" or "rgba8unorm".
GPUAdapter interface Physical implementation. Has features, limits, info.
GPUAdapter.info GPUAdapterInfo vendor, architecture, device, description.
GPUAdapter.requestDevice(descriptor?) method Returns Promise<GPUDevice>. Resolves even on failure.
GPUDevice interface Logical connection. Root owner of all child objects.
GPUDevice.queue property Read-only GPUQueue. NEVER call it.
GPUDevice.lost property Read-only Promise<GPUDeviceLostInfo>.
GPUDevice.destroy() method Releases the device and all child objects.
GPUQueue.submit(buffers) method Schedules command buffers for execution.
Installs
3
GitHub Stars
1
First Seen
Aug 5, 2026
webgpu-core-architecture — impertio-studio/webgpu-claude-skill-package