Tooluck logoTooluck
SKILL.md

card-game

Agent skill fromgamedev-skills/awesome-gamedev-agent-skills

Build a card game: card data, deck/hand/discard zones, draw/shuffle/reshuffle, a turn structure, costs, and effect resolution. Use for a deckbuilder, TCG/CCG, or roguelike deckbuilder.

How to install card-game

install card-game
# install the awesome-gamedev-agent-skills pack with the skills CLI
npx skills add gamedev-skills/awesome-gamedev-agent-skills

# or add only this skill to Claude Code: copy the folder

skills/genres/card-game/

# into

~/.claude/skills/card-game/ (all projects)

.claude/skills/card-game/ (one project)

skills/genres/card-game/SKILL.md

Apache-2.0Full file
1# Card Game
2
3A playbook for card games — card data, the deck/hand/discard zones, the turn structure, and
4how card effects resolve. This is a **compositional** skill: it models cards as data and wires
5them to UI. It does not re-teach data assets or UI nodes; it defines the zone model, the draw
6machinery, and the effect-resolution rules that keep a card game correct and bug-free.
7
8## When to use
9
10- Use when building any game where the core objects are **cards** moving between zones
11 (deck → hand → play → discard): deckbuilder, TCG/CCG, solitaire, roguelike deckbuilder.
12- Use when designing draw/shuffle/reshuffle, turn structure, card costs, or how effects resolve.
13
14**When *not* to use:** board/tile state with matching rules → `puzzle`. RPG with an
15incidental card battler → start from `rpg`. For defining cards as assets, use `godot-resources`
16/ `unity-scriptableobjects`; for the hand/drag UI, use `godot-ui-control`.
17
18## Core loop
19
20**Draw to your hand → spend resources to play cards → effects resolve and change the board →
21end the turn (cleanup/discard) → opponent/next phase → repeat until a win condition.** Depth
22comes from the *combinations* a hand allows; the engine's job is to resolve them unambiguously.
23
24## Must-have systems
25
261. **Card data** — id, name, cost, type, text, and an effect spec (data, not code).
272. **Zones** — deck (draw pile), hand, play/board, discard, exile/removed; cards live in exactly one.
28…

Excerpt shown under the repository's Apache-2.0 license.

More skills in awesome-gamedev-agent-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

nexu-io /

open-design
107k

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.

40 skills

tt-a1i /

archify
95k

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

CCCXOC1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates