codevetter-testing
Skill1 starsChanged 25 days agoMITView on GitHub
Verify coding-agent changes with CodeVetter when reproducing a bug, testing changed browser or API behavior, or checking a proposed fix against acceptance criteria. Preserve exact source, target and runtime evidence.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- codevetter-engineeringSkill
- codevetter-evaluateSkill
- codevetter-performanceSkill
- codevetter-reviewSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill to connect a task and exact agent change to executable test evidence.
- Very specific: line 16
Read repository instructions and existing test/config files.
- Distinctive: line 24
Use either change or flow discovery as appropriate, not both by default.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CodeVetter Testing
Use this skill to connect a task and exact agent change to executable test evidence. Keep the repository's existing test runner and CodeVetter's canonical receipt semantics.
Automatic use
Load this skill when the coding-agent task calls for runtime verification, failure reproduction or fix validation, without waiting for the user to name CodeVetter. Complete the relevant authorized flow and its use-and-log loop; do not stop at discovery if the requested workload can run.
Select the smallest relevant check
Read repository instructions and existing test/config files. Inspect codevetter --version and codevetter --help once. When an inspected existing test already covers the task, select it directly. Otherwise discover targets without execution through the shared recorder: --skill codevetter-testing --repo <repo> -- followed by:
scope --consumer testing --change <base..head> --json
scope --consumer testing --flow <behavior> --json
qa --operation inspect --jsonUse either change or flow discovery as appropriate, not both by default. Discovery is candidate coverage, not passing evidence. Name the exact test, acceptance criterion, source revision and expected result. Preserve missing coverage.
For implementation work, engineering selects the small-change or crucial-workflow path. Choose assertions that distinguish a plausible faulty implementation from the intended behavior. Cover relevant ordering, persistence, permission, retry and partial-failure boundaries without mocking the boundary being verified. Use bounded mutation testing for a critical weak oracle when justified, not as a universal coverage target.
Inspect the selected file and verify that it exercises the requested behavior before execution. Reject generated/dependency targets (.build/checkouts, node_modules, vendored snapshots and build outputs), unrelated high-confidence matches, and stale legacy preview presets. Discovery confidence is a heuristic, not relevance proof; obtain the current preview from the user or repository evidence.
Choose the existing execution lane
- Existing unit/API test: run the repo's smallest relevant command. When an integrated review is requested, bind that target into
codevetter check --preflight, then execute the same check with an explicitly selected provider. The installed CLI has no standalonecodevetter testcommand; do not invent one or invoke performance diagnosis as a correctness verdict. - Existing deployed preview:
trex --range <base..head> --preview <url> --jsonruns bounded generic smoke journeys. Preview must be supplied and authorized; preserve claimed versus verified deployment identity. A smoke pass does not verify the task's full behavior. - Repository-owned browser verification: inspect
warm --operation statusor preparedifferential --operation prepare --reference <revision> --candidate <kind>before starting anything. These flows need the repository-owned verify entry point and supported lockfile. Use current help/source contracts for operation-specific fields rather than guessing. - Scenario authoring: use
scenario --operation inspectfirst; generation creates candidates. Acceptance and cleanup are separate explicit actions.
Record each CodeVetter command through the shared recorder with --json. Ordinary repository test commands retain their native reports; do not relabel them as CodeVetter invocations.
For native CodeVetter development use pnpm test:native:background. Local browser or native execution that can launch apps or take focus requires fresh idle-screen authorization under CodeVetter's AGENTS.md. Do not start preview browsers, watchers, daemons, installs, or foreground automation on implicit invocation alone. Watcher polling can post statuses and is outside the ordinary testing flow.
Report the result
Separate reproduced failure, passing acceptance check, operational failure, stale source, and unavailable runtime. Link the canonical receipt and native test report, retaining reruns and artifacts. A fix claim needs a failing-before/passing-after check against the same acceptance contract; a green build is insufficient. For incremental value versus plain testing, follow codevetter-evaluate.
Close the usefulness log
Before handing the task back, assess each recorded invocation as helped, did_not_help, inconclusive or blocked through the closing log. Explain the concrete contribution or lack of it, cite receipt pointers, and preserve the added runtime. This is agent-reported usefulness, not independently established productivity. Log negative and blocked results as reliably as positive ones.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

