coordinate-external-ag…
Coordinate independently operated external agents through durable handoffs. Use when work crosses hosts, sessions, accounts,…
Guide native Apple game and custom-renderer work with Metal 3 and Metal 4. Use when Codex owns MTKView, CAMetalLayer, drawable presentation, render passes, command encoding, MSL shaders, pipeline states, GPU resources, Metal capability fallback, GPU capture, or renderer
Claude Code
$ npx -y skills add gaelic-ghost/socket --skill metal-game-rendering-workflow --agent claude-code
Codex
$ npx skills add gaelic-ghost/socket --skill metal-game-rendering-workflow -a codex -y
Cursor
$ npx skills add gaelic-ghost/socket --skill metal-game-rendering-workflow -a cursor -y
Gemini CLI
$ npx skills add gaelic-ghost/socket --skill metal-game-rendering-workflow -a gemini-cli -y
GitHub Copilot
$ npx skills add gaelic-ghost/socket --skill metal-game-rendering-workflow -a github-copilot -y
OpenCode
$ npx skills add gaelic-ghost/socket --skill metal-game-rendering-workflow -a opencode -y
Windsurf
$ npx skills add gaelic-ghost/socket --skill metal-game-rendering-workflow -a windsurf -y
name: metal-game-rendering-workflow description: Guide native Apple game and custom-renderer work with Metal 3 and Metal 4. Use when Codex owns MTKView, CAMetalLayer, drawable presentation, render passes, command encoding, MSL shaders, pipeline states, GPU resources, Metal capability fallback, GPU capture, or renderer validation; do not use for DirectX or Vulkan porting, which belongs to the Game Porting Toolkit workflow.
Own a native renderer's data flow from frame input through presentation. Keep the renderer, scene, assets, input, and host app in separate owners; do not turn a local rendering repair into a new engine abstraction.
Read [renderer-architecture.md](references/renderer-architecture.md) before changing command or resource lifetime. Use Xcode MCP `DocumentationSearch`, Dash Apple API Reference, or current SDK headers before naming version-sensitive Metal APIs.
1. Inspect the renderer boundary: view or layer, device, queues, frame scheduler, resource owner, shaders, pipeline cache, and presentation owner. 2. Select the smallest API family that meets the target matrix:
3. Define a frame contract before adding passes: input resources, output attachments, ownership until GPU completion, load/store behavior, and ordering dependencies. 4. Keep resource allocation and transient per-frame state distinct from long-lived meshes, textures, shader libraries, and pipeline caches. Label resources and encoders at creation time. 5. Compile or load shaders before the first visible frame when practical. Treat runtime pipeline compilation as a measured, cached exception rather than a default; use a shipped `MTLBinaryArchive` for persistent cold-start pipeline work when the deployment path supports it. 6. Validate first with API and shader validation, then a representative GPU capture. Use the Metal Performance HUD or Instruments only to answer a concrete timing or memory question.
Return the renderer owner, chosen Metal family and fallback, frame/resource contract, changed passes or pipelines, evidence gathered, and remaining hardware validation.
Coordinate independently operated external agents through durable handoffs. Use when work crosses hosts, sessions, accounts,…
Assign worktree, branch, write, validation, integration, and cleanup ownership before parallel repository work. Use when a worker…
Design framework-neutral agent and automation workflows before implementation. Use when choosing between Codex app automations,…
Design evaluation workflows for agent, skill, prompt, and automation behavior before implementation. Use when choosing eval…
Design safe n8n workflows with deterministic routing, credentials, idempotency, recovery, local-model checks, drafts, and exact…
Coordinate bounded worker tasks with a launch envelope, report-back, escalation, and synthesis contract. Use before spawning,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.