test-audit

Installation
SKILL.md

Test audit

Adapted from openclaw's test-audit skill (MIT, OpenClaw Foundation; see LICENSE).

Read AGENTS.md and .agents/pstack/rules/tests.md first. Stay read-only when asked only for candidates or gaps, and skip third-party skills or vendor code.

Default bar

Internal, helper and post-hoc unit tests are guilty until they name a real user defect that E2E, public boundary, type, lint or zero-baseline invariant checks miss. Keep a test only when breaking public behavior fails it and refactoring internals keeps it passing (principle-test-behavior-not-implementation).

Hard safety net

  • Never cut E2E, deterministic concurrency/sync or public golden tests without an explicit replacement.
  • Never silently delete an unwired security, access, auth, PHI, consent or customer-send guard whose only caller is a test; flag it as a finding so production wires or retires it intentionally.
  • Never delete a test failing on the current tree to make CI green; reproduce and fix the bug or fixture first.

Batch deletion

Cut coherent package or owner batches without per-test scratch mutation courtrooms:

Installs
30
Repository
udecode/ustack
GitHub Stars
1.2K
First Seen
Oct 2, 2026