/funplay-skill:playable-game-build-flowfrom funplay-skill
Guides building a playable browser-game vertical slice from a brief idea through intent capture, pillar contract, scoped implementation, and self-check. Optimized for PixiJS or Three.js prototypes.
Ships in funplay-skill. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use this skill for a new small browser game or a major prototype reset where the user wants a playable vertical slice, not a broad design document.
Optimize for the first game loop the player can actually try. Keep the session tight: ask only the questions needed, write only the files needed for the slice, and validate player-facing behavior before finishing.
For a new game, ask one compact question set before templates or code.
If the runtime exposes a structured user-question tool such as ask_user, ask_user_question, or request_user_input, use that tool for this phase. If no structured user-question tool is available, ask the same compact question set in normal chat. If the initial brief already answers the items below, summarize the inferred answers and continue without asking again.
Cover only:
Do not ask about engine, platform, control scheme, module boundaries, level list, story details, or asset procurement unless the user already brought them up. If the user skips details or gives partial answers, choose sensible defaults when safe and continue. Keep follow-up questions rare and only use them when the missing answer would materially change the first playable slice.
Create exactly one pillar contract before implementation. Put it under the project docs directory when one exists; otherwise use docs/<slug>-pillar.md.
Use this structure:
# Game Name - Pillar Contract
## Intent
- 3-8 player-facing bullets
## Core Fun
1-2 sentences.
## Pillars
### pillar-one
1-2 sentences.
## Core Loop
- 4-6 player action nodes
## Art Direction
Engine choice and visual baseline.
## Modules
### kebab-case-module
- Carries: what gameplay responsibility this owns
- Watch-out: the easiest way this module can sprawl or break the slice
Validate the file before moving on. The validator is bundled with this skill, not with the target game project. Do not assume skills/playable-game-build-flow/... exists under the project root. Resolve scripts/validate-pillar.mjs relative to this skill's installed directory and run it with the pillar file path:
node <path-to-this-skill>/scripts/validate-pillar.mjs docs/<slug>-pillar.md
If the runtime cannot expose bundled skill files as executable paths, validate manually against the same rules and explicitly say the script was not run. Manual fallback checklist:
# Game Name - Pillar ContractIntent, Core Fun, Pillars, Core Loop, Art Direction, ModulesIntent has 3-8 player-facing bulletsCore Loop has 4-6 player action nodesPillars has 2-4 kebab-case subsectionsModules has 2-4 kebab-case subsections with Carries and Watch-outEngine default:
Art Direction.Do not include balance tables, API specs, exhaustive state machines, or full content lists in the pillar contract.
Use the project’s existing stack or template system if present. If there is no clear template system, create the smallest local setup that matches the project conventions.
After setup, read only:
AGENTS.md, CLAUDE.md, or local docsAvoid broad source sweeps before the playable loop exists.
Build one vertical slice:
Runtime rules:
Scope control:
Before the final response, inspect code and, when practical, run the local app or tests. Confirm:
If a P0 item fails, fix that concrete issue before finishing.
For bug fixes, small features, or polish in a project that already has a pillar contract:
For major redesigns, ask one compact intent question set, edit the existing pillar contract, and do not create a second pillar document.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: agents: Invalid string: must end with ".md"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
14 skills in this plugin
/audio-format-convertConvert audio files between WAV, OGG, and MP3 with ffmpeg./canvas-page-popup-bootstrapSafely create or inspect new Cocos page, popup, or HUD canvas entries with canonical entry paths, parent and flow wiring, and authored-source guardrails./canvas-page-popup-removalCheck blockers and safely remove existing Cocos page or popup canvas nodes without silently deleting prefab, script, or runtime assets./cocos-ui-node-retrofitClassify and plan safe Cocos UI node retrofits such as text changes, SpriteFrame swaps, or converting a label-only control into an image-backed button with overlay text./commercial-unity-gameUse this when designing, building, or auditing a commercial-grade Unity mobile/F2P game beyond prototype scope, including architecture, save data, data-driven content, economy, IAP/shop, retention, asset/audio pipelines, analytics, remote config, and Funplay Unity MCP verification./game-concept-briefTurn an early game idea or creative inspiration into a compact GDD-lite concept brief with creative north star, MDA framing, MVP scope, and first-playable acceptance criteria before implementation.Other plugins' skills for the same job