test-audit
paperclipai/paperclip/.agents/skills/test-audit/SKILL.md
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.
What's in it
- Test Audit
- Choose the scope
- Decision gate
- Prevent new duplication
- Focused workflow
- Completion and reporting
--- name: test-audit description: > 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. --- # 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](NOTICE.md). ## Choose the scope - Focused cleanup: follow this entry point and read the [candidate evidence guide](references/audit.md) before editing. - Multiple owners, agents, or PRs: also read [CAMPAIGN.md](CAMPAIGN.md). Declare whether the work is a targeted sweep or an exhaustive subsystem audit. - Validation and cost claims: read [references/validation.md](references/validation.md). - Paperclip commands, invariants, and delivery: read [references/paperclip.md](references/paperclip.md) alongside repository instructions. ## Decision gate For every proposed removal, answer: 1. Which observable contract and plausible regression do the assertions cover? 2. Which retained file/case detects that regression through the responsible production code? Otherwise, why is the assertion vacuous or contract retired? 3. Does this candidate uniquely cover a transport, permission, lifecycle, storage boundary, platform, default, or other independent failure mode? 4. 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: - Name the regression that existing proof misses. Extend an appropriate owner or table before adding another suite; another layer needs a distinct risk. - Exercise the responsible production behavior. Do not add a mock that supplies the result being asserted or a production hook solely for convenient testing. - Check observable outcomes that survive behavior-preserving refactors. A negative case must reach its named guard with otherwise valid inputs. ## Focused workflow 1. **Inspect:** pin the base; read candidates, keepers, fixtures, production callers, history, and CI routing. Preserve unrelated work. 2. **Plan:** mark retain, repair, consolidate, delete, or defer. Name remaining proof and assertions to move; look for redundant suites as well as cases. 3. **Prove:** establish the affected baseline locally or from matching-revision CI. Diagnose failures before treating them as cleanup candidates. 4. **Edit:** move unique assertions first, then retire duplicates and unused support. Production-seam deletion needs its own caller/contract evidence. 5. **Validate:** run keepers and affected siblings, verify selection, and apply the validation guide's intended-failure controls where needed. 6. **Review:** reconcile deleted contracts with retained proof. Publish or merge only within the task's authorization. ## Completion and reporting Report removals and keepers, retained/deferred candidates, checks and limitations, distinct cases versus repeated executions, and test/support versus production LOC. Count documentation separately. 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 agent context in paperclipai/paperclip
43 other files this repository gives its agents.
AGENTS.md
Skill
- add-product-e2e-eval.agents/skills/add-product-e2e-eval/SKILL.md
- add-runner-eval.agents/skills/add-runner-eval/SKILL.md
- check-pr.agents/skills/check-pr/SKILL.md
- company-creator.agents/skills/company-creator/SKILL.md
- create-agent-adapter.agents/skills/create-agent-adapter/SKILL.md
- create-external-bot-integration.agents/skills/create-external-bot-integration/SKILL.md
- create-issue-interaction-ui.agents/skills/create-issue-interaction-ui/SKILL.md
- create-paperclip-bundled-skill.agents/skills/create-paperclip-bundled-skill/SKILL.md
- create-verification-skill.agents/skills/create-verification-skill/SKILL.md
- deal-with-security-advisory.agents/skills/deal-with-security-advisory/SKILL.md
- diagnose-why-work-stopped.agents/skills/diagnose-why-work-stopped/SKILL.md
- doc-maintenance.agents/skills/doc-maintenance/SKILL.md
- fix-slow-queries.agents/skills/fix-slow-queries/SKILL.md
- garden-inbox.agents/skills/garden-inbox/SKILL.md
- honeycomb-tracing.agents/skills/honeycomb-tracing/SKILL.md
- maintain-storybook.agents/skills/maintain-storybook/SKILL.md
- maintain-verification-skill.agents/skills/maintain-verification-skill/SKILL.md
- paperclip-create-plugin.agents/skills/paperclip-create-plugin/SKILL.md
- paperclip-dev-workspace-run-verify-fix.agents/skills/paperclip-dev-workspace-run-verify-fix/SKILL.md
- paperclip-evals.agents/skills/paperclip-evals/SKILL.md
- paperclip-page.agents/skills/paperclip-page/SKILL.md
- prcheckloop.agents/skills/prcheckloop/SKILL.md
- prepare-paperclip-pr.agents/skills/prepare-paperclip-pr/SKILL.md
- pr-gardening.agents/skills/pr-gardening/SKILL.md
- pr-report.agents/skills/pr-report/SKILL.md
- release-changelog-discord-message.agents/skills/release-changelog-discord-message/SKILL.md
- release-changelog.agents/skills/release-changelog/SKILL.md
- release.agents/skills/release/SKILL.md
- review-storybook.agents/skills/review-storybook/SKILL.md
- setup-code-maintenance-bot.agents/skills/setup-code-maintenance-bot/SKILL.md
- terminal-bench-loop.agents/skills/terminal-bench-loop/SKILL.md
- verify-paperclip.agents/skills/verify-paperclip/SKILL.md
- design-guide.claude/skills/design-guide/SKILL.md
- agentmailskills/agentmail/SKILL.md
- complainskills/complain/SKILL.md
- paperclip-boardskills/paperclip-board/SKILL.md
- paperclip-converting-plans-to-tasksskills/paperclip-converting-plans-to-tasks/SKILL.md
- paperclip-create-agentskills/paperclip-create-agent/SKILL.md
- paperclipskills/paperclip/SKILL.md
- para-memory-filesskills/para-memory-files/SKILL.md
- slackskills/slack/SKILL.md
- suggestion-boxskills/suggestion-box/SKILL.md
Discussion
Talked about elsewhere, linking to paperclipai/paperclip
- Paperclip: Open-source orchestration for zero-human companies
Hacker News · 6 points · 1 comments · Mar 6, 2026
- you need to try Paperclip RIGHT NOW!
Web · NetworkChuck · 1,393,381 · 1,336 · Sep 24, 2026
- Add a run-a-harness-in-the-box mode (agent runtime)
YouTube · openclaw/crabbox · 3 views · 3 comments · Jun 21, 2026
- you can broadly seperate enthusiasm for neo-AI tech into "people who have experienced the tech as a useful tool" and "people who think…
Bluesky · @segfaultvicta.aludel.xyz · 23 likes and reposts · 4 replies · Mar 31, 2026
- Add a run-a-harness-in-the-box mode (agent runtime)
GitHub · openclaw/crabbox · 3 reactions · 3 comments · Jun 21, 2026
- Paperclip: Open-source orchestration for teams of AI agents
Hacker News · 3 points · Sep 24, 2026
- Paperclip Is Insane - Full Tutorial
Web · Tech With Tim · 132,416 · 119 · Apr 4, 2026
- fix: first agent is the company CEO, CEO decides agent joins, revoked permissions stay revoked
YouTube · LogbieLLC/paperclip · 2 views · 9 comments · Sep 30, 2026
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

