Skip to content
alyn
dotnet

skills

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

$npx skills add dotnet/skills
Stars
5,895
Installs
439k
Forks
465
Updated
1 h ago
License
MIT

dotnet

Skills

Open on GitHub

About the author

dotnet

113 skills in this pack.

dotnet

Skills

75
dotnet

analyzing-dotnet-performance

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…

Pack5.9k439kCoding

dotnet

Skills

75
dotnet

apple-crash-symbolication

Symbolicate .NET runtime frames in Apple platform .ips crash logs (iOS, tvOS, Mac Catalyst, macOS). Extracts UUIDs and addresses from the native backtrace, locates dSYM debug symbols, and…

Pack5.9k439kCoding

dotnet

Skills

75
dotnet

clr-activation-debugging

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…

Pack5.9k439kCoding

dotnet

Skills

75
dotnet

create-blazor-project

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…

Pack5.9k439kWeb development

dotnet

Skills

75
dotnet

dotnet-pinvoke

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…

Pack5.9k439kCoding

dotnet

Skills

75
dotnet

dotnet-trace-collect

Guide developers through capturing diagnostic artifacts to diagnose production .NET performance issues. Use when the user needs help choosing diagnostic tools, collecting performance data…

Pack5.9k439kCoding

dotnet

Skills

75
dotnet

improve-skill-quality

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…

Pack5.9k439kCoding

dotnet

Skills

75
dotnet

nuget-trusted-publishing

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…

Pack5.9k439kDevOps

dotnet

Skills

75
dotnet

technology-selection

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…

Pack5.9k439kAI engineering

dotnet

Skills

73
dotnet

android-tombstone-symbolication

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…

Pack5.9k439kMobile

dotnet

Skills

73
dotnet

authoring-github-workflows

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…

Pack5.9k439kAutomation

dotnet

Skills

73
dotnet

collect-user-input

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…

Pack5.9k439kDocuments

dotnet

Skills

73
dotnet

configure-auth

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…

Pack5.9k439kBackend

dotnet

Skills

73
dotnet

convert-blazor-server-to-webapp

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

Pack5.9k439kWeb development

dotnet

Skills

73
dotnet

coordinate-components

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…

Pack5.9k439kCoding

dotnet

Skills

73
dotnet

create-custom-agent

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…

Pack5.9k439kCoding

dotnet

Skills

73
dotnet

create-datadriven-aspnetcore

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…

Pack5.9k439kBackend

dotnet

Skills

73
dotnet

create-skill

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…

Pack5.9k439kAI engineering

dotnet

Skills

73
dotnet

create-skill-test

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…

Pack5.9k439kTesting

dotnet

Skills

73
dotnet

csharp-scripts

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

Pack5.9k439kCoding

dotnet

Skills

73
dotnet

dotnet-webapi

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…

Pack5.9k439kBackend

dotnet

Skills

73
dotnet

dump-collect

Configure and collect crash dumps for modern .NET applications. USE FOR: enabling automatic crash dumps for CoreCLR or NativeAOT, capturing dumps from running .NET processes, setting up…

Pack5.9k439kCoding

dotnet

Skills

73
dotnet

fetch-and-send-data

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…

Pack5.9k439kCoding

dotnet

Skills

73
dotnet

optimizing-ef-core-queries

Review and optimize application data access that uses Entity Framework Core (EF Core). Use for EF Core performance and correctness reviews of services, repositories, imports, and background…

Pack5.9k439kCoding

dotnet

Skills

73
dotnet

plan-ui-change

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…

Pack5.9k439kDesign

dotnet

Skills

73
dotnet

support-prerendering

Make interactive Blazor components work correctly with prerendering. USE FOR fixing duplicate data loads, UI flicker during prerender-to-interactive handoff, null references during…

Pack5.9k439kCoding

dotnet

Skills

73
dotnet

use-js-interop

Add, review, or fix JavaScript interop in Blazor components. USE FOR: calling JavaScript from Blazor, calling .NET from JavaScript, collocated .razor.js modules, IJSRuntime…

Pack5.9k439kCoding

dotnet

Skills

73
dotnet

vectorization

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…

Pack5.9k439kCoding

dotnet

Skills

71
dotnet

author-component

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…

Pack5.9k439kCoding

dotnet

Skills

71
dotnet

use-igniteui-blazor

Add, configure, or review Ignite UI for Blazor Lite component support in Blazor applications. USE FOR: installing IgniteUI.Blazor.Lite or IgniteUI.Blazor.GridLite, registering…

Pack5.9k439kCoding

Showing 30 of 113. See the full pack on GitHub.

From the README

How to use skills

.NET Agent Skills

Dashboard

This repository contains the .NET team's curated set of portable skills and host-specific custom agents for coding agents. For information about the Agent Skills standard, see agentskills.io.

[!TIP] Compare skill value: Open the Skill Value dashboard See token use, elapsed time, activation, and not-passed rates by plugin, skill, executor model, and judge model.

Plugin support is component-specific:

  • Skills and MCP servers are the portable component types defined by Agent Plugins 1.0.
  • Files under agents/*.agent.md use GitHub Copilot custom-agent conventions. They are not installed as native OpenAI Codex agents.
  • Native Codex agents use .codex/agents/*.toml. This repository does not currently ship them because Codex plugin installation does not place agent files in those discovery locations.

What's Included

Plugin Description
dotnet High-level .NET development skills plus C# language server (LSP) integration for hosts that support it.
dotnet-advanced Collection of .NET skills for handling specific .NET tasks for special scenarios.
dotnet-data Skills for .NET data access and Entity Framework related tasks.
dotnet-diag Skills for .NET performance investigations, debugging, and incident analysis.
dotnet-msbuild Comprehensive MSBuild and .NET build skills: failure diagnosis, performance optimization, code quality, and modernization.
dotnet-nuget NuGet and .NET package management: dependency management and modernization.
dotnet-upgrade Skills for migrating and upgrading .NET projects across framework versions, language features, and compatibility targets.
dotnet-maui Skills for .NET MAUI development: environment setup, diagnostics, and troubleshooting.
dotnet-ai AI and ML skills for .NET: technology selection, LLM integration, agentic workflows, RAG pipelines, MCP, and classic ML with ML.NET.
dotnet-template-engine .NET Template Engine skills: template discovery, project scaffolding, and template authoring.
dotnet-test Skills for running, generating, analyzing, and improving .NET tests: test execution, filtering, platform detection, coverage, testability, and MSTest workflows.
dotnet-test-migration Skills and a GitHub Copilot orchestrator agent for migrating .NET test frameworks and platforms: MSTest and xUnit version upgrades, xUnit-to-MSTest conversion, and VSTest to Microsoft.Testing.Platform.
dotnet-aspnetcore ASP.NET Core web development skills including middleware, endpoints, real-time communication, and API patterns.
dotnet-blazor Skills for Blazor development: component authoring, interactivity, and web application patterns.
dotnet-winforms Skills for Windows Forms development: project setup, UI design, data binding, accessibility, and modern .NET practices.
dotnet11 Skills for new .NET 11 APIs and language features.

Agentic Workflows

Reusable GitHub Agentic Workflows are published under agentic-workflows/. Install the complete collection with gh aw add-wizard dotnet/skills/agentic-workflows@main, or install an individual package using the command in its README.

Installation

🚀 Plugins - Copilot CLI / Claude Code

  1. Launch Copilot CLI or Claude Code
  2. Add the marketplace:
    /plugin marketplace add dotnet/skills
    
  3. Install a plugin:
    /plugin install <plugin>@dotnet-agent-skills
    
  4. Restart to load the new plugins
  5. View available skills:
    /skills
    
  6. View available agents:
    /agents
    
  7. Update plugin (on demand):
    /plugin update <plugin>@dotnet-agent-skills
    

VS Code / VS Code Insiders (Preview)

[!IMPORTANT]
VS Code plugin support is a preview feature and subject to change. You may need to enable it first.

// settings.json
{
  "chat.plugins.enabled": true,
  "chat.plugins.marketplaces": ["dotnet/skills"]
}

Once configured, type /plugins in Copilot Chat or use the @agentPlugins filter in Extensions to browse and install plugins from the marketplace.

Cursor

This repository is a Cursor plugin marketplace. You can discover and install published plugins directly in Cursor:

  1. Open the marketplace panel in Cursor
  2. Search for .NET or browse cursor.com/marketplace
  3. Install the desired plugins

For local development or unpublished changes, import plugins from a local checkout:

  1. Copy or symlink your local checkout to ~/.cursor/plugins/local/dotnet-agent-skills
  2. Restart Cursor or run Developer: Reload Window

Codex CLI

Skills in this repository follow the agentskills.io open standard and are compatible with OpenAI Codex.

Codex plugin installs expose the skills and any Codex-compatible MCP servers declared by the plugin. They do not expose the repository's GitHub Copilot .agent.md files, their static handoffs, or host-specific LSP declarations. Use Codex's built-in dynamic subagent delegation instead. Native Codex custom agents are a separate configuration mechanism documented under multi-agent workflows. OpenAI Agents SDK handoffs are an application-level transfer between SDK-defined agents; they are separate from both Copilot's static UI handoff metadata and Codex plugin or custom-agent packaging.

Codex CLI v0.121.0 and later supports a plugin marketplace. This repository ships a Codex-native marketplace manifest at .agents/plugins/marketplace.json, so you can register dotnet/skills as a marketplace and install plugins from it directly.

  1. Add the marketplace:
    codex plugin marketplace add dotnet/skills
    
  2. Launch Codex and open the plugin browser:
    /plugins
    
  3. Browse the dotnet-agent-skills tab and install the desired plugins.
  4. Update plugins on demand:
    codex plugin marketplace upgrade dotnet-agent-skills
    
Individual skills

You can also install individual skills using the skill-installer CLI with the GitHub URL:

$ skill-installer install https://github.com/dotnet/skills/tree/main/plugins/<plugin>/skills/<skill-name>

Contributing

See CONTRIBUTING.md for contribution guidelines and how to add a new plugin.

License

See LICENSE for details.

Questions

What is dotnet/skills?

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

How do I install skills?

Run "npx skills add dotnet/skills" and choose the skills you want. Many packs also document their own install path (for example a Claude Code plugin marketplace) in the README below.

How many skills are in skills?

113 SKILL.md skills. Alyn lists 30 of them with their own pages.