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)

معلومات المصدر

المستودع
garrytan/gstack
آخر نشاط في المصدر
٢٢ نوفمبر ٢٠٢٦ في ١٢:٠٤
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
١٤٢٬٤٨٣
التفرعات
٢١٬٠٢٣

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.

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

مستكشف الملفات
3 ملفات

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
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)