Awesome Reviewers checks + prompts

verify / csharp

Verifying C# changes

Files: .cs. Run the checks under every change, add the checks for what your diff touches, then apply the review prompts for what the tools miss. Usage is measured across 4 scanned repositories that write C#; prompts come from 42 review discussions.

raw .md .json

Run on every change

the tool most C# repositories run for each check

  • Formatting Layout drift that buries the real change in the diff.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Linting Bug-prone patterns, unused code and conventions the formatter does not cover.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Type checking Wrong types, unhandled null or None, call signatures broken across modules.

    The compiler type-checks on every build and test run; a failing build is this check failing.

  • Unit and integration tests Behaviour regressions on the paths the tests exercise.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

Review prompts for every change 9 in total

  • octokit/octokit.net Naming Conventions C# devtools
    raw open
  • dotnet/runtime Code Style C# runtimes
    raw open
  • dotnet/runtime Naming Conventions C# runtimes
    raw open
  • octokit/octokit.net Code Style C# devtools
    raw open
  • Azure/azure-sdk-for-net Naming Conventions C# cloud-infra
    raw open

Add when the change touches

open the ones that describe your diff

Authentication, input handling, secrets, permissions codeqlsecret scanningdependency audit 4 prompts
  • Security scanning Injection, unsafe APIs and tainted data reaching a sink.
    codeql

    runs via GitHub Action github/codeql-action/analyze

    exit codes, docs, alternatives, where it runs
  • Secret scanning Credentials and tokens committed to the repository.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Dependency audit Known-vulnerable or disallowed dependencies and licenses.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Azure/azure-powershell Security C# cloud-infra
    raw open
  • octokit/octokit.net Security C# devtools
    raw open
  • dotnet/runtime Security C# runtimes
    raw open
  • Azure/azure-sdk-for-net Security C# cloud-infra
    raw open
Public APIs, signatures, error paths, nullability type checkingunit and integration testsproperty-based tests 13 prompts
  • Type checking Wrong types, unhandled null or None, call signatures broken across modules.

    The compiler type-checks on every build and test run; a failing build is this check failing.

  • Unit and integration tests Behaviour regressions on the paths the tests exercise.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Property-based tests Edge-case inputs nobody wrote a test for; invariants over generated data.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • dotnet/runtime Error Handling C# runtimes
    raw open
  • Azure/azure-sdk-for-net Null Handling C# cloud-infra
    raw open
  • octokit/octokit.net Null Handling C# devtools
    raw open
  • Azure/azure-powershell Null Handling C# cloud-infra
    raw open
  • raw open

8 more in API, Error Handling, Null Handling — the playbook lists the top 12.

Service and framework code unit and integration testsci-matrix
Algorithms, parsers, data transforms property-based testsfuzzingmutation testingproofs and specifications 1 prompts
  • Property-based tests Edge-case inputs nobody wrote a test for; invariants over generated data.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Fuzzing Crashes, panics and hangs on malformed input, especially in parsers and decoders.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Mutation testing Tests that keep passing whatever the code does.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Proofs and specifications Design-level bugs in protocols and algorithms, checked against a specification.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • dotnet/runtime Algorithms C# runtimes
    raw open
Threads, async code, locks, shared state concurrency model checkingundefined-behaviour detectionproperty-based tests 1 prompts
  • Concurrency model checking Races and orderings that fail only under specific interleavings.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Undefined-behaviour detection Memory-safety and aliasing violations in unsafe code.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Property-based tests Edge-case inputs nobody wrote a test for; invariants over generated data.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • dotnet/runtime Concurrency C# runtimes
    raw open
Network calls, retries, timeouts, protocols unit and integration testsfuzzing
  • Unit and integration tests Behaviour regressions on the paths the tests exercise.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Fuzzing Crashes, panics and hangs on malformed input, especially in parsers and decoders.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

UI components and pages end-to-end browser testslinting
  • End-to-end browser tests User flows broken across components, routing and the network.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Linting Bug-prone patterns, unused code and conventions the formatter does not cover.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

Databases, migrations, caching unit and integration testsci-matrix
Hot paths and performance 2 prompts

No tool-based check applies. The review prompts below are the verification.

  • Azure/azure-sdk-for-net Performance Optimization C# cloud-infra
    raw open
  • dotnet/runtime Performance Optimization C# runtimes
    raw open
Model, prompt and LLM code unit and integration tests
  • Unit and integration tests Behaviour regressions on the paths the tests exercise.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

CI workflows and configuration files ci workflow lintingfile hygiene 4 prompts
  • CI workflow linting Broken GitHub Actions syntax, script injection, over-broad token permissions.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • File hygiene Invalid JSON, YAML or TOML, merge markers, trailing whitespace, oversized files.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Azure/azure-sdk-for-net Configurations C# cloud-infra
    raw open
  • Azure/azure-powershell CI/CD C# cloud-infra
    raw open
  • octokit/octokit.net Configurations C# devtools
    raw open
  • dotnet/runtime Configurations C# runtimes
    raw open
Dependencies and lockfiles dependency auditlockfile consistencyci-matrix
The tests themselves mutation testingci-matrix 4 prompts
  • octokit/octokit.net Testing C# devtools
    raw open
  • dotnet/runtime Testing C# runtimes
    raw open
  • Azure/azure-sdk-for-net Testing C# cloud-infra
    raw open
  • Azure/azure-powershell Testing C# cloud-infra
    raw open
Documentation and comments docs buildspelling 4 prompts
  • Docs build Broken cross-references, links and markup in documentation.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Spelling Typos in identifiers, comments and docs.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • octokit/octokit.net Documentation C# devtools
    raw open
  • Azure/azure-sdk-for-net Documentation C# cloud-infra
    raw open
  • dotnet/runtime Documentation C# runtimes
    raw open
  • Azure/azure-powershell Documentation C# cloud-infra
    raw open

Where this comes from

4 scanned repositories with at least a fifth of their prompts in C#

dotnet/runtime3 · Azure/azure-sdk-for-net4 · Azure/azure-powershell1 · octokit/octokit.net2