regression-suite
What it does
This skill keeps a list of the most important tests in a game project and checks that fixed bugs are covered. It is for QA leads and developers who want to prevent old bugs from returning.
When to use it
- βWhen a developer fixes a bug and needs to confirm a regression test was written for it.
- βWhen a team wants to see whether the key game paths are covered by tests before a release.
- βWhen a sprint ends and the team wants to check that new features have been tested.
Skill link
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/regression-suite/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCheck that every bug we fixed this sprint has a regression test, and tell me what is missing.β
5 new skills a week. 1 minute to read.
How it works
The skill maps the project's tests to its critical game paths and to the bugs that were fixed. It writes a regression suite list and reports any fixes or features that lack coverage.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys automation,workflow,qa.level,system_overrides
Resolved above β use as-is. No block β defaults in
.claude/docs/config-resolution.md.
Regression Suite
This skill ensures that every bug fix is backed by a test that would have caught the original bug β and that the regression suite stays current as the game evolves. It also detects when new features have been added without corresponding regression coverage.
A regression suite is not a new test category β it is a curated list of
tests already in tests/ that collectively cover the game's critical paths
and known failure points. This skill maintains that list.
Output: tests/regression-suite.md
When to run:
- After fixing a bug (confirm a regression test was written or identify gap)
- Before a phase gate β at
qa.level: full,/gate-checkrequires a regression suite - As part of sprint close to detect coverage drift
Every AskUserQuestion call follows .claude/docs/automation-modes.md
(collaborative asks always Β· guided major-only Β· autonomous logs and proceeds;
automation_always_ask categories always prompt).
Workflow tier: modes.workflow as resolved above β supplied by modes.rigor
unless set explicitly β per .claude/docs/workflow-modes.md; in audit mode consider
workflow_overrides.system_overrides.<system> per system as each GDD is read. It
sets whether GDD critical paths are mapped or coverage is smoke-only β see Step 2c.
qa.level: controls whether the suite is generated at
all. At minimal, the regression suite is not generated (report that and
stop); at standard, generate it at Polish-stage entry; at full, at
Production-stage entry. Distinct axis from workflow.
1. Parse Arguments
Early qa.level guard (resolved above): if qa.level: minimal, the
regression suite is not generated β report "Regression suite not generated at
qa.level minimal" and STOP here, before any scan, in every mode
(update / audit / report). This is the qa.level axis; it is distinct from
the workflow-tier minimal branch in Step 2c (which only changes the
critical-path source, not whether the suite runs). Do not enter Step 2c's
minimal branch on account of qa.level. This stop's verdict is
NOT ASSESSED (Section 7) β tests are not required at this level, and nothing
was scanned.
Modes:
/regression-suite updateβ scan new bug fixes this sprint and check for regression test presence; add new tests to the suite manifest/regression-suite auditβ full audit of all GDD critical paths vs. existing test coverage; flag paths with no regression test/regression-suite reportβ read-only status report (no writes); suitable for sprint reviews- No argument β if a sprint is clearly active (sprint plan exists with in-progress stories), run
update. If ambiguous or no active sprint is detected, useAskUserQuestion:- Prompt: "No subcommand specified. Which mode do you want to run?"
- Options:
[A] update β scan new bug fixes this sprint and add missing regression tests[B] audit β full audit of all GDD critical paths vs. existing test coverage[C] report β read-only status report (no writes)
2. Load Context
Step 2a β Load existing regression suite
Read tests/regression-suite.md if it exists. Extract:
- Total registered regression tests
- Last updated date
- Any tests flagged as
STALEorQUARANTINED
If it does not exist: note "No regression suite found β will create one."
Step 2b β Load test inventory
Glob all test files:
tests/unit/**/*_test.*
tests/integration/**/*_test.*
tests/regression/**/*
For each file, note the system (from directory path) and file name. Do not read test file contents unless needed for name-to-test mapping.
Step 2c β Load GDD critical paths
For audit mode: read design/gdd/systems-index.md to get all systems, then
scope the scan by each system's workflow tier (resolved above):
fullβ read the GDD and map critical paths from all sections.standardβ same, from the required sections (Acceptance Criteria, Edge Cases, and Formulas where the system defines numeric rules). A system pinned higher viasystem_overridesis mapped at its higher tier.minimalβ skip the GDD critical-path scan. Instead read the latest smoke-check report inproduction/qa/smoke-*.mdand take the criti
FAQ
What is a regression suite?
It is a curated list of existing tests that together cover the game's most important paths and past failures.
Does it write new tests?
It identifies gaps so the team can decide which tests to add.
When is it required?
At the strictest QA level, a gate check requires a regression suite before advancing.
Details
Original description by the author
Map test coverage to GDD critical paths, find fixed bugs lacking regression tests, flag drift from new features.
Popularity
- GitHub stars
- 33k
- Ranking position
- #8473
- License
- MIT
- Updated
- 10/18/2026
Comments
- β¦
More skills from this repository
adopt
33kChecks whether an existing game project's documents follow the studio template's formats, then writes a numbered migration plan to fix any gaps.
architecture-decision
33kWrites an architecture decision record for a technical choice, covering context, alternatives, and consequences, with review by the right technical roles.
architecture-review
33kChecks that your technical decisions cover every design requirement, do not conflict, and fit the engine version, with a clear pass or concern verdict.
art-bible
33kWrites an art bible that defines your game's visual identity, so asset production follows one clear set of style rules.
Similar skills
test-driven-development
311kTeaches your agent to write a failing test first, watch it fail, then write the smallest code that passes, before building any feature or fix.
verification-before-completion
311kTeaches your agent to run real checks and read their output before claiming that a task, fix, or build is complete or passing.
migrate-to-shoehorn
310kReplaces risky type casts in your test files with the shoehorn library, so tests can use partial data and still pass type checks.