Agent skill

Corvus Build And Test

by corvus-dotnet in corvus-dotnet/Corvus.JsonSchema

Build, test, and run the Corvus.JsonSchema solution correctly.

Apache-2.0Auto-check passedTesting & QA

Install Corvus Build And Test

skills CLI
$ npx skills add corvus-dotnet/Corvus.JsonSchema --skill corvus-build-and-test -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install corvus-dotnet/Corvus.JsonSchema corvus-build-and-test --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/corvus-dotnet/Corvus.JsonSchema.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/corvus-build-and-test .claude/skills/corvus-build-and-test && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
corvus-build-and-test
GitHub stars
199
Token cost
~5.5k tokens
SKILL.md length
2,002 words
Files
1
Skills in repo
28
Repo updated
First seen
Licence
Apache-2.0

At a glance

Build, test, and run the Corvus.JsonSchema solution correctly.

  • Works in 2 steps: Warning-free build: dotnet build… → Code sample catalog: if any file under…
  • : building the solution
  • SKILL.md covers Solution Files, Build Commands, Pre-Commit Checks and Running Tests, plus 5 more sections
  • Calls dotnet

What it does

Corvus Build And Test is an agent skill from corvus-dotnet/Corvus.JsonSchema. Build, test, and run the Corvus.JsonSchema solution correctly. Covers multi-targeting (net9.0/net10.0/net481/netstandard2.0), mandatory test category filters, solution file selection, running specific test classes or methods, writing new tests, and diagnosing common build/test failures. USE FOR: building the solution, running tests, writing new test files, diagnosing test failures, understanding TFM targeting, finding the right test project for a feature area. DO NOT USE FOR: benchmark execution (use…

Its SKILL.md is about 5.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Test generation, Failing and flaky tests and Project scaffolding. It works with .NET. The repository describes itself as: Support for Json Schema validation and entity generation. The licence is Apache-2.0.

When your agent uses it

  • : building the solution
  • Writing new test files
  • Diagnosing test failures
  • Understanding TFM targeting

Example prompts

  • “/corvus-build-and-test”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Warning-free build: dotnet build Corvus.Text.Json.slnx must report 0 Warning(s).
  2. Code sample catalog: if any file under .github/, docs/, or skill/instruction files was modified (even incidentally), update and verify

What it can do on your machine

Read from SKILL.md and the folder at commit 973097f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • dotnet

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Corvus Build And Test loads about 5.5k tokens when it runs. Until then it costs about 162 tokens; SKILL.md has 2,002 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~162
When it runs · the whole SKILL.md, loaded when a task matches
~5.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from corvus-dotnet/Corvus.JsonSchema at commit 973097f, republished under its Apache-2.0 licence (© corvus-dotnet). 2,002 words, ~5,508 tokens.

Download SKILL.mdSave it as .claude/skills/corvus-build-and-test/SKILL.md (or your agent's skills folder).
name
corvus-build-and-test
description
Build, test, and run the Corvus.JsonSchema solution correctly. Covers multi-targeting (net9.0/net10.0/net481/netstandard2.0), mandatory test category filters, solution file selection, running specific test classes or methods, writing new tests, and diagnosing common build/test failures. USE FOR: building the solution, running tests, writing new test files, diagnosing test failures, understanding TFM targeting, finding the right test project for a feature area. DO NOT USE FOR: benchmark execution (use corvus-benchmarks), code generation (use corvus-codegen), test suite regeneration (use corvus-test-suite-regeneration).

Building and Testing Corvus.JsonSchema

Solution Files

SolutionPurpose
Corvus.Text.Json.slnxMain V5 solution — all libraries + all tests (use for dotnet build and dotnet test)
Corvus.Text.Json.Benchmarks.slnxBenchmark projects only

All test projects use MSTest (MSTest.Sdk 4.2.2) with Microsoft Testing Platform (MTP). The global.json pins the MSTest.Sdk version and configures MTP as the test runner.

All test projects target both net10.0 and net481. CodeGenerator.Tests produces an empty assembly on net481 (the CLI tool is .NET 10 only); <IsTestProject>false</IsTestProject> on net481 plus --ignore-exit-code 8 in CI prevents it from failing the test run. Three source-generator test projects (JMESPath, Jsonata, JsonLogic) exclude their SourceGeneratorDiagnosticTests.cs file on net481 because those Roslyn-hosted tests require .NET Core reference assemblies (integration tests run on both TFMs). Running dotnet test --solution Corvus.Text.Json.slnx without -f runs tests on all applicable TFMs.

V4 projects live in src-v4/ and tests-v4/ and are included in the solution.

Build Commands

powershell
# Full build
dotnet build Corvus.Text.Json.slnx

# Build a specific project
dotnet build src\Corvus.Text.Json\Corvus.Text.Json.csproj

TreatWarningsAsErrors=true is set across all projects — any warning fails the build.

Pre-Commit Checks

Before every commit, verify these mandatory gates:

  1. Warning-free build: dotnet build Corvus.Text.Json.slnx must report 0 Warning(s).
  2. Code sample catalog: if any file under .github/, docs/, or skill/instruction files was modified (even incidentally), update and verify:
powershell
.\docs\update-code-sample-catalog.ps1 -UpdateFile <relative-path>   # for each changed file
.\docs\update-code-sample-catalog.ps1 -Check                         # must exit 0

CI runs the catalog check and fails the build if it is stale. This is the most commonly missed pre-commit gate.

Running Tests

Mandatory Filters

ALWAYS exclude failing and outerloop categories:

⚠️ Use Corvus types, not System.Text.Json

Test code and assertions must use Corvus.Text.Json types (JsonElement, JsonValueKind, ParsedJsonDocument<T>, etc.), not System.Text.Json equivalents. Do not add using System.Text.Json; to test files. The two namespaces share type names (JsonElement, Utf8JsonWriter, JsonWriterOptions) which cause ambiguity errors, and using STJ types in assertions would test the wrong library.

System.Text.Json is acceptable only for test data infrastructure — e.g., reading JSON fixture files with System.Text.Json.JsonDocument to enumerate test cases. In those cases, fully-qualify the STJ types (e.g., System.Text.Json.JsonElement).

⚠️ Prefer exact assertions

Always use Assert.AreEqual with the complete expected value. Do not use StringAssert.Contains, Assert.IsTrue(x.StartsWith(...)), or similar weak assertions for output verification — these mask bugs where the format changes but still contains the checked substring.

Acceptable exceptions:

  • Error/exception message substring checks (e.g., StringAssert.Contains(ex.Message, "T0410"))
  • Buffer-growth tests writing 15+ iterations in a loop (output is hundreds of bytes; Contains verifying data integrity is fine)
  • Non-deterministic output that cannot be reproduced exactly

Technique for capturing exact values:

  1. Write a temporary Assert.Fail(actualValue) or Console.WriteLine to capture the exact output
  2. Or use a file-based app (.cs script) referencing the library project to call the API directly
  3. Use raw string literals (""") for JSON expected values — \u002B, \n, \t are literal characters matching JSON content
csharp
// GOOD — exact assertion with raw string literal
Assert.AreEqual("""{"name":"Alice","age":30}""", json);

// BAD — weak assertion that passes even if output is wrong
StringAssert.Contains(json, "Alice");
powershell
# Run all tests (standard — all 21 test projects, both TFMs)
dotnet test --solution Corvus.Text.Json.slnx --filter "TestCategory!=failing&TestCategory!=outerloop"

# Run all tests on a specific TFM
dotnet test --solution Corvus.Text.Json.slnx -f net10.0 --filter "TestCategory!=failing&TestCategory!=outerloop"

# Run a single test class
dotnet test --solution Corvus.Text.Json.slnx --filter "FullyQualifiedName~ParsedJsonDocumentTests&TestCategory!=failing&TestCategory!=outerloop"

# Run a single test method
dotnet test --solution Corvus.Text.Json.slnx --filter "FullyQualifiedName~ParseValidUtf8BOM&TestCategory!=failing&TestCategory!=outerloop"
Test by Feature Area
powershell
# JSON Schema draft-specific tests (all in Corvus.Text.Json.Tests)
dotnet test --project tests\Corvus.Text.Json.Tests --filter "JsonSchemaTestSuite=Draft202012&TestCategory!=failing&TestCategory!=outerloop"

# Standalone evaluator tests (all in Corvus.Text.Json.Tests)
dotnet test --project tests\Corvus.Text.Json.Tests --filter "TestCategory~StandaloneEvaluatorTestSuite&TestCategory!=failing&TestCategory!=outerloop"

# Annotation tests (all in Corvus.Text.Json.Tests)
dotnet test --project tests\Corvus.Text.Json.Tests --filter "TestCategory~AnnotationTestSuite&TestCategory!=failing&TestCategory!=outerloop"

# JSONata conformance
dotnet test --project tests\Corvus.Text.Json.Jsonata.Tests --filter "TestCategory!=failing&TestCategory!=outerloop"

# JMESPath conformance
dotnet test --project tests\Corvus.Text.Json.JMESPath.Tests --filter "TestCategory!=failing&TestCategory!=outerloop"

# YAML conformance
dotnet test --project tests\Corvus.Text.Json.Yaml.Tests --filter "TestCategory!=failing&TestCategory!=outerloop"

# JSONPath conformance
dotnet test --project tests\Corvus.Text.Json.JsonPath.Tests --filter "TestCategory!=failing&TestCategory!=outerloop"

# JSONPath code-gen
dotnet test --project tests\Corvus.Text.Json.JsonPath.CodeGeneration.Tests --filter "TestCategory!=failing&TestCategory!=outerloop"
Key Test Projects (21 runnable)
ProjectTests
Corvus.Text.Json.TestsCore library: parsing, mutation, schema validation, JSON Schema Test Suite (all drafts via JsonSchemaTestSuite/), standalone evaluator (StandaloneEvaluatorTestSuite/), and annotation collection (AnnotationTestSuite/)
Corvus.Text.Json.Validator.TestsDynamic schema validator (runtime compilation)
Corvus.Text.Json.Jsonata.TestsJSONata runtime conformance
Corvus.Text.Json.Jsonata.CodeGeneration.TestsJSONata code generation
Corvus.Text.Json.Jsonata.SourceGenerator.TestsJSONata source generator integration
Corvus.Text.Json.JMESPath.TestsJMESPath runtime conformance
Corvus.Text.Json.JMESPath.CodeGeneration.TestsJMESPath code generation
Corvus.Text.Json.JMESPath.SourceGenerator.TestsJMESPath source generator integration
Corvus.Text.Json.JsonPath.TestsJSONPath (RFC 9535) runtime conformance
Corvus.Text.Json.JsonPath.CodeGeneration.TestsJSONPath code generation
Corvus.Text.Json.JsonPath.SourceGenerator.TestsJSONPath source generator integration
Corvus.Text.Json.Yaml.TestsYAML conformance
Corvus.Yaml.SystemTextJson.TestsYAML ↔ JSON (System.Text.Json-only variant)
Corvus.Text.Json.JsonLogic.TestsJsonLogic runtime
Corvus.Text.Json.JsonLogic.CodeGeneration.TestsJsonLogic code generation
Corvus.Text.Json.JsonLogic.SourceGenerator.TestsJsonLogic source generator integration
Corvus.Numerics.TestsBigNumber / BigInteger arithmetic
Corvus.Text.Json.Patch.TestsRFC 6902 JSON Patch
Corvus.Text.Json.CodeGenerator.TestsCLI code generator
Corvus.Text.Json.Migration.Analyzers.TestsV4→V5 migration analyzers
Corvus.Text.Json.Analyzers.TestsRoslyn analyzers

Plus 6 supporting model/utility projects that generate types consumed by other tests.

Target Frameworks

  • Libraries: net9.0;net10.0;netstandard2.0;netstandard2.1
  • Tests: net10.0;net481 (all projects). CodeGenerator.Tests is an empty assembly on net481.
  • Run a specific TFM: dotnet test -f net10.0 ...

Collecting Code Coverage

Use dotnet-coverage (Microsoft Code Coverage), not Coverlet. Coverlet 10.0.0 has a known instrumentation bug that reports 0% for many types despite tests exercising the code.

Full test suite coverage (all TFMs, merged automatically)
⚠️ CRITICAL: Always collect baseline/full coverage WITHOUT -f

NEVER pass -f net10.0 when collecting baseline or full coverage. This misses all #if !NET / #if NETSTANDARD2_0 code paths (unsafe pointer fallbacks, polyfills, etc.) and produces incomplete results. Omit -f entirely — both TFMs run and dotnet-coverage merges them automatically. Only use -f for targeted single-test-class verification during iterative improvement.

powershell
# 1. Build once
dotnet build Corvus.Text.Json.slnx

# 2. Collect coverage — all TFMs (dotnet-coverage merges automatically)
dotnet-coverage collect `
    --output TestResults\coverage.cobertura.xml `
    --output-format cobertura `
    -s dotnet-coverage.settings.xml `
    "dotnet test --solution Corvus.Text.Json.slnx --filter `"TestCategory!=failing&TestCategory!=outerloop`" --no-build"

All test projects target both net10.0 and net481. Running without -f executes tests on both TFMs, and dotnet-coverage produces a single merged Cobertura XML. This captures TFM-conditional code paths (e.g., #if NETSTANDARD2_0 polyfill branches, net481 fallback code) that a single-TFM run would miss.

Full suite coverage runs ~150K tests across 21 test projects × 2 TFMs and takes 30–45 minutes.

Single-TFM coverage (when needed)

For targeted debugging, you can collect coverage for a single TFM:

powershell
dotnet-coverage collect `
    --output TestResults\coverage-net10.0.cobertura.xml `
    --output-format cobertura `
    -s dotnet-coverage.settings.xml `
    "dotnet test --solution Corvus.Text.Json.slnx -f net10.0 --filter `"TestCategory!=failing&TestCategory!=outerloop`" --no-build"

Note: single-TFM runs miss TFM-conditional branches. Use the all-TFM approach above for accurate coverage baselines.

Single test class coverage
powershell
dotnet-coverage collect `
    --output TestResults\mytest.cobertura.xml `
    --output-format cobertura `
    -s dotnet-coverage.settings.xml `
    "dotnet test --solution Corvus.Text.Json.slnx -f net10.0 --filter `"FullyQualifiedName~MyTestClass&TestCategory!=failing&TestCategory!=outerloop`" --no-build"
Key points
  • The dotnet-coverage.settings.xml in the repo root filters coverage to published library assemblies only (18 assemblies including Corvus.Numerics)
  • Output is a single Cobertura XML — running without -f automatically merges both TFMs
  • Always build before collecting: dotnet build Corvus.Text.Json.slnx first, then --no-build in the test command
  • When comparing before/after, always use the same approach (preferably all-TFM)
  • The Cobertura XML uses full Windows paths in filename attributes — use os.path.basename() or equivalent when parsing
⚠️ Do NOT use Coverlet

--collect:"XPlat Code Coverage" (Coverlet) reports 0% coverage for many types including ref structs, static classes, and even regular sealed classes. This was verified by running the same tests with both tools — dotnet-coverage correctly reported 65–92% coverage for types that Coverlet reported as 0%.

Coverage settings file

The dotnet-coverage.settings.xml file controls which assemblies are instrumented and which source files are excluded. It includes all published V5 library assemblies plus V4 code generation assemblies. If you add a new published assembly, add a corresponding <ModulePath> entry.

Source exclusions configured in the settings file:

  • src-v4/Corvus.Json.ExtendedTypes/Corvus.Json/GeneratedCoreTypes/ — V4 CLI-generated core types (~144 files) that inflate the denominator without meaningful coverage value
  • *.g.cs files under obj/ — Roslyn source-generator output (regex generators, JSON schema generators, etc.)
  • SR.cs and *.Designer.cs — auto-generated resource string files that are not meaningfully testable

When parsing Cobertura XML manually, apply the same exclusions: skip <class> entries whose filename contains GeneratedCoreTypes, has an obj directory segment, ends with SR.cs, or ends with .Designer.cs. Failure to exclude these will significantly undercount coverage for packages with resource files (e.g., Validator has 130 untestable lines in SR.cs + Strings.Designer.cs).

Parsing Cobertura XML

The Cobertura XML has <class> elements inside <package> elements. Each <class> has a filename attribute and <line> children with number, hits, and optional condition-coverage attributes.

Important: Partial classes and compiler-generated closures (<>c) appear as separate <class> entries for the same file. When computing per-file coverage, aggregate across all <class> entries that share the same filename:

python
import xml.etree.ElementTree as ET, os

def get_coverage_by_file(xmlfile):
    tree = ET.parse(xmlfile)
    root = tree.getroot()
    results = {}
    for cls in root.iter('class'):
        fn = cls.get('filename', '')
        basename = os.path.basename(fn)
        if basename not in results:
            results[basename] = {'covered': set(), 'total': set()}
        for l in cls.findall('.//line'):
            num = int(l.get('number', 0))
            results[basename]['total'].add(num)
            if int(l.get('hits', 0)) > 0:
                results[basename]['covered'].add(num)
    return results

Use sets (not counts) to avoid double-counting lines that appear in multiple <class> entries.

Show full SKILL.md (920 more words)Show less
Coverage verification loop

When writing tests to close coverage gaps, always verify that the target lines are actually covered — "tests pass" does NOT mean "target code paths exercised." Iterate until every target line is covered or you have verified evidence that a path is unreachable. Remove any tests that do not contribute novel coverage.

  1. Before writing tests: Note the exact uncovered line numbers from the Cobertura XML
  2. Write tests that you believe exercise those lines
  3. Run the tests — confirm they pass
  4. Re-collect coverage for just the new test class:
    powershell
    dotnet-coverage collect `
        --output TestResults\verify.cobertura.xml `
        --output-format cobertura `
        -s dotnet-coverage.settings.xml `
        "dotnet test --solution Corvus.Text.Json.slnx --filter `"FullyQualifiedName~MyNewTestClass&TestCategory!=failing&TestCategory!=outerloop`" --no-build"
  5. Parse the report and check whether the specific target lines now have hits > 0
  6. If target lines are still at 0: the tests exercise different code paths. Revise and repeat from step 2
  7. If a path appears unreachable: verify the claim by tracing all callers and checking generated code before reporting to the user. Provide evidence (e.g., "grep for Source<TContext> across all .cs files finds zero call sites"). Do not assert unreachability without proof
  8. Remove redundant tests — any test that contributes zero novel lines over the baseline must be deleted

Common pitfalls that cause this mismatch:

  • Testing SetProperty<TContext>(name, context, delegate) exercises the delegate overload, NOT Source<TContext> — those are separate code paths
  • JSON Patch copy operations where source is inside the destination array may not trigger overlap detection branches if the internal row layout doesn't straddle the insertion point
  • Generated types have their own Source<TContext> that delegates to the base JsonElement.Source<TContext> — test through the generated type's CreateBuilder<TContext> to cover the base type

Analyzers and generated code

Generated code is most of what the compiler sees in the model projects (source generator trees in the OpenAPI model projects and the recipes, checked-in Generated, B and C folders elsewhere), and analyzer time was most of those builds. Three settings keep analyzers off it; none of them touches compiler diagnostics (nullable warnings, CS0618 and so on still report in generated files).

SettingWhereWhat it does
<RunAnalyzers>false</RunAnalyzers>projects whose every type is generated (tests/Corvus.Text.Json.Tests.GeneratedModels*, src/Corvus.Text.Json.AsyncApi26, src/Corvus.Text.Json.AsyncApi30, tests/Corvus.Text.Json.Tests.MigrationModels.V5)no analyzer runs at all; generators still run
analyzers/generated-code.globalconfig (passed to every project by the root Directory.Build.targets) plus the generated [*.cs] region of .editorconfigrepository-wideanalyzers that analyse generated code (GeneratedCodeAnalysisFlags.Analyze, the default for an analyzer that never configures it: CA2252, CA1418, CA1420, CA1421 and the rest) get every diagnostic set to none globally, which makes the analyzer driver skip them on source generator trees (csc gives those trees no per-tree options), and restored to its effective severity for files on disk, so hand-written code keeps exactly the analysis it had. Analyzers that opt out of generated code (StyleCop, Roslynator, most NetAnalyzers, every Corvus analyzer) are already skipped on generated trees and need nothing.
the generated [{docs/ExampleRecipes/*/Generated,...}/**.cs] section of .editorconfigchecked-in generator output inside hand-written projectsevery analyzer diagnostic hidden, and the analyzers above skipped per tree (not generated_code = true: that also switches off the project nullable context for a file without the auto-generated header, which three hand-maintained V4 core-type files are)
the RemoveRoslynMetaAnalyzers target in the root Directory.Build.targetsevery project without IsRoslynComponentremoves the Roslyn meta-analyzers (RS rules for analyzer authors, which analyse generated code) that Microsoft.CodeAnalysis.Analyzers brings into every consumer of Microsoft.CodeAnalysis, directly or through a project reference. A PackageReference with ExcludeAssets cannot do this: NuGet unions the asset flags of every path to a package, and the transitive path keeps the analyzers.

update-generated-code-analyzer-config.ps1 writes the global config and the .editorconfig region from the analyzers actually in use: the SDK's NetAnalyzers (the SDK global.json selects) and every analyzer package in the restore graph of a project that references the source generator or owns a generated folder. It runs analyzers/AnalyzerProbe.cs (a file-based C# app, so the analyzers load on the Roslyn version they were built for) to read each analyzer's generated-code flags and descriptors. Run it after changing global.json, an analyzer package version or a project's analyzer references, and commit the result:

powershell
.\update-generated-code-analyzer-config.ps1          # needs the main solution restored
.\update-generated-code-analyzer-config.ps1 -Check   # the gate: exit 1 when the files are stale (CI runs it after the build)

The script fails on purpose when a directory named Generated, B, C or GeneratedCoreTypes holding C# files matches none of its folder globs (add the folder to $GeneratedFolderGlobs), and when a restored diagnostic is also configured by hand in an .editorconfig (decide which setting wins and remove one). Remaining analyzer work on generated code, by design: compilation start and end actions run once per compilation for every analyzer; symbol-start analyzers and analyzers with a non-configurable diagnostic cannot be skipped per tree (the script warns about the active ones); the IDE ignores .editorconfig for source-generated documents, so opt-in analyzers still analyse them live.

To see what a build spends on analyzers, build one project with -p:ReportAnalyzer=true -v:d after touching its schema and read the "Total analyzer execution time" table in the log.

Common Pitfalls

Stale bin directories

Building individual .csproj files produces output in bin\{TFM}\ (no config subfolder). Building via .slnx produces bin\{Config}\{TFM}\. Stale bin\{TFM}\ directories cause test failures because relative paths in appsettings.json resolve incorrectly. Fix: always use -c Debug or -c Release explicitly, and delete stale bin\{TFM}\ dirs.

Missing test filter

Running dotnet test without TestCategory!=failing&TestCategory!=outerloop will run tests that are expected to fail or are slow stress tests, producing misleading failures.

Source generator not running

If generated types are missing, ensure you're building in the correct configuration. Check obj\{Config}\{TFM}\generated\ for .g.cs files.

Cross-References

  • For benchmarks, see the corvus-benchmarks skill
  • For code generation, see the corvus-codegen skill
  • For test suite regeneration, see the corvus-test-suite-regeneration skill
  • For full conventions, see .github/copilot-instructions.md

© corvus-dotnet, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/corvus-build-and-test of corvus-dotnet/Corvus.JsonSchema.

Open the folder on GitHubat commit 973097f

Compare with similar skills

Corvus Build And Test next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Corvus Build And Test compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Corvus Build And Test this skillcorvus-dotnet/Corvus.JsonSchema199—~5.5kAutomated safety check: PassApache-2.0
Raven Test Triagemarinasundstrom/raven108—~1.4kAutomated safety check: PassMIT
Run Testsrunceel/ReactiveProperty944—~3.6kAutomated safety check: PassMIT
MAUI UI Test Writerdotnet/maui23k—~3kAutomated safety check: PassMIT
Exp Test Maintainabilitydotnet/skills5.6k1 repos~2.5kAutomated safety check: PassMIT
Run Testsmicrosoft/testfx1k—~4.2kAutomated safety check: PassMIT

Similar skills

  • Raven Test Triage

    marinasundstrom/raven

    Testing and stabilization workflow for the Raven compiler test suite.

    108 GitHub stars~1.4k tokensUpdated today
    Testing & QAAuto-check passed
  • Run Tests

    runceel/ReactiveProperty

    Runs .NET tests with dotnet test. An agent skill from runceel/ReactiveProperty.

    944 GitHub stars~3.6k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Official

    Writes UI tests that reproduce a GitHub issue in .NET MAUI and keeps iterating until the tests actually fail, proving they catch the bug.

    23k GitHub stars~3k tokensUpdated today
    Testing & QAAuto-check passed
  • Official

    Detects duplicate boilerplate, copy-paste tests, and structural maintainability issues across .NET test suites.

    5.6k GitHub starsUsed in 1 repo~2.5k tokens
    DevelopmentAuto-check passed
  • Run Tests

    microsoft/testfx

    Official

    For dotnet test: figures out which test platform (VSTest vs Microsoft.Testing.Platform) a project uses from Directory.Build.props, global.json, and .csproj, then picks the matching command syntax.

    1k GitHub stars~4.2k tokensUpdated today
    Testing & QAAuto-check passed
  • Issue To Regression Test

    brunosabot/streamline-card

    A skill your agent uses when the user asks to fix a bug, references a GitHub issue number, or describes an issue and wants a fix.

    269 GitHub stars~529 tokensUpdated 4 mo ago
    Testing & QAAuto-check passed

More from corvus-dotnet/Corvus.JsonSchema

All 28 skills in this repo
  • Corvus Analyzers

    corvus-dotnet/Corvus.JsonSchema

    Understand and work with the Roslyn analyzers shipped with Corvus.Text.Json.

    199 GitHub stars~876 tokensUpdated today
    Auto-check passed
  • Corvus Benchmarks

    corvus-dotnet/Corvus.JsonSchema

    Run, interpret, and maintain BenchmarkDotNet benchmarks for JSON Schema validation and query languages.

    199 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Corvus Bowtie Testing

    corvus-dotnet/Corvus.JsonSchema

    Test Corvus.JsonSchema against the JSON Schema Test Suite using Bowtie, the cross-implementation meta-validator.

    199 GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Corvus Buffer And Pooling

    corvus-dotnet/Corvus.JsonSchema

    Write allocation-efficient buffer code in Corvus.JsonSchema using the codebase's established three-tier pooling pattern: stackalloc → ArrayPool → ThreadStatic caches.

    199 GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Corvus Bytes To Bytes

    corvus-dotnet/Corvus.JsonSchema

    Eliminate hand-rolled POCO record<-document string seams — types/paths that materialize a managed string (or List<string/Dictionary) between a bytes SOURCE (a parsed UTF-8 body, a DB column, a…

    199 GitHub stars~3k tokensUpdated today
    Auto-check passed
  • Corvus Codegen

    corvus-dotnet/Corvus.JsonSchema

    Generate strongly-typed C from JSON Schema using the Roslyn source generator or the corvusjson CLI tool.

    199 GitHub stars~2.1k tokensUpdated today
    Auto-check passed

Works with

Questions about Corvus Build And Test

What does Corvus Build And Test do?

Build, test, and run the Corvus.JsonSchema solution correctly. JsonSchema.JsonSchema solution correctly.

When should I use Corvus Build And Test?

Corvus Build And Test fits situations like: : building the solution; writing new test files; diagnosing test failures; understanding TFM targeting.

How do I install Corvus Build And Test in Claude Code?

Run `npx skills add corvus-dotnet/Corvus.JsonSchema --skill corvus-build-and-test -a claude-code`. Or copy the skill folder (.github/skills/corvus-build-and-test in corvus-dotnet/Corvus.JsonSchema) into .claude/skills/corvus-build-and-test in your project. Claude Code loads it when a task matches its description.

How do I install Corvus Build And Test in Codex?

Run `npx skills add corvus-dotnet/Corvus.JsonSchema --skill corvus-build-and-test -a codex`. Or copy the skill folder (.github/skills/corvus-build-and-test in corvus-dotnet/Corvus.JsonSchema) into .agents/skills/corvus-build-and-test in your project. Codex loads it when a task matches its description.

Can I use Corvus Build And Test in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add corvus-dotnet/Corvus.JsonSchema --skill corvus-build-and-test -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/corvus-build-and-test, .gemini/skills/corvus-build-and-test, .github/skills/corvus-build-and-test and .opencode/skills/corvus-build-and-test in your project.

What does Corvus Build And Test need to run?

Going by SKILL.md and its folder, Corvus Build And Test needs the command-line tools its instructions call (dotnet).

Does Corvus Build And Test access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Corvus Build And Test safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Corvus Build And Test use?

Corvus Build And Test is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Corvus Build And Test use?

About 5.5k tokens (SKILL.md is roughly 22k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Corvus Build And Test?

Skills that share tags, products or a category with Corvus Build And Test: Raven Test Triage (marinasundstrom/raven, 108 stars), Run Tests (runceel/ReactiveProperty, 944 stars), MAUI UI Test Writer (dotnet/maui, 23k stars) and Exp Test Maintainability (dotnet/skills, 5.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Corvus Build And Test?

corvus-dotnet (a GitHub organization) maintains it in corvus-dotnet/Corvus.JsonSchema, which has 199 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on October 9, 2026.

Source: corvus-dotnet/Corvus.JsonSchema on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.