skills/game-dev-commands/game-expand/SKILL.md
Adds a new feature to an existing MVP plan — scoped architect interview, scope validation against original plan, and integration into the build sequence. Extract the feature name or description from the user's message. Requires docs/mvp-first-draft.md — run game-architect first.
npx skillsauth add fcsouza/agent-skills game-expandInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
docs/mvp-first-draft.md in the project (run game-architect first)Execute in this exact order:
docs/mvp-first-draft.md
⛔ Cannot proceed. docs/mvp-first-draft.md not found. Run the game-architect skill first to create your MVP plan before expanding it. and stop.docs/build-registry.md if it exists — note which components are built vs mocked vs remainingThis phase runs before the interview to check if the requested feature conflicts with the existing plan.
Check 1: Out-of-Scope / Deferred features (Section 10 of mvp-first-draft.md)
Search docs/mvp-first-draft.md Section 10 for anything matching the feature name from the user's message:
⚠️ "[feature]" was explicitly deferred in your MVP plan (Section 10). Original reason: "[quote from plan]". Adding it now will increase scope beyond the original MVP. MVP completion is currently [%]. Proceed with expansion? (confirm to continue)
Check 2: Already-planned features
Search docs/mvp-first-draft.md Section 9 (Build Sequence) for the feature name:
⚠️ [feature] is already built (see docs/build-registry.md). Did you mean to refactor it? Use the game-review skill to audit the existing implementation. and stop.⚠️ [feature] is already in your MVP plan (Section 9) and not yet built. Use the game-build skill to implement it instead of re-planning. and stop.Check 3: MVP completion warning
If MVP completion < 50% and the deferred check did NOT trigger a warning:
Output: 📊 Note: Your MVP is [%] complete. Consider finishing the core MVP before expanding. This is informational — type your confirmation to proceed.
Wait for user confirmation.
Unlike game-architect which runs a full game interview, this skill asks ONLY what's needed to spec this specific feature.
Do NOT re-ask anything already answered in docs/mvp-first-draft.md (genre, tech stack, multiplayer type, core loop, etc.).
Ask exactly these questions (skip any that can be answered from the existing plan):
Question 1 (required — ask this first): "How does [feature] connect to your existing core loop? (e.g. 'it extends the economy system', 'it's a new player retention mechanic', 'it adds a new player vs player mode')"
Question 2 (required): "Which existing systems from your MVP does this feature depend on? (e.g. auth, matchmaking, quest system, economy)"
Question 3 (optional — only ask if feature scope is genuinely ambiguous): One targeted clarification question specific to the feature. Examples:
Never ask about naming conventions, code style, or anything the skill files already define.
Based on the existing MVP plan and the answers from Phase 2, produce a focused feature spec:
## Feature: [name]
**Core loop integration:** [how it feeds into the existing loop from the MVP plan]
**Depends on:** [existing components from build-registry that this requires]
**New systems required:** [components that must be built from scratch]
**Estimated complexity:** [Low / Medium / High — based on: Low = 1-2 new components, Medium = 3-4, High = 5+]
### Mechanics
**Player-facing:** [what the player does]
**Server-side validation requirements:** [what the server must enforce — be specific about authority boundaries]
### Data Model Sketch
[New Drizzle tables or columns needed — brief, not full schema]
Example:
- New table: `clans` (id, name, leader_id, created_at)
- New table: `clan_members` (clan_id, player_id, role, joined_at)
- Add column: `players.clan_id` → references clans
### Build Sequence Addition
[Where this feature slots into the existing Section 9 build sequence]
Example:
- After: `[existing component it depends on]`
- Before: `[existing component that could optionally use it]`
New build order for affected section:
1. [existing component]
2. [new component A] ← new
3. [new component B] ← new
4. [existing component that follows]
### Section 10 Updates
[Sub-features or complexity that should be explicitly deferred to keep this expansion focused]
Example:
- Deferred: Clan leaderboards (requires analytics system)
- Deferred: Cross-clan tournaments (out of scope until clan system is stable)
### Open Questions
[Unresolved decisions — do not silently assume answers]
1. [Question that must be answered before building this feature]
After producing the spec, update the MVP plan document:
Append the expansion section at the end of docs/mvp-first-draft.md:
---
## Expansion: [feature name]
> Added: [current date] via game-expand skill
[full feature spec from Phase 3]
Update Section 9 (Build Sequence) — integrate the new components at the correct dependency position in the existing sequence. Do not renumber existing components; append new ones after their dependency.
Update Section 10 (Out of Scope) — add any sub-features identified in "Section 10 Updates" above.
Present the completion summary:
✅ Feature added: [name]
📋 MVP plan updated: docs/mvp-first-draft.md
🔗 Depends on (must be built first if not already):
• [existing component 1] — status: [built / not built]
• [existing component 2] — status: [built / not built]
🆕 New components to build:
• [component A]
• [component B]
📊 Updated MVP scope: [previous total] → [new total] components
Next step:
game-build [first-unbuilt-dependency-or-new-component]
If any dependencies are not yet built, list them BEFORE the new components — the user must build dependencies first.
tools
Use when implementing client-server state synchronization, delta compression, optimistic updates, rollback netcode, or real-time game state reconciliation. Triggers: state sync, netcode, delta, rollback, interpolation, prediction.
testing
Use when designing virtual economies, currencies, sink/faucet balance, loot tables, crafting systems, shops, or inflation control. Triggers: economy, currency, sinks, loot, inflation, crafting, shop.
development
Audits existing game code against design principles — checks server-authority, schema conventions, auth security, payment safety, narrative coherence, and MVP scope drift. Extract the optional component name or path from the user's message (defaults to entire src/). Use after building components or before committing.
testing
Designs a single quest end-to-end — coherence check, objective tree, quest brief, and registry entry. Extract the quest name from the user's message. Requires docs/world-lore.md and docs/quest-registry.md.