# windows-graphics-media

The windows-graphics-media Claude Code skill provides reference material for graphics and media APIs in Windows apps. It routes tasks to docs on DirectX, composition, capture, or playback.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 150 installs · ★ 5 repo stars
- Author: Fandhe-AI
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Fandhe-AI/agent-reference-skills/tree/HEAD/skills/windows-graphics-media/SKILL.md
- Updated: 2026-10-25
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/windows-graphics-media

## What it does

The skill maps a task to a reference category, then points the agent from that category’s README to a focused article. Its coverage includes Direct2D and DirectWrite, Direct3D 11/12, Microsoft.UI.Composition, camera and screen capture, plus audio and video playback.

Topics include DXGI SwapChain setup, HLSL compilation, text layout, MediaCapture, and AudioGraph. The skill has no slash-command trigger; the agent uses its references for relevant Windows API questions. Further details live in files under `references/`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Fandhe-AI/agent-reference-skills --skill windows-graphics-media -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/windows-graphics-media/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/windows-graphics-media/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Fandhe-AI/agent-reference-skills --skill windows-graphics-media -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/windows-graphics-media/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Fandhe-AI/agent-reference-skills --skill windows-graphics-media -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/windows-graphics-media/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Fandhe-AI/agent-reference-skills skills/windows-graphics-media
```

2. **Manually: put the files in place**
- File: `.github/skills/windows-graphics-media/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Fandhe-AI/agent-reference-skills --skill windows-graphics-media -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Fandhe-AI/agent-reference-skills --path skills/windows-graphics-media
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/windows-graphics-media/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add Fandhe-AI/agent-reference-skills --skill windows-graphics-media -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Fandhe-AI/agent-reference-skills/tree/HEAD/skills/windows-graphics-media/SKILL.md

## When to use it
- locate guidance for initializing Direct3D 11/12
- find DirectWrite text-layout references
- look up camera or screen capture APIs
- integrate DirectX rendering with WinUI 3 XAML

## Example prompts
- Set up a Direct3D 12 device and explain resource barriers.
- How can I lay out text with DirectWrite?
- Find the reference for screen capture with GraphicsCaptureSession.

## Similar
- [graphics-api-hooking](https://affpapa.org/en/nevibecode/skills/graphics-api-hooking.md) — skill · 213 installs
- [pixijs-scene-graphics](https://affpapa.org/en/nevibecode/skills/pixijs-scene-graphics.md) — skill · 7200 installs
- [threejs-graphics-optimizer](https://affpapa.org/en/nevibecode/skills/threejs-graphics-optimizer.md) — skill · 125 installs
- [graphics-and-shapes](https://affpapa.org/en/nevibecode/skills/graphics-and-shapes.md) — skill · 1000 installs
- [winmd-api-search](https://affpapa.org/en/nevibecode/skills/winmd-api-search.md) — skill · 5700 installs
- [cli-anything-nsight-graphics](https://affpapa.org/en/nevibecode/skills/cli-anything-nsight-graphics.md) — skill · 476 installs

From the same set: [fandhe-ai/agent-reference-skills](https://affpapa.org/en/nevibecode/by/fandhe-ai/agent-reference-skills.md) — 5 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
