Skip to main content
BuildOfficialCertifiedReviewed Oct 13, 2026

Test Value Evidence

Assess tests for an identified code or test change, feature, PR or commit. USE FOR: review changed behavior or regression tests, prove pre-fix/missing behavior is detected, revision-bound red-green evidence. Polyglot. DO NOT USE without an identified change: hypothetical mutations or general suite blind spots (test-gap-analysis). Also exclude per-test readiness/A-F grades (grade-tests), coverage (coverage-analysis), new suites (code-testing), or mutation engines.

v1.0.0New

Install this skill

No account required. Pick your tool, or use the command that detects it for you.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install dotnet-test-value-evidence
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/dotnet-test-value-evidence/SKILL.md

Setup guide →

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
Key
skills-hub-ed25519-2026-11
Signed
0Save

Instructions

Test-value evidence

A passing test proves little unless it detects the relevant wrong behavior.
Assess the changed contracts and their directly related tests, not the entire
repository. Discover and follow the repository's instructions, pinned toolchain,
test commands, assertion conventions, and execution permissions. This skill
does not authorize edits in a read-only review, execution of untrusted code,
workflow dispatch, publication, or access to another session's checkout.

Inputs and boundaries

Discover the requested diff/revision, production entry points, tests, fixtures,
and available execution artifacts. If the change cannot be identified, report
the missing scope instead of grading the workspace. Existing unchanged tests
can suffice; a source-only diff is not automatically untested.

Use test-gap-analysis for general existing-suite blind spots, grade-tests
for curated per-test readiness/quality, and existing repository mutation tooling
for mutation campaigns. Do not start a second mutation engine or require
full-suite mutation testing for every change. This skill is self-contained:
sibling skills are optional routing destinations, not required dependencies.

Workflow

  1. Bind the contract to the tested revision. For a PR, record its merge
    base and exact head SHA. For a commit, record the selected parent and commit;
    identify the parent explicitly for a merge commit. For uncommitted work,
    record the base SHA plus a reproducible patch identity (saved patch/hash,
    including relevant untracked files), not a fictitious committed revision.
    Evidence expires after relevant source, tests, helpers, configuration, or
    package changes unless revalidated.

    For each distinct behavior change, map:
    requirement -> input/sequence -> expected public outcome -> production entry point -> named test/data case -> distinguishing assertion.
    Derive the expected outcome independently from requirements or supported
    API/protocol semantics, not the implementation or the test's current value.
    Check build/package/configuration behavior, deleted/renamed code, removed
    tests, and shipping consumers as well as source. Include positive, negative,
    boundary, compatibility, cancellation, cleanup, and multi-module cases only
    where relevant to the changed contract.

    A mock of the changed component, self-comparison, or expected value computed
    by the same production algorithm does not provide an independent oracle.

  2. Choose the meaningful counterfactual.

    ChangeCounterfactualRequired observation
    Bug fixKeep the regression test and restore the actual pre-fix defect.The test fails for that defect, then passes with the fix.
    New featureDisable/remove or corrupt the behavior, retaining the API shape and setup needed to build.An assertion detects absent/wrong behavior, then passes with the feature.
    Stronger/test-only coverageIntroduce one plausible wrong public outcome.The strengthened test detects it; the unmodified product passes.
    Behavior-preserving refactorCompare the preserved contract before and after; optionally probe a relevant fault.Preservation tests pass on both revisions; passing before is expected.
    Documentation/generated metadata onlyEstablish whether an executable contract changed.Not applicable only with a concrete reason; generated or build metadata can change behavior.

    For a fix, prefer the real pre-fix implementation with the same regression
    test, setup, dependencies, and inputs. If new APIs prevent that combination
    from compiling, restore only the defective behavior in the head version.
    Call this a targeted counterfactual, not a run on the base revision.
    Record its exact patch/hash. Never change assertions to manufacture red.

    For a feature, a missing-symbol compiler error is not behavioral proof.
    Choose a buildable no-op, disabled registration, old branch, or wrong output.
    A compiler/analyzer diagnostic can be valid behavior only when an executed
    harness asserts that exact diagnostic or its absence.

    Prefer small plausible faults: restore the old boundary, drop a required
    output, skip a callback, ignore an option, or return the wrong value.
    An equivalent mutation is not a gap. A crash, timeout, or exception counts
    only when it is the intended contract signal and diagnostics attribute it
    to the fault, not setup, discovery, flakes, or infrastructure.

  3. Execute paired runs only when authorized. Implementation normally
    requires execution; read-only/advisory review normally requires inspection.
    A review request alone does not permit source edits or builds/tests.
    Never run untrusted code with privileged credentials.

    In an authorized implementation/verification environment:

    • Use an owned isolated checkout or experiment directory. Preserve the
      user's dirty files and other sessions/main checkout. Preflight concurrent
      processes and shared outputs/resources; do not kill unrelated processes.
    • Run the smallest relevant selection on the correct implementation.
      Confirm the named tests and data cases actually execute and pass.
    • Apply only the chosen defective behavior in the isolated experiment.
      Rebuild and rerun the same tests, assertions, data, dependencies, and
      applicable runtime configuration. Capture the named failure, assertion,
      expected/actual observation, process exit, and diagnostics.
    • Restore the correct implementation, rebuild, and rerun to confirm green
      again. Verify protected source/test bytes, remove only owned temporary
      resources, and never deliver the counterfactual patch in the product.

    Paired runs must not reuse stale build/test outputs or the other variant's
    effective caches. Use separate outputs/caches or clean only owned outputs
    and rebuild; do not rely on --no-build or a runner's success exit alone.
    Record selected/executed/passed/failed/skipped counts for each run. If a
    runner does not expose a count, say unknown rather than inventing it.
    Zero selection/execution, skips, missing tools, authentication, setup/build,
    unrelated failures, and unattributed timing flakes leave proof unverified.

    For cross-component/acceptance behavior, identify the producer-consumer
    contract first: ownership, lifecycle, handshake/no-handshake, exit semantics,
    fallback, compatibility, cancellation, and multi-module aggregation where
    applicable. Record the exact shipping binaries/packages/extensions and
    release branches. Rebuild/repack each variant, isolate effective package
    caches, prove which variant the real shipping consumer loaded, and run a
    representative composed command. Unit mocks or source-compatible compilation
    alone do not replace shipping-layout validation. Exercise applicable normal,
    suppressed, partial, legacy/incompatible, cancellation, nonzero-exit,
    zero-result, fallback, and multi-module paths. Keep rollout/servicing ownership
    explicit; a feature flag does not lower the evidence bar.

    In read-only/advisory mode, trace both revisions, setup/helpers, inputs, and
    assertions without edits or execution unless separately permitted. Label
    conclusions static predictions, never executed proof. Existing artifacts
    count only when their revisions/patches, loaded variant, selection, counts,
    and failure attribution match. Green CI or an author's claim alone is not
    red-green evidence. Say what is inaccessible or missing.

  4. Report only the evidence obtained. Put a compact Test-value evidence
    section in the handoff or authorized review/description. State base/parent
    and head SHAs or tested patch identities. Use one row per changed contract,
    group tests protecting the same contract, and identify unassessed groups.

    Contract / test caseCounterfactualWithout behaviorCorrect implementationEvidence / gap
    Boundary defect / named caseRestore old comparison; patch identityExecuted: assertion failedExecuted: passedCommands, exits, expected/actual, counts, artifacts
    New output / named caseSkip output writeStatic: predicts failureNot executedSource/assertion locations; paired execution missing

    Use executed: detected, executed: survived, static: predicts
    detection
    , static: predicts survival, unverified, equivalent,
    or not applicable accurately. Missing red/green or incomplete selection
    leaves paired proof unverified. Report executed: survived only for an executed,
    non-equivalent fault; do not count equivalent edits as gaps. Preservation
    passes for a refactor are valid evidence, not missing-red defects.

    Include exact commands/exits, toolchain/framework/configuration, revision
    and counterfactual patch identities, per-run counts, and relevant artifact
    paths. Distinguish execution performed now from verified existing artifacts.
    Never combine static predictions with measured mutation counts/scores.
    Evidence for a final PR head does not prove every intermediate commit;
    assess a requested commit against its parent separately.

    Missing evidence is not automatically a proven defect or an inline review
    thread. Publication follows the caller's existing authorization gate; do
    not create a new GitHub object just to store a report or claim instructions
    enforce hooks, CI, or publication.

Validation

  • The evidence identifies the exact change, independent oracle, test/data case,
    and meaningful buildable counterfactual.
  • A claimed bug-fix proof fails for the actual old defect and passes with the
    fix; a feature proof detects absent/wrong behavior rather than absent symbols.
  • Executed claims have attributable outcomes, commands/exits, counts, and
    matching artifacts/consumer provenance; unavailable details stay explicit.
  • Static predictions, survival, equivalence, preservation, and missing evidence
    remain distinct. Existing tests are credited without demanding redundant ones.
  • Scope, read-only restrictions, clean variant outputs, parallel safety, and
    owned-resource cleanup were preserved.
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
migrate-xunit-to-xunit-v3Migrate .NET test projects from xUnit.net v2 to xunit.v3 and fix v3 breaks. Use for package/CPM conversion, OutputType=Exe, preserving the VSTest or MTP runner (including projects currently using YTest.MTP.XUnit2), incompatible TFMs, async void tests, string-to-Type attributes, custom Fact/Theory/BeforeAfterTest attributes, Xunit.SkippableFact, xunit.abstractions/extensibility consolidation, and Xunit.Combinatorial/StaFact compatibility. Do not use for framework conversion or a runner-only migration. For xUnit v3 MTP filter syntax, also use migrate-vstest-to-mtp.2 installsmicrobenchmarkingActivate this skill when BenchmarkDotNet (BDN) is involved in the task — creating, running, configuring, or reviewing BDN benchmarks. Also activate when microbenchmarking .NET code would be useful and BenchmarkDotNet is the likely tool. Consider activating when answering a .NET performance question requires measurement and BenchmarkDotNet may be needed. Covers microbenchmark design, BDN configuration and project setup, how to run BDN microbenchmarks efficiently and effectively, and using BDN for side-by-side performance comparisons. Do NOT use for profiling/tracing .NET code (dotnet-trace, PerfView), production telemetry, or load/stress testing (Crank, k6).2 installsbuild-perf-baselineEstablish MSBuild/.NET baselines before optimizing. USE FOR: unranked slow builds; cold/warm/incremental/no-op measurements; before/after comparisons; CI caching; static graph, artifacts output, dependency graph trimming. DO NOT USE FOR: measured bottlenecks (build-perf-diagnostics), known repeated restores (eliminate-redundant-restores), within-build duplicate calls (find-repeated-work-within-one-build), non-MSBuild builds.2 installsmsbuild-serverGuide for using MSBuild Server to improve CLI build performance. Activate when developers report slow incremental builds from the command line, or when CLI builds are noticeably slower than IDE builds. Covers MSBUILDUSESERVER=1 environment variable for persistent server-based caching. Do not activate for IDE-based builds (Visual Studio already uses a long-lived process).2 installssystem-text-json-net11Imperative guidance for the System.Text.Json APIs added in .NET 11: the built-in `JsonNamingPolicy.PascalCase` naming policy, and the strongly-typed generic `JsonSerializerOptions.GetTypeInfo` and `JsonSerializerOptions.TryGetTypeInfo` metadata accessors (generic overloads that return a typed `JsonTypeInfo`). USE ONLY when the user is targeting net11.0 or later and needs PascalCase JSON property or dictionary-key names without writing a custom naming policy, a strongly-typed generic `JsonTypeInfo` instead of the non-generic `JsonTypeInfo`, or a no-throw way to probe whether a type's serialization metadata is resolved. DO NOT USE when the target is earlier than net11.0, the requested behavior uses an established pre-net11 naming policy, or the user explicitly selected another JSON library.2 installscode-testing-agentLegacy compatibility alias for the code-testing skill. Do not self-activate for user requests and do not treat this name as a custom agent. When invoked explicitly by older instructions, load code-testing and follow it instead.2 installs

More from .NET

View source →
analyzing-dotnet-performanceScans .NET code for ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I/O with tiered severity classification. Use when analyzing .NET code for optimization opportunities, reviewing hot paths, or auditing allocation-heavy patterns.15 installscreate-skillScaffolds new agent skills for the dotnet/skills repository. Use when creating a new skill, generating SKILL.md files, writing a skill description that the runtime will actually route to, or setting up skill directory structures. Handles frontmatter generation, section templates, and validation guidance. Do not use for fixing a skill that already fails its evaluation (use improve-skill-quality) or for writing eval.yaml (use create-skill-test).9 installscsharp-scriptsRun file-based C# apps with the .NET CLI when the user explicitly wants C#/.NET code without creating a project. Use for C# language/API experiments, one-file C# apps, small multi-file C# apps composed with `#:include`/`#:exclude`, or C# file-based apps linked with `#:ref`. Do not use for language-agnostic throwaway scripts, generic computations, Python/PowerShell-style automation, full projects, or existing app integration.6 installscode-testing-extensionsProvides file paths to language-specific extension files for the code-testing pipeline. Read this reference-only catalog for extension guidance files (e.g., dotnet.md for .NET, cpp.md for C++). Agents and skills read its bundled files directly; do not invoke this catalog through the model's skill tool.4 installscreate-blazor-projectCreate a new ASP.NET Core web application or web site using Blazor. USE FOR: creating a new Blazor web app, scaffolding a new web project, starting a new web site, choosing render modes (Static SSR, Interactive Server, Interactive WebAssembly, Auto), running dotnet new blazor with the right options, setting up initial project structure. DO NOT USE FOR: adding features to existing projects, changing how an existing app renders, or component authoring (use author-component).3 installsmigrate-nullable-referencesEnable nullable reference types in a C# project and systematically resolve all warnings. USE FOR: adopting NRTs in existing codebases, file-by-file or project-wide migration, fixing CS8602/CS8618/CS86xx warnings, annotating APIs for nullability, cleaning up null-forgiving operators, upgrading dependencies with new nullable annotations. DO NOT USE FOR: projects already fully migrated with zero warnings (unless auditing suppressions), fixing a handful of nullable warnings in code that already has NRTs enabled, suppressing warnings without fixing them, C# 7.3 or earlier projects. INVOKES: Get-NullableReadiness.ps1 scanner script.3 installs

More Build skills

Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.647 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.549 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.358 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.258 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.183 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions147 installs

Frequently asked questions about test-value-evidence

What does the test-value-evidence skill do?

Assess tests for an identified code or test change, feature, PR or commit. USE FOR: review changed behavior or regression tests, prove pre-fix/missing behavior is detected, revision-bound red-green evidence. Polyglot. DO NOT USE without an identified change: hypothetical mutations or general suite blind spots (test-gap-analysis). Also exclude per-test readiness/A-F grades (grade-tests), coverage (coverage-analysis), new suites (code-testing), or mutation engines. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the test-value-evidence skill?

Run `npx @skills-hub-ai/cli install dotnet-test-value-evidence` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/dotnet-test-value-evidence/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does test-value-evidence work with?

test-value-evidence runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the test-value-evidence skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use test-value-evidence after installing it?

In Claude Code, type `/dotnet-test-value-evidence` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the test-value-evidence skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.