testing
Skill9 starsChanged 2 months agoApache-2.0View on GitHub
Validate and choose proportionate test proof for tests, CI, coverage, evals, and closeout evidence: map changed files to repo-native commands, place checks at commit, push, and pull-request gates, classify pass/fail/blocked ownership, and preserve trace/regression artifacts. Use when users ask what tests or gates to run, how to design coverage, why validation failed, or what proof supports a claim.
123 other projects use a version of this.
Adopted by
Most recently taken up by
- timmo001/skillstheir own version, first seen Oct 5, 2026
- kortix-ai/sunatheir own version, first seen Oct 5, 2026
- gilsmt/skillstheir own version, first seen Oct 4, 2026
- andeeplus/aplustheir own version, first seen Oct 4, 2026
- JetBrains/intellij-communitytheir own version, first seen Oct 3, 2026
- shinpr/codex-workflowstheir own version, first seen Oct 2, 2026
Used with
Projects with it also use oss-pr, pr-automation and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CES-LtdSkilloss-pr
Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.
Also in 3 projects that use this
CES-LtdSkillpr-automation
PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".
Also in 3 projects that use this
ffsshhttiikkSkillcicd
Continuous integration and delivery pipelines
Also in 4 projects that use this
ffsshhttiikkSkillnetworking
Practical application and coding skills for Networking
Also in 3 projects that use this
JohnJBorenSkillci-cd
CI/CD pipeline design, GitHub Actions, testing automation, and deployment strategies
Also in 9 projects that use this
Cogni-AI-OUSkilldotfiles
Reference for repository dotfiles, including their purposes, standard configurations, and usage guidelines. You MUST load this skill when configuring, troubleshooting, or understanding repository dotfiles.
Also in 3 projects that use this
- +2 more from CES-Ltd
- +1 more from ffsshhttiikk
Other versions123 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 123
- lobehub/lobehub★ 83ksame name
- iOfficeAI/AionUi★ 33ksame name
- JetBrains/intellij-community★ 21ksame name
- kortix-ai/suna★ 20ksame name
- modelcontextprotocol/inspector★ 11ksame name
- microsoft/fast★ 9.7ksame name
- bytebase/dbhub★ 3.6ksame name
- theopenco/llmgateway★ 1.7ksame name
- BankrBot/skills★ 1.2ksame name
- microsoft/CCF★ 875same name
113 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository92 other files it gives its agents.
- AGENTS.mdAGENTS.md
- artifacts/AGENTS.mdAGENTS.md
- Docs/AGENTS.mdAGENTS.md
- Infrastructure/AGENTS.mdAGENTS.md
- logs/AGENTS.mdAGENTS.md
- Plugins/AGENTS.mdAGENTS.md
- Skills/AGENTS.mdAGENTS.md
- skills-system/AGENTS.mdAGENTS.md
- Wiki/AGENTS.mdAGENTS.md
- SKILL.mdSkill
- agents-mdSkill
- alignment-checkpointSkill
- autofixSkill
- autoresearchSkill
- autoreviewSkill
- bash-hygieneSkill
- biome-lintingSkill
- bootstrapSkill
- code-fixes-triageSkill
- codex-agent-creatorSkill
- codex-automation-architectSkill
- codex-environment-creatorSkill
- codex-hooks-builderSkill
- codex-reviewSkill
- coding-harnessSkill
- context7Skill
- decide-build-primitiveSkill
- diagram-cliSkill
- elixir-proSkill
- evals-routerSkill
- fix-miseSkill
- frontend-designSkill
- goal-governorSkill
- goSkill
- improve-agent-nativeSkill
- improve-codebase-architectureSkill
- insight-reportSkill
- javascript-proSkill
- keep-codex-fastSkill
- npm-releaseSkill
- pnpm-managerSkill
- prek-proSkill
- pr-green-sweepSkill
- production-deploymentSkill
- project-brainSkill
- rust-proSkill
- sdk-scenario-generatorSkill
- session-workflow-minerSkill
- simplifySkill
- skill-pr-deliverySkill
- technical-writerSkill
- tomlSkill
- triageSkill
- typescriptSkill
- ubiquitous-languageSkill
- unslopifySkill
- uv-python-project-setupSkill
- valeSkill
- verification-before-completionSkill
- yamlSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 14 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 105 edited versions we read keep these.
14
Distinctive
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
- Distinctive: line 41
When delivery is in scope, the validated report path, delivery receipt path, and exact command that checked each artifact.
- Distinctive: line 46
Read the repo instructions and command contracts.
- Distinctive: line 54
Run the narrowest command that exercises production code, a real CLI/script, validator, schema, artifact path, or installed/package path.
- Distinctive: line 56
If it fails, classify ownership and fix only the in-scope cause.
- Distinctive: line 98
Start from the user-visible promise and its failure modes, not a universal test percentage or a copied toolchain.
- Distinctive: line 111
Place only work that is fast enough and relevant enough at each gate:
- Distinctive: line 114
Do not make every commit wait for a broad suite unless the repository has a measured reason to do so.
- Very specific: line 152
If the repository does not expose its actual hook, workflow, or test entrypoint, report the affected gate as unverified rather than …
- Distinctive: line 167
When summary fields disagree with detailed artifacts, report the contradiction and prefer the field designated authoritative by the …
- Very specific: line 179
Prefer repo-native wrappers: ./bin/ask, bash Infrastructure/scripts/validation-and-linting/verify-work.sh, bash …
- Distinctive: line 183
Treat repeated failures, conflicting instructions, dirty worktrees, credentials, network, Tessl, external-review, and runtime checks as …
- Distinctive: line 184
Before running a discovered wrapper, determine whether it changes directories, rewrites paths, requires a trusted tool configuration, or …
- Distinctive: line 188
When command shape changes, report both attempts and explain why they exercise the same proof lane rather than silently replacing the …
- Distinctive: line 192
Do not run destructive commands unless explicitly requested and allowed.
- Distinctive: line 197
Start with this active contract.
- Distinctive: line 203
Run only commands that the repository supports and the user has authorized, starting with the smallest relevant proof.
“Common” is measured: kept by at least 6 in 10 of the 105 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Testing
Select the smallest real proof that exercises the changed behavior, then widen only as the repo contract and risk surface require.
When To Use
- Choose validation for code, docs, config, workflow, skill, or eval changes.
- Fix failing tests, classify validation ownership, or design coverage.
- Design or audit a repository's test layers and local/CI gate placement.
- Prove completion before handoff, PR, merge, release, or closeout claims.
Inputs
- Target repo, changed files, nearest instructions, claim under test, repo command contracts, wrapper working directory, environment or credential materialization, prior failures, and known blockers.
Outputs
- Exact commands with pass, fail, or blocked outcomes.
- Failure ownership plus the evidence artifact: log, trace, schema output, eval fixture, package receipt, or workflow-closeout receipt.
- Coverage gaps and next minimal diagnostic.
- When delivery is in scope, the validated report path, delivery receipt path, and exact command that checked each artifact.
Workflow
- Read the repo instructions and command contracts.
- Inspect the changed behavior, existing tests or fixtures, and the canonical wrapper that owns them. Identify what is already proved, what rejection or boundary behavior is missing, and whether the wrapper changes into a package root or rewrites paths.
- Name the exact invariant and proof lane: structural, deterministic behavior, trace analysis, calibrated judge, baseline comparison, regression retention, production guardrail, or delivery receipt.
- Run the narrowest command that exercises production code, a real CLI/script, validator, schema, artifact path, or installed/package path.
- If it fails, classify ownership and fix only the in-scope cause. Rerun the same proof before widening. Use the exact same command when it was valid; when the failure came from wrapper-relative paths, working-directory semantics, tool shims, environment materialization, or unsupported flags, preserve the failed command and rerun the corrected canonical command.
- For validators, schemas, parsers, policy gates, and artifact contracts, require at least one accepted case and one rejected case for each meaningful invariant. Include boundary or false-positive protection when widening detection.
- Widen through the canonical wrapper, affected suite, schema or artifact lane, and repository-required diff or generated-state checks. Run hosted, review, external, Tessl, runtime, or delivery lanes only when they are in scope.
- Report only the lanes actually proven. When durable delivery is required, validate the report and delivery receipt after code and test proof.
Evidence shape: unit/workflow; lane; given/should/actual/expected; reproduce command; ownership; status.
Ownership values should distinguish current patch, pre-existing repository defect, unrelated dirty-worktree or generated-state interference, invalid or unsupported command shape, wrapper working-directory mismatch, environment or toolchain failure, trust or credential failure, certificate or network failure, hosted policy or approval boundary, external or runtime dependency, and unknown after bounded diagnostics.
Default widening ladder:
- Focused regression for the exact invariant.
- Direct CLI, validator, fixture, or artifact probe of the changed behavior.
- Canonical package or repo wrapper proving the focused test is wired into the maintained validation route.
- Wider affected suite, schema spine, typecheck, or scenario/eval preview.
- Diff, formatting, generated-state, or changed-files checks required by the repository contract.
- Hosted checks, review-thread state, external review, Tessl, runtime, or delivery receipts only when those lanes are in scope.
Skip a rung when it does not apply, but record the reason. Do not treat a later rung as a substitute for missing earlier behavior proof.
Test Strategy And Gate Placement
Start from the user-visible promise and its failure modes, not a universal test percentage or a copied toolchain. Select the smallest layers that would detect the meaningful ways that promise could fail:
| Layer | Use it for | Keep the proof focused on |
| Unit | Pure rules, transforms, validation, and explicit error paths. | Observable inputs, outputs, boundaries, and rejected cases. |
| Integration or contract | CLI, filesystem, package, API, configuration, or service boundaries. | Real message, file, command, or schema shape at the boundary. |
| End-to-end smoke | A small number of critical user journeys. | The main action completes with a usable result; do not duplicate every lower-level case. |
| Regression | A fixed defect or stable production failure. | The original failure first, then the corrected behavior. |
| Property-based or generative | Many input combinations share a clear invariant. | The invariant, generated input domain, shrinking, and the retained counterexample. |
| Mutation or exploratory | Assertions may be weak, or the unknown risk needs investigation. | Surviving mutations or an exploration charter; treat both as gap-finding evidence, not total correctness proof. |
Place only work that is fast enough and relevant enough at each gate:
- Pre-commit: formatting, linting, type checks, and affected fast tests. Do not make every commit wait for a broad suite unless the repository has a measured reason to do so.
- Pre-push: the wider affected suite and repository-specific checks that are too slow for ordinary commits but cheap enough to stop a bad push.
- Pull request CI: the full maintained unit suite, required integration or contract tests, build, static checks, and critical smoke coverage. Confirm the workflow actually invokes them; a package script alone is not PR proof.
- Scheduled or release depth: mutation, broader end-to-end, compatibility, performance, security, and live-dependency checks when their risk warrants them. Report this lane separately from commit or PR evidence.
For a strategy or gate audit, inventory each layer as present, missing,
not_applicable, or unverified. Then verify the actual hook or workflow
entrypoint rather than inferring enforcement from a README, package script, or
tool dependency. A green unit suite does not prove its pre-commit, pre-push,
or pull-request gate ran.
Command Templates
- Skill package:
./bin/ask skills package verify Skills/agent-ops/testing --json --robot - Strict audit:
./bin/ask skills audit Skills/agent-ops/testing --level strict --json --robot - External review:
./bin/ask skills external-review Skills/agent-ops/testing --json --robot - Focused repo proof: run the discovered command, then report
Command: <exact command> -> pass|fail|blocked (<reason>).
Examples
- For a change to
Skills/agent-ops/testing/SKILL.md, run the strict audit, inspect its JSON status and findings, fix a current-patch header-order failure, and rerun the same audit before package verification. - For a validator change, retain one accepted fixture and one rejected fixture, run their focused test, then run the canonical wrapper that owns that test. Report behavior proof separately from wrapper wiring and hosted checks.
- For a test-strategy request, map promises and failure modes to layers, inspect the installed hooks and PR workflow, and report each gate as present, missing, not applicable, or unverified before recommending a change.
Failure Mode
If the repository does not expose its actual hook, workflow, or test entrypoint,
report the affected gate as unverified rather than assuming it runs. Ask for
the smallest path or command evidence needed to inspect it, and do not add a
new test layer or mandatory gate until the target repository and its risk are
known.
Gotchas
- A broad green suite does not prove a touched path unless the command exercises it.
- A process exit code is not enough when the JSON receipt says
status: error. - A validator that accepts known-good fixtures but has no known-bad fixture may prove loading without proving enforcement.
- A top-level success status is not enough when the claim depends on nested counts, findings, validation rows, digests, selected profiles, or receipt fields. Name the semantic fields that establish or contradict the claim.
- When summary fields disagree with detailed artifacts, report the contradiction and prefer the field designated authoritative by the repository contract.
Anti-Patterns
- Reporting a command as green when only a summary or stale artifact was inspected.
- Letting a judge decide objective properties that a parser, schema, or fixture can check.
- Claiming one evidence lane passed because a neighboring lane passed.
Validation
- Prefer repo-native wrappers:
./bin/ask,bash Infrastructure/scripts/validation-and-linting/verify-work.sh,bash Infrastructure/scripts/validation-and-linting/validate-codestyle.sh, package scripts,just, or documented validators. - Testing evidence must use:
Command: <exact command> -> pass|fail|blocked (<reason>). - Fail fast: stop at the first failed required gate; do not proceed to wider proof until that gate is fixed or classified blocked.
- Blocked steps must name the blocker, the nearest meaningful validation that did run, and what would unblock the exact proof.
- Treat repeated failures, conflicting instructions, dirty worktrees, credentials, network, Tessl, external-review, and runtime checks as separate blocker lanes.
- Before running a discovered wrapper, determine whether it changes directories, rewrites paths, requires a trusted tool configuration, or expects credentials through an approved wrapper. Do not infer a source regression from a path, trust, shim, certificate, or environment-materialization failure.
- When command shape changes, report both attempts and explain why they exercise the same proof lane rather than silently replacing the failed invocation.
- Redact secrets, tokens, credential values, and sensitive log content from commands, receipts, traces, fixtures, and reported evidence.
- Do not run destructive commands unless explicitly requested and allowed.
- Schema-bound outputs include
schema_version.
References
- Start with this active contract.
- Load only the reference needed for the current repo and change surface: harness assurance, skill package validation, eval artifact proof, repo route matrix, or persona lenses.
- For imported capsules, use knowledge capsule routing, knowledge capsule index, manifest, and knowledge demand; treat references/evals.yaml and references/evals notes as evidence, not runners.
Execution Boundaries
Run only commands that the repository supports and the user has authorized, starting with the smallest relevant proof. Do not invoke destructive, hosted, or live-evaluation paths merely to improve coverage, and do not widen a blocked lane without classifying the blocker.
Cross-Lane Gotcha
One passing command does not validate adjacent lanes. Preserve exact command shape, distinguish reruns from new evidence, and do not silently replace a blocked production path with a narrower local check.
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.

