/xonovex-game-engine:gpu-rendering-vulkan-guidefrom xonovex-game-engine
Guides implementation of Vulkan renderers covering device/queues, memory, resources, barriers, descriptors, pipelines, commands, and swapchain. Activates on Vk* types and vkCmd*/vkCreate* calls.
Ships in xonovex-game-engine. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The concrete Vulkan API for a low-level renderer. This skill is the Vulkan how; apply gpu-rendering-guide for the why and the API-agnostic architecture (render graphs, binding model, sync model, frames-in-flight, memory strategy). For the general allocator principle behind device memory see memory-management-guide.
VK_KHR_synchronization2, VK_KHR_dynamic_rendering, VK_EXT_descriptor_indexing, VK_KHR_timeline_semaphore).VkInstance → physical device → VkDevice; select graphics/compute/transfer queue families, see references/device-and-queues.mdVkPhysicalDeviceMemoryProperties types/heaps; few vkAllocateMemory + sub-allocation; staging, see references/device-memory.mdVkImage/VkBuffer + views, VkImageMemoryBarrier2 stage/access masks, layout transitions, see references/resources-and-barriers.mdVkSemaphore (binary + timeline), VkFence, pipeline stage/access masks, submit-time waits, see references/synchronization.mdVkDescriptorSetLayout/Pool/Set, update-after-bind for bindless, push constants, set frequency, see references/descriptors.mdVkPipeline (graphics/compute), VkPipelineCache, dynamic rendering vs render passes, dynamic state, see references/pipelines.mdVkCommandPool per thread per frame, primary/secondary buffers, VkSwapchainKHR acquire/present, fence per frame, see references/commands-and-swapchain.mdvkAllocateMemory is hard-capped (maxMemoryAllocationCount, often ~4096) and slow; sub-allocate from a few large blocks. The architecture rationale is in gpu-rendering-guide.VkImageMemoryBarrier2 that omits the layout transition, or uses oldLayout that does not match the image's current layout, is undefined behavior: track current layout per image/subresource.VkDescriptorSet updated while the GPU may still read it (without UPDATE_AFTER_BIND) is a data race: gate on the frame VkFence.VkPipeline whose dynamic state you forgot to set (e.g. vkCmdSetViewport) draws nothing or validation-errors; declare every dynamic state you rely on.VK_ERROR_OUT_OF_DATE_KHR/VK_SUBOPTIMAL_KHR from acquire/present leaves a stale swapchain after resize: recreate it.VkImageMemoryBarrier2/layout transitionsVkPipelines, the pipeline cache, or dynamic renderingVkSemaphore/VkFence, stage/access masks, or submit-time waitsSOURCES.md (opens in a new tab)eval-queries.json (opens in a new tab)evals.json (opens in a new tab)moon.yml (opens in a new tab)references/commands-and-swapchain.md (opens in a new tab)references/descriptors.md (opens in a new tab)references/device-and-queues.md (opens in a new tab)references/device-memory.md (opens in a new tab)references/pipelines.md (opens in a new tab)references/resources-and-barriers.md (opens in a new tab)references/synchronization.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
11 skills in this plugin
/asset-pipeline-guideUse when designing the asset pipeline of a tool or game engine, turning authored sources (FBX, glTF, PNG, WAV, shaders) into runtime-ready data: importers/compilers per asset type, a deterministic compile/cook step, content-addressed caching keyed by a hash of inputs and settings, dependency tracking so an edit reimports only what changed, platform-specific output, and live hot-reloading. Triggers on import, cook/bake, asset/build cache, reimport, dependency invalidation, file watcher, hot-reload of textures/meshes/materials, and 'why does changing one file rebuild everything', even when the user doesn't say 'asset pipeline'./audio-guideUse when building a low-level, real-time audio/sound system that does its own mixing: the OS audio callback / render thread, summing voices into the output buffer, sample-rate conversion and per-voice pitch, voice pools and stealing, and handing play/stop/parameter changes from the game thread to the audio thread. Triggers on audio underrun/dropout, clicks/pops, the audio callback can't lock or allocate, buffer size vs latency, resampling/interpolation, mixing gain/pan/clipping, fixed voice pools, even when the user doesn't say 'audio'./c99-game-opinionated-guideUse when editing C99 game-engine or runtime code in projects that follow the opinionated caller-owns-memory, SoA, builder-pattern style. A focused overlay that covers only game/engine house-style decisions, not generic C99 idioms. Triggers on `.c`/`.h` files in game/engine directories and on prompts about vectors, matrices, quaternions, physics, meshes, spatial structures, tagged unions, inverse mass, builder patterns, even when the user doesn't say 'opinionated'./data-model-guideUse when designing a central in-memory data model / object database for a tool, editor, or engine: typed objects with properties, stable cross-references and sub-object ownership, change notification, undo/redo, and serialization. Triggers on prompts about a runtime object/property schema, referencing objects by stable id/GUID, observing/notifying changes, transactional edits and undo history, save/load with versioning/migration, or copy-on-write snapshots, even when the user doesn't name a specific model./ecs-guideUse when designing or implementing a data-oriented Entity-Component-System: archetype/bitmask storage, contiguous per-type component arrays, filter-and-batch systems, change tracking, and syncing ECS state into stateful external systems (renderer, physics). Triggers on entities, components, archetypes, systems, world iteration, component bitmasks, mirroring transforms to physics, even when the user doesn't say 'ECS'./editor-viewport-guideUse when building the interactive 3D viewport that bridges a real-time renderer and an editor: GPU id-buffer object picking, selection outline/highlight rendering, and move/rotate/scale gizmos that work on any object plus the linear algebra behind them. Triggers on click-to-select in a 3D scene, reading back the picked object under the cursor, drawing a crisp selection outline, transform handles/gizmos, dragging an axis at a steep camera angle, constant screen-size handles, ray/plane projection, even when the user doesn't say 'viewport' or 'gizmo'.npx claudepluginhub xonovex/platform --plugin xonovex-game-engine