# tabletopkit

Guides work on visionOS spatial board games using TabletopKit, including game pieces, turns, participant sync, and RealityKit rendering.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 2900 installs · ★ 1237
- Author: dpearson2699
- License: LicenseRef-Unknown · policy=link-only · description only; the file stays with the author
- Source: https://github.com/dpearson2699/swift-ios-skills/tree/HEAD/skills/tabletopkit/SKILL.md
- Updated: 2026-07-31
- HTML: https://affpapa.org/en/nevibecode/skills/tabletopkit

## What it does

This skill guides implementation of visionOS spatial board games with `TabletopKit`. It covers table surfaces, player seats, pieces, cards, and dice, with state changes expressed through `TabletopAction`. Visual entities use `RealityKit`, while `TabletopInteraction` handles gesture-based equipment input.

Multiplayer work requires the `Group Activities` capability and USDZ assets for tables, pieces, cards, and dice in a RealityKit content bundle. State can be read with `withCurrentSnapshot(_:)`; when automatic updates are off, call `update(deltaTime:)` every frame. The simulator is limited to single-player layout checks, so it cannot validate multiplayer behaviour. `TabletopInteraction.Configuration` needs visionOS 2.2+, while custom actions and extended state require visionOS 26.0+.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill tabletopkit -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill tabletopkit -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill tabletopkit -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install dpearson2699/swift-ios-skills tabletopkit
```

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

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill tabletopkit -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/dpearson2699/swift-ios-skills --path skills/tabletopkit
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill tabletopkit -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/dpearson2699/swift-ios-skills/tree/HEAD/skills/tabletopkit/SKILL.md

## When to use it
- build a visionOS game table and board
- define stateful pieces, cards, and dice
- assign player seats and turn control
- sync game actions with Group Activities
- handle object gestures and table physics

## Example prompts
- Create a visionOS board game with `TabletopKit`, a table, two player seats, and pawns.
- Add cards and dice with state, then render their entities with `RealityKit`.
- Set up turn actions with `TabletopAction` and multiplayer state through `Group Activities`.

## Similar
- [visionos-design-guidelines](https://affpapa.org/en/nevibecode/skills/visionos-design-guidelines.md) — skill · 932 installs
- [axiom-graphics](https://affpapa.org/en/nevibecode/skills/axiom-graphics.md) — skill · 1200 installs
- [axiom-games](https://affpapa.org/en/nevibecode/skills/axiom-games.md) — skill · 1100 installs
- [apple-hig](https://affpapa.org/en/nevibecode/skills/apple-hig.md) — skill · 3200 installs
- [hig-platforms](https://affpapa.org/en/nevibecode/skills/hig-platforms.md) — skill · 666 installs
- [hig-inputs](https://affpapa.org/en/nevibecode/skills/hig-inputs.md) — skill · 633 installs

From the same set: [dpearson2699/swift-ios-skills](https://affpapa.org/en/nevibecode/by/dpearson2699/swift-ios-skills.md) — 86 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
