/one-button-game-builder:implementing-gameplay-invariantsfrom One-Button Game Builder
Translates game design prose into engine-neutral implementation invariants and validation checks. Use when implementing or reviewing game mechanics to prevent idle, mashing, spam, or safe waiting from dominating skilled play.
Ships in One-Button Game Builder. 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.
Turn design intent into concrete implementation constraints. This skill sits between game design and engine-specific coding: it converts statements such as "mashing should be worse than timed play" into invariants, implementation patterns, and validation checks that can be applied in any engine.
Use this skill even without designing-mini-games when a game spec contains risk/reward prose but does not say how the code will enforce it.
If the game has no design spec yet, start with designing-mini-games (it covers one-button and multi-input briefs).
mono_dominant, tied, or repeated-input dominance, and you already know which design promise needs a code-level invariant.evaluating-gameplay-balance when a failure has occurred and you need to diagnose the cause or choose a balance pattern; use this skill after that when the chosen fix needs a new code-level invariant.Extract each design promise that must be true in code:
Rewrite each promise as an invariant:
targetId, pulseId, or equivalent) so duplicate scoring is detectable.Run a policy-specific precheck before coding when the mechanic can be reasoned about from the spec:
Choose an implementation pattern from references/invariant-patterns.md if needed.
Check for scoring loopholes:
Add or review the implementation:
Validate:
NoInput score/death, HoldOnly score/death, SpamPress scoring events, entity counts, resource drain, and score-per-opportunity caps.SpamPress score per unique target below a scripted skilled cycle, HoldOnly score capped below a stated rate, or max active entities below a fixed limit.Use this compact form in specs, PR notes, or code reviews:
- Design promise: <prose from spec>
- Implementation invariant: <testable rule>
- Pattern: <pattern ID from references/invariant-patterns.md, e.g. cooldown, per-target-cap, resource-drain>
- Readout: <the persistent on-screen indicator that lets the player act on this rule — or why this rule changes no player decision>
- Precheck: <whether the bad policy dies, survives safely, or must be score-capped>
- Validation: <policy, telemetry, or seeded scenario that should fail if the invariant is broken>
Readout is not documentation of the rule; it is part of the rule. An invariant that changes
what the player should do, and is not drawn, is indistinguishable from an unfair game — see
"Invisible rule" below.
A change is valid when:
If validation is impossible, report that the invariant is specified but unverified.
references/invariant-patterns.md — reusable patterns for mashing, hold-only, idle, safe waiting, pulse scoring, combos, and resource states.What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/auditing-game-screen-readabilityAudits what a running game's screen shows at the moments that matter, by capturing frames at gameplay events and at forced coincidences and checking them for overlapping or occluded text, indicators too faint, too small, or too brief to read, HUD elements whose meaning an isolated reader cannot name, and labels no decision depends on. Use when a game plays correctly but a display may be hidden, clipped, crowded, unexplained, or unnecessary, after adding HUD elements, notices, warnings, or score popups, or before release. Not for whether the goal, options, and risk can be read (use gating-intent-legibility), for choosing a visual direction (use directing-game-visuals), or for font selection and licensing (use styling-web-game-typography)./designing-mini-gamesDesigns original, compact mini-games — rules, controls, scoring, hazards, and difficulty curves — for any input scheme, including one-button (tap / hold / release) games. Use when defining a new mini-game concept, converting creative constraints or seeds into mechanics, choosing an input scheme, checking state-variable necessity, or preventing idle, hold-only, or mashing play from becoming optimal./designing-minimal-game-rulesTurns an abstract game-design seed into a minimal discrete-state rule system by generating conflict-axis candidates, stress-testing with Rule Breaker and Strategy Breaker roles, then reducing to the smallest surviving core. Use when designing a compact turn-based or step-based game that must work without numeric tuning, manual level design, or aesthetic polish./directing-game-visualsDirects readable, coherent game visuals. Use when defining visual hierarchy, palette roles, screen composition, event feedback, or reducing generic AI-looking game art without relying on HUD text./evaluating-gameplay-balanceEvaluates and improves gameplay balance from telemetry in any engine. Use when comparing monotonous vs exploratory play, diagnosing death/spawn/scoring/input issues, setting difficulty, timer, or pacing targets with human-limited simulated players, calibrating those players against a person's replays or run summaries across play sessions, or proposing structural balance fixes instead of numeric tuning./gating-intent-legibilityMeasures whether a player who was never told the rules can read a game's intent off the screen, by sampling scenes from a recorded run and having an isolated agent that has not seen the design or source name the goal, the options, and the risk. Use when a game runs and its mechanics are verified but it is unknown whether the screen communicates what to aim for without a tutorial or HUD text, or as a cheap early gate that can fail a design for decision collapse before a telemetry sweep. Not for judging fun or difficulty, not for verifying that a mechanic matches its spec, and not for confirming that varied decisions survive continued optimal play.npx claudepluginhub abagames/agentic-gamedev-skills --plugin one-button-game-builder2 plugins in one repository ship this exact skill · first indexed Sep 5, 2026
Other plugins' skills for the same job