Structures a game's story using act frameworks, branching narratives, and story beats. Helps plan plot delivery, player choices, and manage branching complexity.
Ships in game-dev. 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.
Choose one before you draw any beats.
Ask of either method: which conflicts and choices let different stories arise, how can players make the story theirs, and does play produce a good interest curve.
For modular narrative built from small recombinable pieces, see Ken Levine's GDC 2014 talk "Narrative Legos" in references/sources.md.
An act frame gives a story shape. Use it as a skeleton, not a formula.
Give the protagonist goals, obstacles and conflicts that match what the player does in play. Space tense beats with quiet ones. Keep world logic consistent; see quest-narrative-coherence and worldbuilding.
Choice trees grow fast: ten levels of three choices give a tree of 88,573 nodes (Schell's figure). You cannot write or test the full tree. Decide how you will cut it before you write branches.
Use templates/branching-diagram.md to draw the graph and templates/story-beat-template.md to list beats, prerequisites and consequences.
A choice with no visible effect reads as no choice. Show the effect soon after the choice and again later. Do not invalidate a decision the player made on purpose.
templates/branching-diagram.md: copy when you document branches, merges and endings, in Mermaid or as an indented list.templates/story-beat-template.md: copy when you plan beats by act, with choices and consequences.references/sources.md: read when you need the source behind a claim here.What SKILL.md sets; muted values are Claude Code's defaults
/game-dev:story-structure-gamefrom game-dev
npx claudepluginhub fcsouza/agent-skills --plugin game-dev39 skills in this plugin
/betterauth-integrationCovers the game-specific layer of Better Auth: player, moderator and admin roles, session checks on game routes and WebSocket handshakes, and keeping the auth session apart from the game session. Use when a game needs player login, moderator or admin powers, or authenticated real-time connections, and the project uses Better Auth./bullmq-game-queuesBackground job design for game backends on BullMQ and Redis: one queue per game domain, idempotent reward fulfilment, and cron schedulers for daily rewards and season ends. Use when a game needs matchmaking requests, reward grants, match results, notifications or analytics processed off the request path, or recurring and timed jobs such as daily login rewards, leaderboard snapshots and season rollovers./character-design-narrativeCovers designing game characters: NPCs, companions, antagonists, player avatars, character bibles and branching dialogue. Use when a game needs a new character written, an NPC feels flat or interchangeable, or dialogue needs a branching format with conditions and effects./ci-cd-gameGitHub Actions pipeline rules for a Bun game backend on Neon and Fly.io: migrations before deploy, one Neon database branch per pull request, a smoke test after deploy, and a pinned Bun version. Use when a game project needs CI, a deploy workflow, preview databases for pull requests, or a safe order for schema migrations and server deploys./elevenlabs-sound-musicCovers generating game audio with ElevenLabs (voice lines, sound effects, music) and Google Lyria 2 (instrumental music clips), and playing it in the browser through an audio state machine with crossfades, per-layer volume and an unlock on the first user input. Use when a game needs sound effects, NPC voice lines or a soundtrack, when music must follow game state (menu, exploration, combat, boss) without hard cuts, when audio stays silent on a phone until the player taps, or when choosing between ElevenLabs and Lyria for music./game-anti-cheatCovers how a developer defends their own online game against cheating: server-side input validation, withholding hidden state, lag-compensation limits, dupe-proof transfers, detection from server data and reports, and enforcement with delayed bans, appeals and refunds to victims. Use when a multiplayer game has speed hacks, wallhacks, aimbots, bots, item or currency dupes, real-money trading, boosting or win trading, or when planning how to detect and ban cheaters.Other plugins' skills for the same job