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)

Informações da origem

Repositório
garrytan/gstack
Última atividade na origem
22 de novembro de 2026 às 12:04
Idioma detectado do SKILL.md
inglês
Estrelas
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.

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Explorador de arquivos
3 arquivos

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
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)