What problem does it solve? Building correct, performant 2D GPU rendering with Win2D in WinUI 3 / Windows App SDK apps is error-prone: device loss, DPI handling, resource lifecycle, threading, and stale UWP-era documentation cause subtle bugs and performance regressions. This Skill provides authoritative, modular guidance for designing, implementing, debugging, and reviewing Win2D rendering code. ## Core Features & Use Cases - Surface and architecture selection: Choose between CanvasControl, CanvasAnimatedControl, CanvasVirtualControl, CanvasSwapChain, and offscreen render targets based on the workload. - Resource lifecycle and device-lost recovery: Manage CreateResources, async loading, DPI changes, and device recreation without leaking GPU resources. - Performance and debugging workflows: Classify rendering failures, profile bottlenecks, and apply caching, batching, and invalidation strategies with a code review checklist. - Use Case: When adding a real-time audio spectrum visualizer to a WinUI 3 app, use this Skill to pick CanvasAnimatedControl, structure device-dependent resources, handle device loss, and avoid per-frame allocations. ## Quick Start Ask the AI to help implement or review a Win2D rendering feature in your WinUI 3 project, for example: "Help me implement a CanvasAnimatedControl-based spectrum visualizer with proper device-lost recovery and DPI handling."