SkillCheatSheet
How to install

dotnet/skills

B

AI skills in the GitHub repository dotnet/skills, each scored out of 100 by fixed code checks, no AI.

Repository for skills to assist AI coding agents with .NET and C#
Repository score79/100
Skills114
Verified46 of 114
Average code score75/100
GitHub stars6.3k

MIT · Snapshot of 2026-11-23

How the repository score works

Repository score out of 100: 60 from the average code score of its skills, 15 from skills that meet the spec, 10 from verified skills, 10 for a license and 5 for an update in the last 90 days. Stars are shown but do not count.

template-discovery

Verified
dotnet/skills / plugins/dotnet-template-engine/skills/template-discovery
6.3k

Helps find, inspect, and compare (at a high level) .NET project templates. Resolves natural-language project descriptions to ranked template matches with pre-filled parameters. USE FOR: finding the right dotnet new template for a task, inspecting a template's parameters and constraints, understanding what a template produces before creating a project, resolving intent like "web API with auth" to…

ACode 94/100Builder 3/10
npx skills add dotnet/skills --skill template-discovery

csharp-scripts

Verified
dotnet/skills / plugins/dotnet-advanced/skills/csharp-scripts
6.3k

Run 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,…

ACode 92/100Builder 3/10
npx skills add dotnet/skills --skill csharp-scripts

mtp-hot-reload

Verified
dotnet/skills / plugins/dotnet-test/skills/mtp-hot-reload
6.3k

Set up or recover MTP hot reload for a long-lived console-host edit/re-run loop in a Microsoft Testing Platform project. Use for explicit MTP console requests such as "enable hot reload", "dotnet run to rerun on edit", or unsupported/rude edits. Covers setup, run/watch, restarts, filters, and the VSTest no-mutation fallback. For one-time runs, exact commands, filter errors, TRX/dumps, or merely a…

ACode 91/100Builder 4/10
npx skills add dotnet/skills --skill mtp-hot-reload

analyzing-dotnet-performance

Verified
dotnet/skills / plugins/dotnet-diag/skills/analyzing-dotnet-performance
6.3k

Scans .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.

ACode 89/100Builder 4/10
npx skills add dotnet/skills --skill analyzing-dotnet-performance

run-tests

Verified
dotnet/skills / plugins/dotnet-test/skills/run-tests
6.3k

ALWAYS USE before running .NET tests or answering with a test command or flags. Trigger on "run the tests", "exact dotnet test command", one test/class/category/trait/target framework, combined filters, `--filter-query`, `--no-build`, `--diag`, diagnostic logs, TRX, coverage collection, crash/hang dumps, filter errors, or unrecognized options. Chooses repository-compatible classic, VSTest, bridge…

ACode 89/100Builder 3/10
npx skills add dotnet/skills --skill run-tests

nuget-trusted-publishing

Verified
dotnet/skills / plugins/dotnet-advanced/skills/nuget-trusted-publishing
6.3k

Set up NuGet trusted publishing (OIDC) on a GitHub Actions repo — replaces long-lived API keys with short-lived tokens. USE FOR: trusted publishing, NuGet OIDC, keyless NuGet publish, migrate from NuGet API key, NuGet/login, secure NuGet publishing. DO NOT USE FOR: publishing to private feeds or Azure Artifacts (OIDC is nuget.org only). INVOKES: shell (powershell or bash), edit, create, ask_user…

ACode 88/100Builder 4/10
npx skills add dotnet/skills --skill nuget-trusted-publishing

template-comparison

Verified
dotnet/skills / plugins/dotnet-template-engine/skills/template-comparison
6.3k

Compares two or more dotnet new templates side by side to help users choose between them based on parameters, feature support, frameworks, and classifications. USE FOR: deciding between similar templates (webapi vs webapp, blazor vs blazorwasm, console vs worker), producing a side-by-side comparison of parameters and feature support, understanding how templates differ before creating a project. D…

ACode 88/100Builder 3/10
npx skills add dotnet/skills --skill template-comparison

template-instantiation

Verified
dotnet/skills / plugins/dotnet-template-engine/skills/template-instantiation
6.3k

Creates .NET projects from templates with validated parameters, smart defaults, Central Package Management adaptation, and latest NuGet version resolution. USE FOR: creating new dotnet projects, scaffolding solutions with multiple projects, installing or uninstalling template packages, creating projects that respect Directory.Packages.props (CPM), composing multi-project solutions (API + tests +…

ACode 88/100Builder 5/10
npx skills add dotnet/skills --skill template-instantiation

authoring-github-workflows

Verified
dotnet/skills / .agents/skills/authoring-github-workflows
6.3k

Author and review GitHub Actions workflow YAML safely so syntactically-valid YAML can't ship a workflow that GitHub Actions refuses to run. USE FOR: editing, adding, or reviewing any file under .github/workflows/, writing run-name/name/if/env/run values that contain ${{ }} expressions, diagnosing a run that fails with 'This run likely failed because of a workflow file issue' and no jobs starting,…

ACode 87/100Builder 3/10
npx skills add dotnet/skills --skill authoring-github-workflows

maui-collectionview

Verified
dotnet/skills / plugins/dotnet-maui/skills/maui-collectionview
6.3k

Guidance for implementing CollectionView in .NET MAUI apps — data display, layouts (list & grid), selection, grouping, scrolling, empty views, templates, incremental loading, swipe actions, and pull-to-refresh. USE FOR: "CollectionView", "list view", "grid layout", "data template", "item template", "grouping", "pull to refresh", "incremental loading", "swipe actions", "empty view", "selection mod…

ACode 87/100Builder 3/10
npx skills add dotnet/skills --skill maui-collectionview

vectorization

Verified
dotnet/skills / plugins/dotnet-advanced/skills/vectorization
6.3k

Design, implement, optimize, and review SIMD code in .NET. USE FOR: vectorizing scalar loops with TensorPrimitives, Vector64/128/256/512, or platform hardware intrinsics; reviewing existing SIMD code, including the generic Vector type, for contract equivalence, tail handling, memory safety, portability, fallbacks, and measured performance. DO NOT USE FOR: performance work unrelated to SIMD or vec…

ACode 87/100Builder 2/10
npx skills add dotnet/skills --skill vectorization

clr-activation-debugging

Verified
dotnet/skills / plugins/dotnet-diag/skills/clr-activation-debugging
6.3k

Diagnoses .NET Framework CLR activation issues using CLR activation logs (CLRLoad logs) produced by mscoree.dll. Use when: the shim picks the wrong runtime, fails to load any runtime, shows unexpected .NET 3.5 Feature-on-Demand (FOD) dialogs, unexpectedly does NOT show FOD dialogs, loads both v2 and v4 into the same process causing failures, or any time someone is wondering "what is happening wit…

ACode 86/100Builder 3/10
npx skills add dotnet/skills --skill clr-activation-debugging

create-datadriven-aspnetcore

Verified
dotnet/skills / plugins/dotnet-data/skills/create-datadriven-aspnetcore
6.3k

Generate or scaffold ASP.NET Core code — Razor Pages, Blazor components, MVC controllers, views, and Minimal API endpoints — without using ASP.NET Core CLI scaffolding/code-generation tools. Use when (1) adding CRUD pages, views, or API endpoints backed by Entity Framework (EF Core) and a database, (2) generating code to create, read, update, and delete data using a DbContext, (3) scaffolding UI…

ACode 86/100Builder 3/10
npx skills add dotnet/skills --skill create-datadriven-aspnetcore

exp-test-maintainability

Verified
dotnet/skills / plugins/dotnet-experimental/skills/exp-test-maintainability
6.3k

Detects duplicate boilerplate, copy-paste tests, and structural maintainability issues across .NET test suites. Use when the user asks to reduce repetition, consolidate similar test methods, convert copy-paste tests to data-driven parameterized tests, suggest a better test structure, or identify refactoring opportunities. Identifies repeated construction, assertion patterns, copy-paste methods co…

ACode 86/100Builder 2/10
npx skills add dotnet/skills --skill exp-test-maintainability

migrate-mstest-v1v2-to-v3

Verified
dotnet/skills / plugins/dotnet-test-migration/skills/migrate-mstest-v1v2-to-v3
6.3k

Use this skill before answering or editing whenever an MSTest v1/v2 project is being upgraded or repaired for v3. Triggers include QualityTools assembly references; MSTest.TestFramework/TestAdapter 1.x-2.x; "upgrade to MSTest v3"; comparing v1 and v2 migration paths; choosing MSTest or MSTest.Sdk; CS0411/CS1503 after a v3 package bump; DataRow type mismatch, MSTEST0014, or "Test data doesn't matc…

ACode 86/100Builder 4/10
npx skills add dotnet/skills --skill migrate-mstest-v1v2-to-v3

build-perf-diagnostics

Verified
dotnet/skills / plugins/dotnet-msbuild/skills/build-perf-diagnostics
6.3k

Diagnose MSBuild bottlenecks from binlog timelines and Target/Task Performance Summaries after baseline measurements. USE FOR: unknown build slowness, RAR >5s, analyzers >30% of Csc, a target >50% of build, node utilization below 80%, excessive Copy, restore overhead. DO NOT USE FOR: within-build duplicates (find-repeated-work-within-one-build), known repeated restores (eliminate-redundant-restor…

ACode 85/100Builder 3/10
npx skills add dotnet/skills --skill build-perf-diagnostics

grade-tests

Verified
dotnet/skills / plugins/dotnet-test/skills/grade-tests
6.3k

Grade curated individual tests for readiness, A-F quality and improvements. ALWAYS USE FOR: grade tests, review only a named test, per-test readiness or quality bands for supplied methods, bodies, file spans or bounded PR diffs, including existing tests. Return Pass/Failed/Uncertain/Not applicable; unresolved/empty scopes omit grades. Compose read-only per-test evidence. Polyglot. DO NOT USE FOR:…

ACode 85/100Builder 3/10
npx skills add dotnet/skills --skill grade-tests

resolve-project-references

Verified
dotnet/skills / plugins/dotnet-msbuild/skills/resolve-project-references
6.3k

Guide for interpreting ResolveProjectReferences time in MSBuild performance summaries. Activate when ResolveProjectReferences appears as the most expensive target and developers are trying to optimize it directly. Explains that the reported time includes wait time for dependent project builds and is misleading. Guides users to focus on task self-time instead. Do not activate for general build per…

ACode 85/100Builder 4/10
npx skills add dotnet/skills --skill resolve-project-references

template-authoring

Verified
dotnet/skills / plugins/dotnet-template-engine/skills/template-authoring
6.3k

Guides creation and validation of custom dotnet new templates from existing projects. Generates a .template.config/template.json that preserves the source project's conventions. USE FOR: creating a reusable dotnet new template from an existing project, bootstrapping .template.config/template.json with correct identity, shortName, parameters, and post-actions, adding parameters or conditional cont…

ACode 85/100Builder 4/10
npx skills add dotnet/skills --skill template-authoring

android-tombstone-symbolication

Verified
dotnet/skills / plugins/dotnet-diag/skills/android-tombstone-symbolication
6.3k

Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app crash from a tombstone, resolving native backtrace frames in libmonosgen-2.0.so…

BCode 84/100Builder 4/10
npx skills add dotnet/skills --skill android-tombstone-symbolication

detect-static-dependencies

Verified
dotnet/skills / plugins/dotnet-test/skills/detect-static-dependencies
6.3k

ACTIVATION PREREQUISITE: the request or discovered target must explicitly identify C#, .NET, `.cs`, or `.csproj`; otherwise stay dormant without invoking this skill. USE FOR: locating System.DateTime.Now/UtcNow, System.IO.File/Directory, System.Environment, HttpClient, Console, or Process usage in C#; auditing C# code for hard-to-test framework dependencies; or verifying those C# calls are alread…

BCode 84/100Builder 3/10
npx skills add dotnet/skills --skill detect-static-dependencies

dotnet-maui-doctor

Verified
dotnet/skills / plugins/dotnet-maui/skills/dotnet-maui-doctor
6.3k

Diagnoses and fixes .NET MAUI development environment issues. Validates .NET SDK, workloads, Java JDK, Android SDK, Xcode, and Windows SDK. All version requirements discovered dynamically from NuGet WorkloadDependencies.json — never hardcoded. Use when: setting up MAUI development, build errors mentioning SDK/workload/JDK/Android, "Android SDK not found", "Java version" errors, "Xcode not found",…

BCode 84/100Builder 3/10
npx skills add dotnet/skills --skill dotnet-maui-doctor

generate-testability-wrappers

Verified
dotnet/skills / plugins/dotnet-test/skills/generate-testability-wrappers
6.3k

DO NOT USE when the target already consumes an injected interface or built-in abstraction such as IFileSystem or TimeProvider, even if the request says "generate a wrapper"; no new wrapper is needed. Use only when C# source calls an ambient/static dependency and no injectable seam exists: first-time TimeProvider, IHttpClientFactory, or System.IO.Abstractions adoption; minimal Environment/Console/…

BCode 84/100Builder 2/10
npx skills add dotnet/skills --skill generate-testability-wrappers

crap-score

Verified
dotnet/skills / plugins/dotnet-test/skills/crap-score
6.3k

Calculates CRAP (Change Risk Anti-Patterns) for a named .NET method, class, or file. USE FOR: explicit CRAP calculation or coverage-and-complexity risk within that named target, including which tests to prioritize. DO NOT USE FOR: project-wide coverage/CRAP, plateaus, or project-wide blockers/priorities (coverage-analysis); behavioral/pseudo-mutation gaps (test-gap-analysis); writing tests; test…

BCode 83/100Builder 3/10
npx skills add dotnet/skills --skill crap-score

create-skill

Verified
dotnet/skills / .agents/skills/create-skill
6.3k

Scaffolds 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) o…

BCode 83/100Builder 2/10
npx skills add dotnet/skills --skill create-skill

create-skill-test

Verified
dotnet/skills / .agents/skills/create-skill-test
6.3k

Scaffolds eval.yaml evaluation specs for skills, custom agents, and redistributable gh-aw workflow packages in the dotnet/skills repository. Use when creating skill or workflow-package tests, writing evaluation stimuli, defining graders and rubrics, sizing an eval for statistical power, or setting up test fixture files. Handles the Vally eval.yaml schema, fixture organization, and overfitting avo…

BCode 83/100Builder 3/10
npx skills add dotnet/skills --skill create-skill-test

csharp-refactoring

Verified
dotnet/skills / plugins/dotnet/skills/csharp-refactoring
6.3k

Safely refactors C#/.NET code without changing behavior. USE FOR any request to refactor, rename, move, extract, inline, merge, consolidate, deduplicate, split, or modernize C# code, even a small extract, inline, or rename, or merging near-identical types; green builds miss drift in #if branches, generated partials, and reflection/config names. When a changed member is visible outside the assembl…

BCode 83/100Builder 3/10
npx skills add dotnet/skills --skill csharp-refactoring

migrate-mstest-v3-to-v4

Verified
dotnet/skills / plugins/dotnet-test-migration/skills/migrate-mstest-v3-to-v4
6.3k

Use this skill before answering, planning, or editing any MSTest 3.x-to-4.x upgrade or post-upgrade failure. Triggers include "MSTest v4 breaking changes"; CS0507/CS0103/CS1061/CS1615; ExecuteAsync, CallerInfo, DisplayName, or custom TestMethodAttribute; ClassCleanupBehavior; ContainsKey; ThrowsExactly or ExpectedException; IsInstanceOfType out parameters; TestTimeout.Infinite; removed TestContex…

BCode 83/100Builder 3/10
npx skills add dotnet/skills --skill migrate-mstest-v3-to-v4

test-anti-patterns

Verified
dotnet/skills / plugins/dotnet-test/skills/test-anti-patterns
6.3k

Audit a test file or suite; produce a severity-ranked diagnostic report. ALWAYS USE for tests that verify nothing, missing/tautological assertions, swallowed/broad exceptions, flaky/order-dependent tests, duplication, or magic values. Polyglot. DO NOT USE for direct edits: writing-mstest-tests owns supplied MSTest assertions/attributes/lifecycle; code-testing owns new tests. Exclude running tests…

BCode 83/100Builder 3/10
npx skills add dotnet/skills --skill test-anti-patterns

assertion-quality

Verified
dotnet/skills / plugins/dotnet-test/skills/assertion-quality
6.3k

Analyze assertion quality, depth, variety, and false confidence in existing tests. ALWAYS USE when asked about weak, shallow, trivial, always-true, self-referential, assertion-free, presence/truthiness-only, or insufficiently diverse assertions, including MSTest, Jest, pytest, and Go. DO NOT USE for direct fixes: writing-mstest-tests owns supplied MSTest assertions; code-testing owns new cases. U…

BCode 82/100Builder 2/10
npx skills add dotnet/skills --skill assertion-quality

Maintain this repository? Open a skill and import it into the Builder, free and without an account, to see what to fix to reach 80.

Open the Builder

Occupations: this page includes information from the O*NET 31.0 Database by the U.S. Department of Labor, Employment and Training Administration (USDOL/ETA). Used under the CC BY 4.0 license. O*NET® is a trademark of USDOL/ETA. SkillCheatSheet has modified all or some of this information. USDOL/ETA has not approved, endorsed, or tested these modifications. The areas are SkillCheatSheet’s own grouping, not O*NET’s.