Skip to main content

test-audit

Find low-value or duplicate tests and the test-only code they keep alive. Use for: audit the test suite, find low-value tests. (gstack)

Informations de source

Dépôt
garrytan/gstack
Dernière activité de la source
22 novembre 2026 à 12:04
Langue détectée de SKILL.md
anglais
Étoiles
142 483
Forks
21 023

test-audit: review what your tests protect

Review existing tests for duplicate coverage, weak assertions and test-only code.

Uses

Use it to audit an existing test suite across a repository or a named path. A candidate needs a real protected behavior, a credible regression and an explanation of why other checks do not cover it.

Prerequisites

The author’s GStack setup requires Claude Code, Git and Bun v1.0+. Install the GStack package and its helpers using the author’s setup; this Skill references GStack utilities.

How to use

Run /test-audit [path ...] [--since <ref>] [--max-candidates N] from the repository. Without a path, discovery normally covers the repository; if it contains more than 300 test files, the default narrows to tests changed since the merge base with the remote default branch. The default candidate limit is 10. Review the report and approve a specific batch before requesting edits.

Limitations

Discovery is report-only. A headless or spawned run stays report-only, and the Skill does not commit, push or open a PR. Its eight-minute discovery budget can end with a partial report. Slow or static tests are not automatically disposable; protected contracts and independent regression evidence matter. If no test runner is established, validation is marked as not run. The repository is MIT licensed.

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Explorateur de fichiers
3 fichiers

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
nametest-audit
descriptionFind low-value or duplicate tests and the test-only code they keep alive. Use for: audit the test suite, find low-value tests. (gstack)