test-audit skill
Writing/changing/reviewing/sweeping tests: reject duplicate or implementation-coupled proof; remove test-only production seams.
Is the test-audit skill safe?
Clean: nothing in its files matched our rules. We read 3 files in the folder on 2026-10-25.
No findings.
Install the test-audit skill
A skill is a folder. Copy it into your agent's skills folder and the agent loads it when the task matches its description.
git clone --depth 1 https://github.com/openclaw/openclaw.git /tmp/openclaw mkdir -p ~/.claude/skills cp -r /tmp/openclaw/.agents/skills/test-audit ~/.claude/skills/test-audit
In the Claude apps, zip the folder and upload it from the Skills settings. The folder on GitHub
The instructions your agent would load
SKILL.md as published, without the frontmatter. Read it on GitHub
Test Audit
- Authoring gates every new/changed test.
- Audits: remove low-value proof in coherent owner batches; never chase deletion counts.
- Whole-subsystem campaign: read CAMPAIGN.md first.
Authoring gate
Before adding test, answer:
boundary. Another layer needs distinct transport/lifecycle risk. Extend tables/shared fixtures; consolidate repeated setup.
- Protected observable behavior, invariant, or independent contract?
- Credible regression that makes it fail?
- Why existing proof misses it? Each contract: one primary owner at strongest
Move proof to real boundary instead.
- Export, flag, wrapper, injection hook with no production caller needed?
unavailable baseline proof.
- Use boundary and cost guide.
- Regressions must fail pre-fix for intended reason, pass after repair; report
- One owner regression covers bug; never replay at every crossed layer.
- Behavior-preserving refactors should not break test.
Junk patterns
implementation/call-shape assertions, duplicate contracts, test-only seams, subject-generated expected values, mocks supplying asserted behavior.
- Reject self-comparisons, copied inventories, source greps,
never writes.
- Fixtures must not fabricate owner receipts/order or claim persistence path
- Negative controls must fail at intended guard; names must match exercised behavior.
- Auditing candidates: use full checklist.
Retention bar
platform, default, prompt-byte, generated-language, package, release, architecture, observable-ordering contracts. Static/slow ≠ disposable.
- Keep independent API, SDK, protocol, config, migration, storage, security,
user-facing contract.
- Source inspection must survive identifier-only refactors and guard independent
- Baseline failures may be bugs to repair, not tests to delete.
Audit and validation
inspect full owners/callers/history; record remaining proof before deletion.
- Before audit edit: read candidate evidence and workflow;
Vitest checkouts; run owner/sibling proof + changed checks; then autoreview.
- Delete obsolete production seams with tests; never optimize for deletion counts.
- Follow proof policy; preserve active
follow-ups. Commit/push/land only with task authority.
- Report causes, retained contracts, proof/cost, production versus test LOC,
More skills from openclaw/openclaw
- A1passwordSet up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.
- Aacp-routerRoute plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.
- Aadd-model-providerAdd and live-prove a model provider with non-interactive config one-liners, without exposing credentials.
- Aagent-transcriptRequested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.
- Aapple-notesCreate, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.
- Aapple-remindersList, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.
- Aauto-qaRun OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.
- AautoreviewStructured code review through the shared OpenClaw agent-skills installation.
- Abear-notesCreate, search, and manage Bear notes via grizzly CLI.
- Ablock-kitUse proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.
- AblogwatcherMonitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
- AblucliBluOS CLI (blu) for discovery, playback, grouping, and volume.