Langsung ke konten
Skillpedia
Testing33k Β· #8473

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.md

Salin 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

Gunakan skill ini untuk membantu saya: https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/regression-suite/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

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-check requires 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, use AskUserQuestion:
    • 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 STALE or QUARANTINED

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 via system_overrides is mapped at its higher tier.
  • minimal β€” skip the GDD critical-path scan. Instead read the latest smoke-check report in production/qa/smoke-*.md and 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.

repo: Donchitos/Claude-Code-Game-Studios

Popularitas

Bintang GitHub
33k
Peringkat
#8473
Lisensi
MIT
Diperbarui
18/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa