webgpu-errors-device-loss
OfficialRecover WebGPU safely after device loss.
AuthorImpertio-Studio
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents incorrect WebGPU device-loss handling by teaching when to stop, when to recover, and how to avoid silent retry loops after crashes or intentional teardown.
Core Features & Use Cases
- Reason-aware recovery: Distinguishes destroyed devices from transient unknown losses before taking action.
- Full reinitialization workflow: Re-requests the adapter, creates a fresh device, rebuilds every GPU resource, and reconfigures the canvas.
- Production guardrails: Bounded retry attempts, explicit user-facing failure messages, and correct handling of the resolved device.lost promise.
- Use case: Recover a WebGPU renderer after a GPU process crash without reusing dead buffers, pipelines, or bind groups.
Quick Start
Use the webgpu-errors-device-loss skill to diagnose a lost WebGPU device, branch on the loss reason, and rebuild the entire GPU state when recovery is appropriate.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: webgpu-errors-device-loss Download link: https://github.com/Impertio-Studio/WebGPU-Claude-Skill-Package/archive/main.zip#webgpu-errors-device-loss Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.