dotnet/skills

Repository for skills to assist AI coding agents with .NET and C#

5.3kStars on the repository
60Mods indexed here, across every type
3d agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

dotnet/skills

Skill Claude CodeCodex

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…

5.3k 3d ago A 218 tokens original MIT

create-custom-agent

02

dotnet/skills

Skill Claude CodeCodex

Creates VS Code custom agent files (.agent.md) for specialized AI personas with tools, instructions, and handoffs. Use when scaffolding new custom agents, configuring agent workflows, or setting up agent-to-agent handoffs.

5.3k 3d ago A 48 tokens original MIT

create-skill-test

03

dotnet/skills

Skill Claude CodeCodex

Scaffolds eval.yaml evaluation specs for agent skills in the dotnet/skills repository. Use when creating skill 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…

5.3k 3d ago A 98 tokens original MIT

create-skill

04

dotnet/skills

Skill Claude CodeCodex

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…

5.3k 3d ago A 93 tokens original MIT

dotnet/skills

Skill Claude CodeCodex

Diagnoses and fixes skills in the dotnet/skills repository that lose to their own baseline, fail to activate, time out, or return "no credible improvement". Use when an evaluation verdict is a regression or underpowered, when a skill regressed after a change, when /evaluate reports no results, or when deciding whether…

5.3k 3d ago A 108 tokens original MIT

agentic-workflows

06

dotnet/skills

Skill Claude CodeCodex

Route gh-aw workflow design/create/debug/upgrade requests to the right prompts.

5.3k 3d ago A 20 tokens copy · 100% MIT

no-eval-skill

07

dotnet/skills

Skill Claude CodeCodex

A skill with no eval.yaml for testing discovery behavior.

5.3k 3d ago A 17 tokens original MIT

sample-skill

08

dotnet/skills

Skill Claude CodeCodex

A sample skill for testing the validator. Helps with greeting generation.

5.3k 3d ago A 17 tokens original MIT

csharp-scripts

09

dotnet/skills

Skill Claude CodeCodex

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…

5.3k 3d ago A 104 tokens original MIT

dotnet-pinvoke

10

dotnet/skills

Skill Claude CodeCodex

Correctly call native (C/C++) libraries from .NET using P/Invoke and LibraryImport. Covers function signatures, string marshalling, memory lifetime, SafeHandle, and cross-platform patterns. USE FOR: writing new P/Invoke or LibraryImport declarations, reviewing or debugging existing native interop code, wrapping a C or…

5.3k 3d ago A 119 tokens original MIT

dotnet/skills

Skill Claude CodeCodex

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…

5.3k 3d ago A 111 tokens original MIT

vectorization

12

dotnet/skills

Skill Claude CodeCodex

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 Vector , for contract equivalence, tail handling, memory safety, portability, fallbacks, and measured…

5.3k 3d ago A 87 tokens original MIT

dotnet/skills

Skill Claude CodeCodex

Guides technology selection and implementation of AI and ML features in .NET 8+ applications using ML.NET, Microsoft.Extensions.AI (MEAI), Microsoft Agent Framework (MAF), GitHub Copilot SDK, ONNX Runtime, and OllamaSharp. Covers the full spectrum from classic ML through modern LLM orchestration to local inference.…

5.3k 3d ago A 193 tokens original MIT

dotnet/skills

Skill Claude CodeCodex

Configure OpenTelemetry distributed tracing, metrics, and logging in ASP.NET Core using the .NET OpenTelemetry SDK. Use when adding observability, setting up OTLP exporters, creating custom metrics/spans, or troubleshooting distributed trace correlation.

5.3k 3d ago A 55 tokens original MIT

dotnet/skills

Skill Claude CodeCodex

Guides conversion of a pre-.NET 8 Blazor Server app into a .NET 8+ Blazor Web App. USE FOR: migrating apps that use AddServerSideBlazor and MapBlazorHub to the AddRazorComponents/MapRazorComponents model, converting Host.cshtml to an App.razor root component, replacing blazor.server.js with blazor.web.js, migrating…

5.3k 3d ago A 176 tokens original MIT

dotnet-webapi

16

dotnet/skills

Skill Claude CodeCodex

Guides creation and modification of ASP.NET Core Web API endpoints with correct HTTP semantics, OpenAPI metadata, and error handling. USE FOR: adding new API endpoints (controllers or minimal APIs), wiring up OpenAPI/Swagger, creating .http test files, setting up global error handling middleware. DO NOT USE FOR…

5.3k 3d ago A 105 tokens original MIT

author-component

18

dotnet/skills

Skill Claude CodeCodex

Create or review Blazor components (.razor files) with correct architecture. USE FOR: writing new Blazor components that do NOT involve JavaScript interop, implementing parameters and EventCallback, RenderFragment slots, component lifecycle (OnInitializedAsync, OnParametersSet), async patterns, IAsyncDisposable…

5.3k 3d ago A 148 tokens original MIT

collect-user-input

19

dotnet/skills

Skill Claude CodeCodex

Build forms, validate data, and react to user input in Blazor. USE FOR adding forms, search boxes, filter panels, inline editing, data-entry UI, file uploads, validation (annotations or custom), handling form submissions, and binding input controls. Covers EditForm, built-in input components, DataAnnotationsValidator…

5.3k 3d ago A 126 tokens original MIT

configure-auth

20

dotnet/skills

Skill Claude CodeCodex

Add authentication and authorization to a Blazor Web App, accounting for the app's render mode. USE WHEN the user needs [Authorize] on pages, AuthorizeView, role or policy-based access, login/logout Identity pages, or AuthenticationStateProvider. Also USE WHEN auth state is null after WebAssembly loads, SignInManager…

5.3k 3d ago A 137 tokens original MIT

dotnet/skills

Skill Claude CodeCodex

Share state between components that don't have a direct parent-child parameter relationship, using cascading values, scoped services with change events, or CascadingValueSource via DI. USE WHEN the user needs a CascadingParameter or CascadingValue that works across render mode boundaries, a shopping cart or…

5.3k 3d ago A 182 tokens original MIT

dotnet/skills

Skill Claude CodeCodex

Create 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…

5.3k 3d ago A 104 tokens original MIT

fetch-and-send-data

23

dotnet/skills

Skill Claude CodeCodex

Call APIs, load data into components, and handle the async lifecycle in Blazor. USE FOR fetching data from a backend, submitting data to an API, displaying loading/error states, registering HttpClient, building service abstractions for Auto/WebAssembly render modes. DO NOT USE for form validation (see…

5.3k 3d ago A 91 tokens original MIT

plan-ui-change

24

dotnet/skills

Skill Claude CodeCodex

Plan complex Blazor UI features by decomposing them into focused components. USE FOR: building a complex Blazor page with multiple sections, planning component decomposition, designing a multi-section dashboard or layout, breaking down a large UI feature into composable components, pages with sidebars and content…

5.3k 3d ago A 136 tokens original MIT