Formalizes game rules into precise, unambiguous definitions using state machines. Useful for tabletop rulebooks, digital systems specs, and resolving edge cases.
Ships in game-design-full-suite. 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.
None: SKILL.md is the whole skill.
Rules are the contract between the game and the player. Ambiguous rules create arguments at the table and bugs in code. This skill turns design intent into precise, testable definitions.
Every game rule is a state machine, whether the designer thinks of it that way or not. Formalizing rules means making the state machine explicit.
Every rule has four components:
PRECONDITION: What must be true for this rule to apply?
TRIGGER: What event activates this rule?
RESOLUTION: What happens when the rule fires?
POSTCONDITION: What state is the game in after resolution?
Example — Attack Rule:
PRECONDITION: Active player has a character with Action Points > 0.
Target is within range of equipped weapon.
Line of sight exists between attacker and target.
TRIGGER: Player declares attack action and selects target.
RESOLUTION: Roll 2d6 + Attack Modifier.
If result >= target's Defense Value: hit. Apply weapon damage.
If result < target's Defense Value: miss. No effect.
Reduce attacker's Action Points by 1.
POSTCONDITION: Target's HP is updated (if hit).
Attacker's Action Points are reduced.
Turn continues if Action Points remain.
Weak rule (ambiguous): "Players can attack nearby enemies to deal damage."
Constitutional rules — Define the game itself. Cannot be broken by gameplay.
Operational rules — Define how play proceeds. The sequence of actions.
Behavioral rules — Define what entities in the game can do.
Conditional rules — Define exceptions and special cases.
Meta-rules — Rules about rules. Resolve ambiguity.
For each rule in the game, produce a formal definition:
RULE ID: [Unique identifier, e.g., COMBAT-001]
RULE NAME: [Human-readable name]
TYPE: [Constitutional / Operational / Behavioral / Conditional / Meta]
PRECONDITION: [What must be true]
TRIGGER: [What activates this rule]
RESOLUTION: [Step-by-step, no ambiguity]
POSTCONDITION: [What state results]
REFERENCES: [Other rules this rule depends on or modifies]
EDGE CASES: [Known edge cases and their resolution]
Precision checklist for each rule:
Edge cases are where rules break. Identify them proactively.
Systematic edge case discovery:
Edge case format:
EDGE CASE: [Scenario description]
RULES INVOLVED: [Which rules collide?]
RESOLUTION: [How is it resolved?]
PRINCIPLE: [What general principle does this resolution establish?]
Map which rules reference, modify, or depend on other rules:
RULE DEPENDS ON MODIFIES OVERRIDDEN BY
──────────────────── ──────────────────── ────────────────── ──────────────────
COMBAT-001 (Attack) MOVE-003 (Range) HP-001 (Health) STEALTH-002 (Hidden)
EQUIP-001 (Weapons) AP-001 (Actions) SHIELD-001 (Block)
Dependency analysis flags:
Every game needs a precise glossary. Every term used in rules must appear here.
Format:
TERM: [The word or phrase]
DEFINITION: [Precise, unambiguous meaning in this game's context]
NOT: [What it doesn't mean, if commonly confused]
FIRST USED: [Which rule first introduces this term]
Glossary quality rules:
For tabletop: The actual rulebook text. For digital: The in-game help text and tutorial script.
Rulebook structure (tabletop):
Systems spec structure (digital):
Precision over elegance. A rule that's ugly but unambiguous beats a rule that's beautifully written but has three interpretations.
Atomic rules. Each rule should do one thing. "On your turn, draw a card and then take an action" is two rules ("draw a card" and "take an action") in one sentence. They should be separable because edge cases will need to address them independently.
Explicit defaults. "Unless otherwise stated, all effects are resolved immediately." Don't make the player guess the default.
Exception hierarchy. When exceptions exist, define the precedence: Specific beats general. Card text beats rulebook. Later effects beat earlier effects. State these meta-rules clearly.
Active voice, second person. "You draw a card" not "A card is drawn by the active player." Rules should feel like instructions, not legal text.
Playtest rules can be:
Published rules must be:
The Novel — Rules so long and detailed that no one reads them. Brevity serves clarity.
The FAQ-Dependent Ruleset — Rules that require a 20-page FAQ to actually play. The FAQ should clarify rare edges, not patch fundamental ambiguity.
The Gentleman's Agreement — "Oh, we just handle that with common sense." If it requires judgment, it's not a rule — it's a gap.
The Power Creep Enabler — Rules written so loosely that every new card/ability finds an exploit. Tight rules prevent unintended interactions.
The Retroactive Patch — Adding rules after problems emerge without checking if the new rule conflicts with existing ones. Every addition must pass the dependency check.
This skill produces:
These outputs feed into:
What SKILL.md sets; muted values are Claude Code's defaults
/game-design-full-suite:rules-formalizerfrom game-design-full-suite
npx claudepluginhub baxatron-git/claude-game-design-suite --plugin game-design-full-suite22 skills in this plugin
/aesthetic-direction-frameworkDefine the sensory identity of a game — how it looks, sounds, and feels in service of the vision and pillars. The bridge between design intent and sensory execution. Use this skill when: (1) establishing the visual, audio, and tactile identity for a new project, (2) a game "feels wrong" and the sensory layer may be misaligned with mechanics or vision, (3) pillar changes require aesthetic re-evaluation (bidirectional with Skill 2), (4) defining art direction or audio direction pillars, (5) establishing game feel targets (juice, responsiveness, weight), (6) ensuring sensory coherence across all elements, (7) defining component aesthetics for tabletop (table presence, material quality). Co-equal with Design Pillars (Skill 2) at Tier 2. Medium-agnostic.
/core-loop-designerDefine the fundamental action cycle — what the player does repeatedly and why it stays engaging. The heartbeat of the game. Use this skill when: (1) translating pillars and experience targets into a concrete gameplay cycle, (2) diagnosing why a game feels repetitive or disengaging, (3) designing nested loop structures (moment-to-moment, session, meta/campaign), (4) identifying attrition risk points where players disengage, (5) evaluating whether a proposed mechanic serves the core loop or fragments it, (6) designing how the loop evolves over time to sustain long-term engagement. Medium-agnostic — works for digital, tabletop, and hybrid games.
/design-coherence-engineMeta-skill that wraps the Game Design Skill Suite (21 skills, 8 tiers). Manages change propagation, coherence checking, priority arbitration, and adaptive flow between game design skills. Use this skill when: (1) starting a new game design project and determining which skills to activate, (2) a design change in one area may affect other areas, (3) checking whether all design elements are still aligned with vision and pillars, (4) resolving conflicts between competing design demands, (5) re-entering the design process after a playtest or discovery invalidates assumptions, (6) the designer wants to start from a non-standard entry point (e.g., starting from a mechanic idea rather than vision).
/design-iteration-trackerTrack what changed, why it changed, and what the result was. Prevent circular design and build institutional memory. Use this skill when: (1) logging design decisions with rationale and supporting data, (2) detecting when a proposed change moves back toward a previously rejected state, (3) tracking the impact chain of changes across systems, (4) maintaining version history of key design parameters, (5) building a searchable history of design evolution, (6) onboarding new team members who need to understand why things are the way they are. Medium-agnostic — works for digital, tabletop, and hybrid games.
/design-pillars-architectDistill a game vision into 3-5 actionable design pillars that constrain and guide every design decision. Pillars are the filter — if a feature doesn't serve a pillar, it gets cut. Use this skill when: (1) a game vision exists but needs translating into actionable constraints, (2) the team needs a shared framework for evaluating design decisions, (3) feature creep threatens and the project needs refocusing, (4) aesthetic direction challenges require pillar re-evaluation (bidirectional with Skill 3), (5) a pillar is suspected of no longer serving the vision. Co-equal with Aesthetic Direction (Skill 3) at Tier 2. Medium-agnostic.
/economy-progression-designerDesign the mathematical backbone of a game — resource flows, power curves, unlock pacing, and reward schedules. Use this skill when: (1) designing resource systems (currencies, materials, energy, cards, tokens), (2) defining progression curves (XP, power, unlock cadence), (3) choosing reward schedules (fixed, variable, interval-based), (4) diagnosing inflation, deflation, or resource starvation, (5) designing monetization without pay-to-win (if applicable), (6) pacing unlock cadence across a campaign or live service, (7) balancing resource sinks against sources to maintain a healthy economy over time. Medium-agnostic — works for digital, tabletop, and hybrid games.
Other plugins' skills for the same job