/gameplay-debugging-toolkit:auditing-gameplay-implementation-coveragefrom Gameplay Verification & Debugging Toolkit
Audits stateful games for scenario-specific omissions across specification, state machine, implementation, presentation, and tests. Use when a game mostly works but may have missing sibling cases, inconsistent behavior across phases or actors, or important rules with no concrete probe.
Ships in Gameplay Verification & Debugging Toolkit. 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.
Find missing members of behavior families. A game rarely omits a whole feature; it omits one member of a set the code already declares — one phase that never got the second input alias, one actor variant the freeze path skips, one saved field nobody restores. Each omission looks like working code, because every branch present is correct.
This procedure builds an evidence-backed coverage ledger across intent, code, observable output, and tests, then verifies the high-risk gaps without changing the audited behavior. The output is a ledger of obligations and their status, not a repair.
known.no confirmed gap found, never as proof of completeness.Freeze a bounded audit scope before building the inventory. For a change-triggered audit, include
only surfaces the change can plausibly reach and their structurally coupled siblings. For a release
or recurring-defect audit, name the high-risk families being inspected. Record the rest in
unexamined_scope; do not turn either trigger into a whole-project audit by default.
Read repository instructions first, then the design/intent documents, as-built specification, entrypoints, state/phase machine, debug/test handles, and existing tests. Resolve the project's declared authority order before comparing them.
Inventory only values evidenced by the project:
Use references/coverage-surfaces.md to route the inventory. Do not form the full Cartesian product;
most combinations are meaningless.
Assign every obligation a stable OBL-<surface>-<number> identifier. Derive obligations from one of
these evidence classes and record which class applies:
Do not silently convert visual similarity or naming similarity into intent. If sibling equivalence
is plausible but not authoritative, create an intent-unknown question instead of a defect claim.
Prefer relational obligations over isolated examples:
observe(run(phase, alias_a)) == observe(run(phase, alias_b))
all scoring producers preserve an allowed source tag
every decision-changing state has a pre-decision presentation consumer
every declared event is emitted or explicitly declared silent
For each obligation, map all four links:
authority -> implementation path -> player/debug observable -> concrete test
Record none found rather than leaving a cell blank. Classify the row:
covered: all required links exist and the test checks a concrete outcome;confirmed-defect: authoritative behavior fails in a reproducible run;implementation-gap: authority is explicit but no implementation path exists;probe-gap: behavior exists but no test directly distinguishes it from the omitted case;presentation-gap: behavior changes a player decision but required feedback is absent;spec-conflict: authoritative artifacts or spec and implementation disagree;intent-unknown: a plausible sibling relation lacks authority;unverified: evidence is insufficient or the required path cannot be exercised.A smoke test is not mechanic coverage. A test counts only when its expected value or relation would fail if the member under audit were omitted.
Compare family membership rather than reading only implemented branches. Use fast textual and structural searches to census both sides of each relation:
Prioritize separately implemented siblings, negative branches, boundary ticks, and cross-system consumers. Use pairwise coverage when more than two independent axes interact; escalate to a larger combination only when causality or the code path requires it.
Verify in this order without editing audited behavior:
unverified or intent-unknown when any required evidence is missing.For a visual obligation, inspect the reached screen; state-only telemetry cannot prove presentation. For a test gap, provide the proposed assertion and the omission it would distinguish, but do not add the test unless the user also requests implementation.
Return the CoverageGapReport defined in references/coverage-gap-report.md. Lead with confirmed
novel defects, then implementation/presentation/probe gaps, conflicts, questions, and covered
high-risk obligations. Include known exclusions and unexamined scope.
Do not report a coverage percentage unless the obligation set was frozen before candidate review and the denominator is included. On a live build with no known defect denominator, report precision of adjudicated findings and coverage deltas, not recall.
probe-gap names a specific omission that the proposed assertion would detect.unexamined_scope.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub abagames/agentic-gamedev-skills --plugin gameplay-debugging-toolkit5 skills in this plugin
/adversarially-validating-game-repairsStress-tests an already-written game bug fix with adversarial cases selected from the state, timing, identity, lifecycle, persistence, and input surfaces the patch can actually reach, then returns a PatchEvidence record covering fail-to-pass, relevant pass-to-pass, inverse-case, invariant, and untested-scope evidence. Use when a fix makes the reported symptom go away and it is still unknown whether the fix is the real one or an overfit, coincidental, or plausible-but-wrong one. Not for finding unknown defects in a build (that is runtime smoke testing), checking one mechanic against its written spec, or judging difficulty, fun, or balance./implementing-gameplay-invariantsTranslates game design prose into engine-neutral implementation invariants and validation checks. Use when implementing or reviewing game mechanics where idle, hold-only, mashing, spam, safe waiting, or repeated scoring pulses must be prevented from dominating skilled play./localizing-game-state-divergenceLocalizes a reproducible gameplay defect to the first tick at which game state violates an invariant, by replaying a deterministic repro case and scanning a per-event observation trace (or bisecting only when replay is costly and the oracle is monotone), then reporting the first divergent event together with the state before and after it. Use when a game produces a wrong value, a duplicated or missing effect, or an impossible state, the defect can already be reproduced, and nothing throws — so there is no stack trace or error message to follow back. Not for crashes, exceptions, build failures, or test errors that already name a line; not for deciding whether a value is well balanced; and not for writing the fix itself./verifying-turn-based-gamesVerifies two-player strict-alternating-turn games via a pure-function engine contract and bot-ladder / WP-tension metrics. Use when designing or implementing board/card games that need replay, search, bot ladders, win-rate analysis, tension metrics, or decision-density evaluation. Skip for real-time, simultaneous-action, 3+ player, or single-player puzzle games.Other plugins' skills for the same job