Catalogue / stack-csharp-dotnet
stack-csharp-dotnet
MITSignedReviews C# and .NET changes when ASP.NET, Entity Framework, async code, packages, or target frameworks need focused checks; follows repository SDK and build contracts.--- name: stack-csharp-dotnet description: "Reviews C# and .NET changes when ASP.NET, Entity Framework, async code, packages, or target frameworks need focused checks; follows repository SDK and build contracts." license: MIT metadata: author: "Measured Studios" version: "0.19.0" plugin: "measured-stacks" invocation: "implicit" provenance: "original" risk_class: "read-only" ---
C# and .NET Engineering Profile
Use this profile only after repository discovery identifies the stack. Read focused checks when .NET-specific gates or hazards determine the result.
Workflow
- Discover solution and project files,
global.json, central package configuration, NuGet settings, lockfiles, target frameworks, runtime identifiers, and repository scripts. - Follow repository-defined commands and pinned SDK or tool versions before suggesting defaults.
- Review material hazards, especially sync-over-async, lost cancellation,
async void, disposal and lifetime errors, nullable-reference gaps, dependency-injection scope mismatches, deferred LINQ behavior, and unsafe serialization. - When data access is present, review Entity Framework tracking, query shape, client evaluation, concurrency, transactions, provider behavior, and migration authority.
- Select proportionate gates from repository formatting, analyzers, compilation, tests, package validation, builds, and dependency review.
- Review compatibility across target frameworks, SDK selection, package graphs, public APIs, trimming or native AOT, operating systems, and database providers.
- Report every missing tool, skipped command, unsupported platform, or unavailable environment as incomplete rather than passing.
Boundaries
- Repository scripts and tests run code, and dependency checks can contact registries. Run a gate only when the user asked for checks and trusts the repository. Otherwise, name it as the next safe gate.
- Do not invent one universal
dotnetcommand or replace repository policy with generic preferences. - Do not restore from an unapproved feed, install tools, update packages, apply a database migration, publish, deploy, or mutate shared state merely to run a gate.
- Separate static review, executed checks, build evidence, migration evidence, provider state, and live behavior.
Output
Lead with the answer. Use the shortest format that retains the required evidence and limits; expand when requested or needed. The items below describe required content, not mandatory headings.
Return Discovery, Hazards, Commands selected, Results, Compatibility, Missing evidence, and Next safe gate.
Example
Synthetic example; not an observed client result.
Input: An ASP.NET handler blocks on Task.Result inside an async request.
Output: warning: synchronous waiting may block request threads. Inspect the call chain and cancellation behavior; validate an async change with repository tests.
| File | Size | SHA-256 |
|---|---|---|
| SKILL.md | 2.9 kB | 8cd8e390f8f7 |
| SKILVAULT_SOURCE.json | 1.4 kB | 77a3a7db61fc |
| THIRD_PARTY_NOTICES.md | 1.1 kB | fabd4b845c28 |
| agents/openai.yaml | 371 B | bdd3c95399f9 |
| references/checks.md | 1.5 kB | 9f65c435075e |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 0.1.0 Current | 9b4e391a30db | 24 Nov 2026 |
Locking a skill to one version needs Pro.