/renderer
Architecture rules for GPU rendering with TypeGPU/WebGPU. Use when adding or changing render passes, shaders, frame orchestration, GPU resources, culling, terrain, shadows, or visual performance work.
Claude Code
$ npx -y skills add dzhng/skills --skill renderer --agent claude-code
Codex
$ npx skills add dzhng/skills --skill renderer -a codex -y
Cursor
$ npx skills add dzhng/skills --skill renderer -a cursor -y
Gemini CLI
$ npx skills add dzhng/skills --skill renderer -a gemini-cli -y
GitHub Copilot
$ npx skills add dzhng/skills --skill renderer -a github-copilot -y
OpenCode
$ npx skills add dzhng/skills --skill renderer -a opencode -y
Windsurf
$ npx skills add dzhng/skills --skill renderer -a windsurf -y
SKILL.md
renderer.SKILL.mdname: renderer
description: Architecture rules for GPU rendering with TypeGPU/WebGPU. Use when adding or changing render passes, shaders, frame orchestration, GPU resources, culling, terrain, shadows, or visual performance work.
GPU renderer
The renderer is TypeGPU over WebGPU. It draws plain frame inputs the application hands it and never reaches into simulation or app state. These are the flaws that sink a 3D experience; check a change against each before writing it.
- **Fixed-view cost never grows with world size.** For a fixed camera and
render size, submitted geometry, shadow casters, and per-frame lists are bounded by what the view can see or cast into, and screen-space work by pixels. Store the world map-wide; select from it spatially. Frustum clipping does not make vertices free. Compare equal local content and finite view distance: admitting more world changes the workload.
- **Detail follows projected size.** Correct culling can still admit thousands
of tiny meshes. Bound each visible instance’s geometry by its screen footprint as well as bounding the selected population.
- **One owner per contract.** Frame orchestration, camera, depth convention,
targets, culling, lighting, timing, and resource lifetime each have one owner every pass shares. Extend it; a second copy drifts.
- **Shared contracts change together.** Depth and lighting are engine-wide:
every pass reads the same convention and every material the same shading path. A per-pass exception is a future visual bug.
- **No GPU resource without a lifetime owner.** Everything is allocated
through the registry, rebuilds swap in whole, and repeated resize/rebuild/reset returns to baseline.
- **Pixels prove correctness, not counters.** An optimization is accepted
only with an interleaved A/B on the real GPU and an image that shows the subject still drawn correctly.
Read more
name: renderer description: Architecture rules for GPU rendering with TypeGPU/WebGPU. Use when adding or changing render passes, shaders, frame orchestration, GPU resources, culling, terrain, shadows, or visual performance work.
GPU renderer
The renderer is TypeGPU over WebGPU. It draws plain frame inputs the application hands it and never reaches into simulation or app state. These are the flaws that sink a 3D experience; check a change against each before writing it.
- **Fixed-view cost never grows with world size.** For a fixed camera and
render size, submitted geometry, shadow casters, and per-frame lists are bounded by what the view can see or cast into, and screen-space work by pixels. Store the world map-wide; select from it spatially. Frustum clipping does not make vertices free. Compare equal local content and finite view distance: admitting more world changes the workload.
- **Detail follows projected size.** Correct culling can still admit thousands
of tiny meshes. Bound each visible instance’s geometry by its screen footprint as well as bounding the selected population.
- **One owner per contract.** Frame orchestration, camera, depth convention,
targets, culling, lighting, timing, and resource lifetime each have one owner every pass shares. Extend it; a second copy drifts.
- **Shared contracts change together.** Depth and lighting are engine-wide:
every pass reads the same convention and every material the same shading path. A per-pass exception is a future visual bug.
- **No GPU resource without a lifetime owner.** Everything is allocated
through the registry, rebuilds swap in whole, and repeated resize/rebuild/reset returns to baseline.
- **Pixels prove correctness, not counters.** An optimization is accepted
only with an interleaved A/B on the real GPU and an image that shows the subject still drawn correctly.
AI skills for growing software farms. My personal library of domain-agnostic agent skills, reused across every project. Small, composable, and hackable — works with any harness that supports skills: Claude Code, Codex, opencode, Cursor, duet, and 70+ others.
Other skills on skills.
More skills from other plugins.
karpathy-guidelines
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
agent-builder
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…
Questions about renderer.
- Which coding agents can use renderer?
- renderer installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

