regression-suite
Fungsinya
Skill ini menyimpan daftar tes terpenting dalam proyek game dan memeriksa bahwa bug yang sudah diperbaiki tercakup. Cocok untuk pemimpin QA dan pengembang yang ingin mencegah bug lama kembali.
Kapan dipakai
- βSaat seorang pengembang memperbaiki bug dan perlu memastikan tes regresi sudah ditulis untuknya.
- βSaat sebuah tim ingin melihat apakah jalur game yang penting sudah tercakup tes sebelum rilis.
- βSaat sebuah sprint berakhir dan tim ingin memastikan fitur baru sudah diuji.
Link skill
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/regression-suite/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βPeriksa bahwa setiap bug yang kami perbaiki di sprint ini memiliki tes regresi, dan beri tahu saya apa yang belum ada.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill memetakan tes proyek ke jalur game yang kritis dan ke bug yang sudah diperbaiki. Skill menulis daftar suite regresi dan melaporkan perbaikan atau fitur yang belum tercakup.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apa itu suite regresi?
Itu adalah daftar tes yang sudah ada dan dipilih, yang bersama-sama mencakup jalur terpenting game serta kegagalan masa lalu.
Apakah skill ini menulis tes baru?
Tidak. Skill mengidentifikasi celah agar tim bisa memutuskan tes mana yang perlu ditambahkan.
Kapan suite ini wajib?
Pada tingkat QA paling ketat, pemeriksaan gerbang mewajibkan suite regresi sebelum naik tahap.
Detail
Deskripsi asli dari pembuat
Map test coverage to GDD critical paths, find fixed bugs lacking regression tests, flag drift from new features.
Popularitas
- Bintang GitHub
- 33k
- Peringkat
- #8473
- Lisensi
- MIT
- Diperbarui
- 18/10/2026
Komentar
- β¦
Skill lain dari repositori ini
adopt
33kMemeriksa apakah dokumen proyek game yang sudah ada mengikuti format template studio, lalu menulis rencana migrasi bernomor untuk memperbaiki celah yang ditemukan.
architecture-decision
33kMenulis catatan keputusan arsitektur untuk pilihan teknis, mencakup konteks, alternatif, dan konsekuensi, dengan tinjauan dari peran teknis yang tepat.
architecture-review
33kMemeriksa bahwa keputusan teknis Anda mencakup setiap kebutuhan desain, tidak saling bertentangan, dan sesuai versi mesin, dengan vonis lulus atau kekhawatiran yang jelas.
art-bible
33kMenulis art bible yang mendefinisikan identitas visual game Anda, sehingga produksi aset mengikuti satu rangkaian aturan gaya yang jelas.
Skill serupa
test-driven-development
311kMengajari agent Anda menulis tes yang gagal dulu, melihatnya gagal, lalu menulis kode terkecil yang lulus, sebelum membangun fitur atau perbaikan apa pun.
verification-before-completion
311kMengajari agent Anda menjalankan pemeriksaan nyata dan membaca keluarannya sebelum menyatakan tugas, perbaikan, atau build sudah selesai atau lulus.
migrate-to-shoehorn
310kMengganti type cast berisiko di file tes Anda dengan pustaka shoehorn, sehingga tes bisa memakai data parsial dan tetap lulus pemeriksaan tipe.