Skip to content
Kitbay
Skill

test-audit

MITUpdated on Nov 11, 2026394,329GitHub stars

A maintainer skill in the OpenClaw repository for writing, changing, reviewing and bulk-auditing tests.

What the skill teaches

A maintainer skill in the OpenClaw repository for writing, changing, reviewing and bulk-auditing tests. Every new or changed test must answer four questions: what behaviour it protects, which realistic regression would break it, why existing tests miss that, and whether it depends on a hook with no production caller. Regression tests must fail before the fix and pass after it, and one test at the owning layer covers a bug. A list of rejected patterns includes self-comparisons, assertions on implementation details, duplicated contracts, expected values produced by the code under test and mocks that supply the behaviour being checked. Audits delete low-value tests together with test-only production code, and report what proof remains.

Capabilities

  • Gate new tests with four questions
  • Reject low-value test patterns
  • Remove test-only production seams
  • Report retained contracts after an audit