Skip to content
cccskills
FreePublished on GitHub

test-audit

Review new and existing software tests for the behavior and regressions they actually protect. Identify duplicate or implementation-dependent checks, document evidence before removal, and simplify code used only by tests while retaining meaningful coverage.

OriginalShow the original description

Writing/changing/reviewing/sweeping tests: reject duplicate or implementation-coupled proof; remove test-only production seams.

See how to install

Good for

  • Checking whether a new test adds useful coverage
  • Auditing duplicate or implementation-dependent tests
  • Reviewing code exposed only for testing
  • Confirming a regression test fails before a fix

Files included (3)

  • SKILL.md2.6 KB
  • CAMPAIGN.md5.4 KB
  • references/audit.md3.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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:

  1. Protected observable behavior, invariant, or independent contract?
  2. Credible regression that makes it fail?
  3. Why existing proof misses it? Each contract: one primary owner at strongest boundary. Another layer needs distinct transport/lifecycle risk. Extend tables/shared fixtures; consolidate repeated setup.
  4. Export, flag, wrapper, injection hook with no production caller needed? Move proof to real boundary instead.
  • Use boundary and cost guide.
  • Regressions must fail pre-fix for intended reason, pass after repair; report unavailable baseline proof.
  • One owner regression covers bug; never replay at every crossed layer.
  • Behavior-preserving refactors should not break test.

Junk patterns

  • Reject self-comparisons, copied inventories, source greps, implementation/call-shape assertions, duplicate contracts, test-only seams, subject-generated expected values, mocks supplying asserted behavior.
  • Fixtures must not fabricate owner receipts/order or claim persistence path never writes.
  • Negative controls must fail at intended guard; names must match exercised behavior.
  • Auditing candidates: use full checklist.

Retention bar

  • Keep independent API, SDK, protocol, config, migration, storage, security, platform, default, prompt-byte, generated-language, package, release, architecture, observable-ordering contracts. Static/slow ≠ disposable.
  • Source inspection must survive identifier-only refactors and guard independent user-facing contract.
  • Baseline failures may be bugs to repair, not tests to delete.

Audit and validation

  • Before audit edit: read candidate evidence and workflow; inspect full owners/callers/history; record remaining proof before deletion.
  • Delete obsolete production seams with tests; never optimize for deletion counts.
  • Follow proof policy; preserve active Vitest checkouts; run owner/sibling proof + changed checks; then autoreview.
  • Report causes, retained contracts, proof/cost, production versus test LOC, follow-ups. Commit/push/land only with task authority.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

1password

FreeSummary

Set up and authenticate the 1Password CLI, then supply stored passwords and API keys to commands or configuration. The skill covers desktop integration, service accounts, and interactive sign-in while keeping secrets out of chat and logs.

  • Setting up the 1Password CLI
  • Supplying API keys to commands
  • Using service account authentication in CI
openclaw/openclaw392.4KUpdated Oct 18, 2026

acp-router

FreeSummaryAI rating 80

Route requests from OpenClaw to external coding agents such as Claude Code or Cursor. Start or continue sessions using ACP, a protocol for connecting agents, or relay prompts directly through acpx while preserving conversation context.

  • Starting a Claude Code session in a thread
  • Continuing work with an external coding agent
  • Relaying prompts directly through acpx
openclaw/openclaw392.4KUpdated Oct 18, 2026

Add a model provider to OpenClaw and verify it with a real response. The skill validates configuration, keeps credentials in environment or file references, and reports test results and any default model changes.

  • Adding a model provider to OpenClaw
  • Configuring credentials through environment or file references
  • Checking whether a model returns a real response
openclaw/openclaw392.4KUpdated Oct 18, 2026

agent-transcript

FreeSummary

Prepare an agent activity transcript for a GitHub pull request or issue. Extract relevant prompts, decisions, and results from local logs, remove sensitive material, and preview the edited record before separately authorized publication.

  • Preparing an agent activity record for a pull request
  • Extracting task-relevant prompts and results from local logs
  • Previewing a transcript with sensitive information removed
openclaw/openclaw392.4KUpdated Oct 18, 2026

apple-notes

FreeSummary

Manage Apple Notes on macOS through memo, a command-line tool. Create, browse, search, edit, delete, and move notes between folders, or export selected notes to HTML or Markdown for use outside the app.

  • Creating notes with titles
  • Finding notes by folder or approximate search
  • Editing notes and organizing them into folders
openclaw/openclaw392.4KUpdated Oct 18, 2026

apple-reminders

FreeSummary

Manage Apple Reminders from your Mac with remindctl, a terminal tool. View tasks by date, add or edit reminders, organize lists, and mark tasks complete or delete them, including personal to-dos that sync to iOS.

  • Review today’s tasks and overdue reminders
  • Add personal to-dos with due dates
  • Organize tasks visible on an iPhone or iPad
openclaw/openclaw392.4KUpdated Oct 18, 2026

See all skills by openclaw

Report a problem with this skill