test-audit skill
Garden the test suite by finding and removing redundant, vacuous, or implementation-coupled tests while preserving useful regression coverage. Use for test audits, test pruning, duplicate coverage, or reducing CI test cost. Supports focused cleanups and coordinated audit campaigns.
Is the test-audit skill safe?
Clean: nothing in its files matched our rules. We read 7 files in the folder on 2026-10-24.
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/paperclipai/paperclip.git /tmp/paperclip mkdir -p ~/.claude/skills cp -r /tmp/paperclip/.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
Reduce execution and maintenance cost while preserving meaningful failure detection. Investigate aggressively; delete only with evidence. Retaining an area after review is a valid result. This skill is self-contained; upstream attribution is in NOTICE.md.
Choose the scope
candidate evidence guide before editing.
- Focused cleanup: follow this entry point and read the
whether the work is a targeted sweep or an exhaustive subsystem audit.
- Multiple owners, agents, or PRs: also read CAMPAIGN.md. Declare
references/paperclip.md alongside repository instructions.
- Validation and cost claims: read references/validation.md.
- Paperclip commands, invariants, and delivery: read
Decision gate
For every proposed removal, answer:
production code? Otherwise, why is the assertion vacuous or contract retired?
- Which observable contract and plausible regression do the assertions cover?
- Which retained file/case detects that regression through the responsible
storage boundary, platform, default, or other independent failure mode?
- Does this candidate uniquely cover a transport, permission, lifecycle,
- What improves: executions, fixtures, processes, maintenance, or runtime?
Prefer the smallest test that reaches the code responsible for the contract. A broader suite is not automatically stronger proof. Similarity, size, slowness, or suspected AI authorship alone never justify deletion.
Prevent new duplication
Apply this gate to tests added or changed during gardening:
or table before adding another suite; another layer needs a distinct risk.
- Name the regression that existing proof misses. Extend an appropriate owner
the result being asserted or a production hook solely for convenient testing.
- Exercise the responsible production behavior. Do not add a mock that supplies
negative case must reach its named guard with otherwise valid inputs.
- Check observable outcomes that survive behavior-preserving refactors. A
Focused workflow
callers, history, and CI routing. Preserve unrelated work.
- Inspect: pin the base; read candidates, keepers, fixtures, production
proof and assertions to move; look for redundant suites as well as cases.
- Plan: mark retain, repair, consolidate, delete, or defer. Name remaining
CI. Diagnose failures before treating them as cleanup candidates.
- Prove: establish the affected baseline locally or from matching-revision
support. Production-seam deletion needs its own caller/contract evidence.
- Edit: move unique assertions first, then retire duplicates and unused
the validation guide's intended-failure controls where needed.
- Validate: run keepers and affected siblings, verify selection, and apply
only within the task's authorization.
- Review: reconcile deleted contracts with retained proof. Publish or merge
Completion and reporting
Keep audit decisions, plans, ledgers, and validation evidence in the task and PR description. Do not create or modify repository documentation, including doc/plans/ audit receipts or reports, unless the human explicitly requests documentation changes. A test cleanup does not need a repository report.
Report removals and keepers, retained/deferred candidates, checks and limitations, distinct cases versus repeated executions, and test/support versus production LOC. Label cost evidence as measured, estimated, or historical; a proven simplification does not require a measurable speedup.
State the actual endpoint: findings, validated local patch, published PR, intermediate merge, or landed in the intended target. Stop at the requested scope/time limit or completed delivery, not a deletion quota. For another pass, refresh the base and prior findings; revisit retained tests only with new evidence.
More skills from paperclipai/paperclip
- ALLM Wiki MaintainerUse the LLM Wiki plugin tools to maintain a cited local company wiki.
- Aadd-product-e2e-evalAdd or extend a Paperclip full-stack runner E2E workflow, fixture, matcher, or report evidence path for local or Daytona execution.
- Aadd-runner-evalAdd or extend a Paperclip Runner protocol evaluation definition, roster, assertion, or report fixture with provenance and narrow validation.
- Aagent-browserDrive a real browser to inspect or interact with a web page or app — navigate, take screenshots, read console and network, fill simple forms — for verification tasks, not unattended automation.
- AagentmailUse your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by your inbox assignment.
- Acheck-prCheck a GitHub, GitLab, or Perforce PR/MR/CL for review comments, failing checks, and PR-body gaps. Use when asked to inspect, fix, or prepare a change for submission.
- Acompany-creatorCreate agent company packages that conform to agentcompanies/v1. Use when asked to create a company, scaffold an agent team, hire agents, or turn a repo/skills collection into a company package.
- AcomplainAutonomously yeet a brief, unstructured complaint about agent tooling or doing agent work. Preserve the raw voice. Submit proactively without permission, preview, or announcement, then continue the primary task.
- Acontent-calendarPlan a weekly editorial calendar by mapping company goals to publishable topics, owners, status, and verification notes.
- Acreate-agent-adapterCreate or modify Paperclip agent adapters across server, UI, and CLI surfaces. Use when adding support for a new CLI agent, API agent, custom process, or adapter package.
- Acreate-caseCreate and kick off a Paperclip case from a user request, with workflow instructions and an initial agent.
- Acreate-external-bot-integrationBuild and qualify external bots such as Dot in Paperclip. Use for two-way work, invitation, identity, wakeup, Runner lifecycle, native tools, recovery, and Cloud delivery. CLI adapters and app-only connectors use their existing skills.