game-dev
БесплатноБез исполняемых скриптовНе проверенUse when the user wants to build, prototype, or architect a 2D browser game — e.g. "make a game", "build a platformer/shooter/word game/stickman game", "let's…
от jiayaoqijia★ 81 звезда на GitHubОб этом скилле
2D Game Dev — Build & Test Loop
Scope
This skill is for 2D, browser-based games (HTML5/Canvas/WebGL via JS or TS). If the user wants 3D, a native (non-web) target, or a specific engine like Unity/Unreal/Godot, say so explicitly and ask whether they still want you to proceed with adapted guidance — don't silently force it into the web mold.
The discipline this skill enforces
Solo game projects die from two things: never nailing down what the game actually is, and building five systems in parallel none of which actually work. This skill exists to prevent both. Follow the phases below in order. Do not skip the interview. Do not build more than one system at a time. Do not mark a system done without watching it work in a real browser.
Phase 0 — Resume / Existing-Project Check (run this before anything else)
Before doing anything else, check the project root:
GAME_SPEC.mdalready exists → this is a resumed project, not a new one. ReadGAME_SPEC.mdandSYSTEMS.mdin full. Do not re-run the Phase 1 interview. Jump straight to Phase 4 and continue at the first system inSYSTEMS.mdthat isn'tdone. Briefly confirm your read of where things stand with the user before writing any code, in case something changed since the last session.- No
GAME_SPEC.md, but a project already exists (apackage.json, an existingsrc/, etc.) → an established project the skill wasn't used to start. Don't scaffold over it. Read what's there (stack, structure, existing game logic), then run Phase 1 to establishGAME_SPEC.md, and do Phase 3 adapted to buildSYSTEMS.mdand a dev level around the existing code rather than a fresh scaffold. - Neither exists → genuinely new project. Proceed to Phase 1 normally.
Phase 1 — Discovery Interview (new projects only — see Phase 0)
Never assume genre, platform, or scope on the user's behalf. Ask, using
AskUserQuestion.
Round 1 — always ask these together
- Game type/genre. Offer concrete options plus a free-type escape hatch: Platformer · Side-scroller / endless runner · Shooter (top-down / arcade / bullet-hell) · Stickman or ragdoll physics · Puzzle · Word game · Simulation / idle · Top-down adventure or action · Other (let them describe it in their own words — never force a freeform idea into one of the listed buckets if it doesn't fit).
- Target platform. Desktop (keyboard/mouse) · Mobile (touch) · Both. This decides input abstraction and layout from the start, not as an afterthought.
- Art approach. Placeholder/programmer art (ship fast, swap later) · Pixel art · Vector/flat shapes · "I already have assets."
- Scope. Quick prototype (one core loop, a handful of systems) · Full small game (multiple levels/content, a polish pass).
Round 2 — genre-specific follow-ups
Derive 2–4 follow-up questions from whatever genre came out of Round 1. Don't ask a static checklist — pick what's actually decision-relevant. Examples:
- Platformer: jump feel (floaty vs snappy)? Single screen or multi-level? Enemies/hazards?
- Side-scroller/runner: auto-scroll or player-driven? Endless or level-based? Obstacle pattern style?
- Shooter: perspective (top-down/side-on)? Free movement or rail? How complex are bullet patterns?
- Stickman/ragdoll: physics-driven skeleton or animated? Combat, sandbox, or platformer-with-ragdoll?
- Word game: curated word list or full dictionary? Single-player or turn-based multiplayer? Grid-based or freeform?
- Simulation/idle: what's being simulated? Real-time or tick-based? How deep is the progression/economy?
- Puzzle: core mechanic (match / physics / logic)? Level-based or endless/procedural?
- Other (freeform description): ask them to state the core loop in one sentence, then confirm your read of it back to them before proceeding — don't guess silently.
Write the spec
Once both rounds are answered, write GAME_SPEC.md in the project root
using references/game-spec.template.md as the structure: genre, platform
target(s), art approach, scope, every genre-specific answer, plus a
one-paragraph "core loop" summary in your own words. This file is the
source of truth for the rest of the build — every later phase reads it,
and scope creep beyond it requires asking the user first, not deciding
unilaterally.
Phase 2 — Tech Stack Selection
Read references/libraries.md — it's a curated knowledge base of the 2D
web game libraries available (engines, physics, audio, tilemaps, word-list
sources, mobile input, bundler). Pick the smallest stack that actually
satisfies GAME_SPEC.md. Default bundler is Vite unless there's a reason
not to. State the chosen stack and a one-line reason to the user; only ask
for confirmation if two real options are genuinely close and the tradeoff
matters to them (e.g. Phaser vs. raw PixiJS when physics needs are unclear).
Phase 3 — Scaffo
Установить game-dev в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл game-dev?
Use when the user wants to build, prototype, or architect a 2D browser game — e.g. "make a game", "build a platformer/shooter/word game/stickman game", "let's build a 2D game", or any request to start game systems from scratch for the web. Drives a strict discovery-interview → system-by-system build-and-test loop, using in-browser testing after every system.
Как установить скилл game-dev?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл game-dev запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic