test-audit
Invoke whenever writing, changing, reviewing, or sweeping tests in the eve repository.
Skill by vercelOfficial
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/vercel-test-audit
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, security, writing, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/test-audit
What's inside
- Skill name
test-audit- Description
- Invoke whenever writing, changing, reviewing, or sweeping tests in the eve repository. Authoring gate for new tests plus audit workflow for low-value, slow, implementation-coupled, or duplicative tests and the test-only production seams they demand.
- License
- Apache-2.0
- Metadata
- internal: true
- Instructions
- 203 lines in SKILL.md · view on GitHub
Files (2)
- CAMPAIGN.md
- SKILL.md
SKILL.md (first lines)
# Test audit
Adapted from the OpenClaw
[`test-audit`](https://github.com/openclaw/openclaw/blob/main/.agents/skills/test-audit/SKILL.md)
skill for eve's test tiers and tooling.
Three modes, one value bar. Authoring mode gates every new or changed test at
write time. Audit mode runs focused sweeps of tests that re-assert source,
duplicate stronger proof, couple behavior to implementation, or keep test-only
production seams alive. Continue broad audits as separate coherent follow-up
PRs; optimize for confidence, not deletion count. Campaign mode prunes one
whole subsystem's test surface (every test file one core area or package
owns); before starting one, read [CAMPAIGN.md](CAMPAIGN.md).
Read the root [`AGENTS.md`](../../../AGENTS.md) testing section first. It
defines eve's four tiers (unit, integration, scenario, e2e); a test belongs in
the tightest tier that can express its assertion.
## Authoring gate
Before adding any test, answer four questions; a missing answer means do not
add it yet:
1. What observable behavior, invariant, or independent contract does it protect?
2. What credible regression makes it fail?
3. Why does existing coverage not already catch that failure? Each contract has
one primary test owner at the strongest boundary; another layer needs its
own distinct risk, such as a transport or lifecycle failure the owner cannot
reach. Prefer extending a table-driven case or shared fixture over a
near-duplicate test; consolidate duplicated setup in the same change.
4. Does it need a production seam (export, flag, wrapper, injection hook) that no
production caller needs? If yes, move the test to the real boundary instead.
Then check the test against every [junk pattern](#junk-patterns); a match fails
the gate unless the [retention bar](#retention-bar) names the contract it
independently guards. A test that would break under behavior-preserving
refactoring is asserting implementation, not behavior; rewrite it at the
owning boundary before landing it.
Also check its cost. A scenario test that boots a dev server, installs a
tarball, or runs a real build must need that subprocess, port, or bundler. If
it only needs `import "eve"` to resolve or an in-memory runtime, it belongs in
integration (`useTemporaryAppRoots`, `createTestRuntime`). A test that waits
out a real production timeout or backoff should use fake timers or an existing
public option instead of wall-clock time; do not add a test-only seam to
shorten it.
Bug regression tests must fail on the pre-fix code for the intended reason and
pass after the owner-boundary repair. A regression test that never demonstrably
failed proves the mock, not the fix. One regression at the owner boundary
covers the bug; do not replay the same scenario at every layer it crosses.
## Junk patterns
The shared checklist for both modes: the authoring gate rejects a new test that
matches one, and audits hunt for existing tests that do.
- assertion-free coverage probes;
- self-comparisons and identity copiers;
- copied fixtures, inventories, manifests, or export lists;
- exact source, import, or string greps;
- private predicate or call-shape tests duplicated at real boundaries;
- duplicate invocations of the same contract, including the same scenario
replayed across several dev-server or build suites;
- provider-local replays of shared helpers;
- tests whose only purpose is preserving test-only exports, globals, or wrappers;
- dead production code whose only callers are tests;
- expected values produced by the helper or renderer under test;
- mocks that implement the asserted behavior, or one identical mock standing in
for different APIs;
- fixtures that supply the receipt, admission, or callback ordering the owner
should produce, or persistence asserted against a store the path never writes;
- capability tests that restate declared flags instead of exercising the
delivery or acknowledgement the flag promises;
- negative controls that pass for an unrelated reason, such as a denial from a
different guard or a rejection the production path never reaches;
- names or fixtures that promise more than the input exercises, such as a
"terminates the child" test asserting only that the child never completed;
- parameter matrices whose rows exercise the same code path;
- suites gated on env flags or platforms that no CI job ever sets.
## Value bar
Tests justify their maintenance cost by protecting behavior, a credible
regression, or an independently meaningful contract. In an audit, an existing
test that must change for behavior-preserving source reorganization is suspect,
not automatically deletable; the authoring gate still rejects new ones.
Before judging a candidate, read the complete test and production owner, its
entry point, callers, callees, sibling implementations, overlapping tests, CI
routing (`.github/workflows/`), and relevant history. Read root and scoped
`AGENTS.md` files first. When the test claims dependency-backed behavior,
inspect the dependency source or types directly.
## Discovery
Keep discovery read-only and report evidence before editing. Baseline with the
JSON reporter so slow files and tests are visible:
```sh
pnpm --filter eve exec vitest run --config vitest.<tier>.config.ts \
--reporter=json --outputFile=/tmp/<tier>.json
```
For broad scope, run parallel discovery lanes when available, split along
production owner boundaries:
- core unit tests (`packages/eve/src/{execution,harness,runtime,compiler,...}`);
- CLI, setup, evals, tracing, and instrumentation;
- public API, client, channels, and `src/internal`;
- integration tier (`*.integration.test.ts`);
- scenario tier (`*.scenario.test.ts`, `packages/eve/test/scenarios/`);
- other packages and apps (`packages/eve-code`, `packages/eve-catalog`,
`apps/docs`, `e2e/`);
- a cross-cutting pattern, test-only-export, and console-noise sweep.
Outside campaign mode, prefer a few high-confidence candidates over a large
speculative inventory. Hunt for the [junk patterns](#junk-patterns).From vercel/eve, Apache-2.0.
More from vercel/eve
- 0.625score
technical-writing
vercelOfficial
Write, edit, review, or audit user-facing documentation for the eve repository.
SkillAFreshness: A★ 5.7KClaude Code +9 - 0.620score
eve
vercelOfficial
Build durable backend AI agents with the eve framework.
SkillAFreshness: A★ 5.7KClaude Code +9 - 0.620score
gh-pr-description
vercelOfficial
Drafts and reviews GitHub pull request descriptions for the eve repository.
SkillAFreshness: A★ 5.7KClaude Code +9 - 0.620score
pr-shepherd
vercelOfficial
Takes a finished eve branch from review to merge.
SkillAFreshness: A★ 5.7KClaude Code +9 - 0.618score
lookup-agent-run
vercelOfficial
Find an eve Agent Run from a run ID, project, request reference, or approximate time using authorized evidence available to the consumer.
SkillAFreshness: A★ 5.7KClaude Code +9 - 0.615score
kennel-handbook
vercelOfficial
Front-desk handbook for the Maple Street kennel, with its reference files.
SkillAFreshness: A★ 5.7KClaude Code +9 - 0.615score
investigate
vercelOfficial
Investigate a specific issue report with strict, evidence-driven diagnosis.
SkillAFreshness: A★ 5.7KClaude Code +9 - 0.614score
review
vercelOfficial
Comprehensive security and correctness audit.
SkillAFreshness: A★ 5.7KClaude Code +9 - 0.612score
pdf-forms
vercelOfficial
Fill and validate the billing desk's PDF forms, such as refund authorizations.
SkillAFreshness: A★ 5.7KClaude Code +9 - 0.612score
toolkit-guide
vercelOfficial
How to triage an account and verify packaged skill resources with the toolkit CRM extension.
SkillAFreshness: A★ 5.7KClaude Code +9 - 0.605score
support__escalation-policy
vercelOfficial
When and how to escalate a support case to engineering.
SkillAFreshness: A★ 5.7KClaude Code +9 - 0.605score
local-guide
vercelOfficial
The consuming agent's own guide skill.
SkillAFreshness: A★ 5.7KClaude Code +9
Signals
- Stars
- 5,665
- Forks
- 627
- Open issues
- 288
- Last commit (this folder)
- Oct 1, 2026 (27 days ago)
- Last release
- Oct 23, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/vercel/eve
- Website
- eve.dev
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from vercel
- 0.636score
add-harness-package
vercelOfficial
Guide for adding new AI SDK harness packages.
SkillAFreshness: A★ 27.5KClaude Code +9 - 0.636score
adr-skill
vercelOfficial
Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows.
SkillAFreshness: A★ 27.5KClaude Code +9 - 0.636score
list-npm-package-content
vercelOfficial
List the contents of an npm package tarball before publishing.
SkillAFreshness: A★ 27.5KClaude Code +9 - 0.632score
develop-ai-functions-example
vercelOfficial
Develop examples for AI SDK functions.
SkillAFreshness: A★ 27.5KClaude Code +9 - 0.632score
major-version-mode
vercelOfficial
Context for working on the next AI SDK major release.
SkillAFreshness: A★ 27.5KClaude Code +9 - 0.632score
migrate-ai-sdk-v6-to-v7
vercelOfficial
Migrate applications from AI SDK 6.x to AI SDK 7.0.
SkillAFreshness: A★ 27.5KClaude Code +9
Cite this page
test-audit skill. Agent Mart. https://agentmart.dev/skills/vercel-test-audit (last updated 2026-10-24)