Skills for Real Engineers. Straight from my .agents directory.
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
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)
1# Card Game23A playbook for card games — card data, the deck/hand/discard zones, the turn structure, and4how card effects resolve. This is a **compositional** skill: it models cards as data and wires5them to UI. It does not re-teach data assets or UI nodes; it defines the zone model, the draw6machinery, and the effect-resolution rules that keep a card game correct and bug-free.78## When to use910- Use when building any game where the core objects are **cards** moving between zones11 (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.1314**When *not* to use:** board/tile state with matching rules → `puzzle`. RPG with an15incidental 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`.1718## Core loop1920**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.** Depth22comes from the *combinations* a hand allows; the engine's job is to resolve them unambiguously.2324## Must-have systems25261. **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
Similar skill repositories
Public repository for Agent Skills
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
Production-grade engineering skills for AI coding agents.
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.
Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
