Repository
dotnet/skills agent skills
- skills
- 91
- official
- 91
- GitHub stars
- 5.6k
GitHub description: “Repository for skills to assist AI coding agents with .NET and C#”
- Stars
- 5,568 (427 forks)
- Licence
- MIT
- Last push
- Oct 2026
- Created
- Feb 2026
- Source
- github.com/dotnet/skills
- agent-skills
Install all skills
npx skills add dotnet/skillsAdd --skill <name> for a single skill and -a <agent> to choose the agent (see the agent guides).
Skills in dotnet/skills, ranked
Ranked by score. Sort bymost stars,trending,newest,recently updated
| # | Skill | Repository | Stars | Used in | Tokens | Auto-check | Licence | Updated |
|---|---|---|---|---|---|---|---|---|
| 1 | Resolves .NET runtime frames in Apple .ips crash logs to function names, source files and line numbers using dSYM symbols, atos and the Microsoft symbol server. | dotnet/ | 5.6k | 1 repo | ~2.4k | Automated safety check: Pass | MIT | today |
| 2 | Resolves native crash frames from .NET Android tombstones to function names, source files and line numbers using BuildIds, Microsoft's symbol server and llvm-symbolizer. | dotnet/ | 5.6k | 1 repo | ~2.1k | Automated safety check: Pass | MIT | today |
| 3 | Scans C# and .NET code for about 50 performance anti-patterns and reports prioritized findings with concrete fixes, at a scan depth you choose. | dotnet/ | 5.6k | 3 repos | ~3.1k | Automated safety check: Pass | MIT | today |
| 4 | Statically pairs source files with test files to list code that no test references, using Roslyn for C# or tree-sitter for many languages, with no build. | dotnet/ | 5.6k | 1 repo | ~3.3k | Automated safety check: Pass | MIT | today |
| 5 | Activate this skill when BenchmarkDotNet (BDN) is involved in the task — creating, running, configuring, or reviewing BDN benchmarks. | dotnet/ | 5.6k | 3 repos | ~3.3k | Automated safety check: Pass | MIT | today |
| 6 | Makes .NET projects compatible with Native AOT and trimming by resolving IL trim and AOT analyzer warnings through annotations rather than suppressions. | dotnet/ | 5.6k | 2 repos | ~4.2k | Automated safety check: Pass | MIT | today |
| 7 | Configures automatic crash dumps or captures dumps from running processes for modern .NET apps on Linux, macOS and Windows, including Docker and Kubernetes. | dotnet/ | 5.6k | 2 repos | ~1.1k | Automated safety check: Pass | MIT | today |
| 8 | Migrate a .NET 8 project to .NET 9 and resolve all breaking changes. | dotnet/ | 5.6k | 2 repos | ~3.9k | Automated safety check: Pass | MIT | today |
| 9 | Migrate a .NET 9 project or solution to .NET 10 and resolve all breaking changes. | dotnet/ | 5.6k | 2 repos | ~4.8k | Automated safety check: Pass | MIT | today |
| 10 | Set up NuGet trusted publishing (OIDC) on a GitHub Actions repo — replaces long-lived API keys with short-lived tokens. | dotnet/ | 5.6k | 2 repos | ~2.3k | Automated safety check: Pass | MIT | today |
| 11 | Writes and reviews Blazor .razor components with correct parameters, EventCallback, lifecycle, async and disposal patterns, for components that need no JavaScript interop. | dotnet/ | 5.6k | 1 repo | ~830 | Automated safety check: Pass | MIT | today |
| 12 | Interprets .NET coverage reports to explain line and branch gaps, target arithmetic and, on request, CRAP-based risk hotspots, without rerunning tests. | dotnet/ | 5.6k | 1 repo | ~2.8k | Automated safety check: Pass | MIT | today |
| 13 | Creates VS Code custom agent files (.agent.md) for specialized AI personas with tools, instructions, and handoffs. | dotnet/ | 5.6k | 2 repos | ~1.9k | Automated safety check: Pass | MIT | today |
| 14 | Enable nullable reference types in a C project and systematically resolve all warnings. | dotnet/ | 5.6k | 2 repos | ~8.9k | Automated safety check: Pass | MIT | today |
| 15 | 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… | dotnet/ | 5.6k | 2 repos | ~2.1k | Automated safety check: Pass | MIT | today |
| 16 | Refactors C# and .NET code without changing behavior, using binding-aware edits plus a build and tests, and separating out or declining anything that alters behavior. | dotnet/ | 5.6k | 1 repo | ~3.1k | Automated safety check: Pass | MIT | today |
| 17 | Diagnoses and fixes .NET MAUI development environments by checking the .NET SDK, workloads, JDK, Android SDK, Xcode and Windows SDK against requirements read from NuGet. | dotnet/ | 5.6k | 1 repo | ~2.4k | Automated safety check: Pass | MIT | today |
| 18 | Helps write, review and debug .NET declarations that call native C and C++ libraries, covering signatures, string marshalling, memory lifetime and SafeHandle. | dotnet/ | 5.6k | 1 repo | ~4.8k | Automated safety check: Pass | MIT | today |
| 19 | 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". | dotnet/ | 5.6k | 1 repo | ~3.6k | Automated safety check: Pass | MIT | today |
| 20 | .NET MAUI app lifecycle guidance — the four app states, cross-platform Window lifecycle events (Created, Activated, Deactivated, Stopped, Resumed, Destroying), platform-specific lifecycle mapping… | dotnet/ | 5.6k | 1 repo | ~2.3k | Automated safety check: Pass | MIT | today |
| 21 | Guidance for implementing CollectionView in .NET MAUI apps — data display, layouts (list & grid), selection, grouping, scrolling, empty views, templates, incremental loading, swipe actions, and… | dotnet/ | 5.6k | 1 repo | ~5k | Automated safety check: Pass | MIT | today |
| 22 | Guidance for .NET MAUI XAML and C data bindings — compiled bindings, INotifyPropertyChanged / ObservableObject, value converters, binding modes, multi-binding, relative bindings, fallbacks, and MVVM… | dotnet/ | 5.6k | 1 repo | ~3.7k | Automated safety check: Pass | MIT | today |
| 23 | Guidance for configuring dependency injection in .NET MAUI apps — service registration in MauiProgram.cs, lifetime selection (Singleton / Transient / Scoped), constructor injection, Shell navigation… | dotnet/ | 5.6k | 1 repo | ~3.6k | Automated safety check: Pass | MIT | today |
| 24 | .NET MAUI safe area and edge-to-edge layout guidance for .NET 10+. | dotnet/ | 5.6k | 1 repo | ~3.2k | Automated safety check: Pass | MIT | today |
| 25 | Guide for implementing Shell-based navigation in .NET MAUI apps. | dotnet/ | 5.6k | 1 repo | ~3.8k | Automated safety check: Pass | MIT | today |
| 26 | Guide for theming .NET MAUI apps — light/dark mode via AppThemeBinding, ResourceDictionary theme switching, DynamicResource bindings, system theme detection, and user theme preferences. | dotnet/ | 5.6k | 1 repo | ~4.1k | Automated safety check: Pass | MIT | today |
| 27 | Migrate a .NET 10 project or solution to .NET 11 and resolve all breaking changes. | dotnet/ | 5.6k | 1 repo | ~3.6k | Automated safety check: Pass | MIT | today |
| 28 | Convert .NET tests from NUnit 3/4 to MSTest v4 while preserving VSTest or MTP. | dotnet/ | 5.6k | 1 repo | ~3.8k | Automated safety check: Pass | MIT | today |
| 29 | Convert .NET tests from xUnit.net v2/v3 to MSTest v4 while preserving VSTest or MTP. | dotnet/ | 5.6k | 1 repo | ~3.9k | Automated safety check: Pass | MIT | today |
| 30 | DO NOT INVOKE when the primary request explicitly asks to convert, migrate, modernize, or rewrite a legacy/old-style project to SDK style; use msbuild-modernization. | dotnet/ | 5.6k | 1 repo | ~4.8k | Automated safety check: Pass | MIT | today |
| 31 | Identify a .NET project's test platform, framework, command mode, and SDK-style vs classic project system. | dotnet/ | 5.6k | 1 repo | ~3.3k | Automated safety check: Pass | MIT | today |
| 32 | ALWAYS USE when asked to fix, rewrite, update, improve, modernize, show corrected code for, or explain existing MSTest tests or MSTest-specific configuration. | dotnet/ | 5.6k | 1 repo | ~5k | Automated safety check: Pass | MIT | today |
| 33 | Guides creation and modification of ASP.NET Core Web API endpoints with correct HTTP semantics, OpenAPI metadata, and error handling. | dotnet/ | 5.6k | 2 repos | ~5.5k | Automated safety check: Pass | MIT | today |
| 34 | Create a new ASP.NET Core web application or web site using Blazor. | dotnet/ | 5.6k | 1 repo | ~3k | Automated safety check: Pass | MIT | today |
| 35 | Guide developers through capturing diagnostic artifacts to diagnose production .NET performance issues. | dotnet/ | 5.6k | 2 repos | ~6.1k | Automated safety check: Pass | MIT | today |
| 36 | Analyze assertion quality, depth, variety, and false confidence in existing tests. | dotnet/ | 5.6k | 1 repo | ~4.8k | Automated safety check: Pass | MIT | today |
| 37 | Author and review GitHub Actions workflow YAML safely so syntactically-valid YAML can't ship a workflow that GitHub Actions refuses to run. | dotnet/ | 5.6k | 1 repo | ~2.3k | Automated safety check: Pass | MIT | today |
| 38 | Establish MSBuild/.NET build performance baselines before optimizing. | dotnet/ | 5.6k | 1 repo | ~3.6k | Automated safety check: Pass | MIT | today |
| 39 | Diagnoses .NET Framework CLR activation issues using CLR activation logs (CLRLoad logs) produced by mscoree.dll. | dotnet/ | 5.6k | 1 repo | ~5.2k | Automated safety check: Pass | MIT | today |
| 40 | ALWAYS USE whenever asked to write, add, or generate unit tests for existing code in xUnit, MSTest, NUnit, pytest, Vitest/Jest, Go, or another framework, including "tests only for" one helper… | dotnet/ | 5.6k | 1 repo | ~4.7k | Automated safety check: Pass | MIT | today |
| 41 | Build forms, validate data, and react to user input in Blazor. | dotnet/ | 5.6k | 1 repo | ~3.2k | Automated safety check: Pass | MIT | today |
| 42 | Add authentication and authorization to a Blazor Web App, accounting for the app's render mode. | dotnet/ | 5.6k | 1 repo | ~1.8k | Automated safety check: Pass | MIT | today |
| 43 | Guides conversion of a pre-.NET 8 Blazor Server app into a .NET 8+ Blazor Web App. | dotnet/ | 5.6k | 1 repo | ~3.9k | Automated safety check: Pass | MIT | today |
| 44 | 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. | dotnet/ | 5.6k | 1 repo | ~2.5k | Automated safety check: Pass | MIT | today |
| 45 | Choosing an MSBuild CopyToOutputDirectory / CopyToPublishDirectory mode: Never, PreserveNewest, Always, and IfDifferent (MSBuild 17.13+), plus $(SkipUnchangedFilesOnCopyAlways). | dotnet/ | 5.6k | 1 repo | ~1.8k | Automated safety check: Pass | MIT | today |
| 46 | Calculates CRAP (Change Risk Anti-Patterns) for a named .NET method, class, or file. | dotnet/ | 5.6k | 1 repo | ~3.4k | Automated safety check: Pass | MIT | today |
| 47 | 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. | dotnet/ | 5.6k | 1 repo | ~3.2k | Automated safety check: Pass | MIT | today |
| 48 | Scaffolds new agent skills for the dotnet/skills repository. | dotnet/ | 5.6k | 1 repo | ~2.7k | Automated safety check: Pass | MIT | today |
Questions, answered from the data.
What is the best skill in dotnet/skills?
Apple Crash Log .NET Symbolication (official) from dotnet/skills ranks first of the 91 skills in dotnet/skills listed here, with the highest score: its repository has 5.6k GitHub stars, 1 other GitHub owner carry a copy, its SKILL.md loads about 2.4k tokens and it passes the automated safety check with no findings. Next come Android Tombstone Symbolication and Analyzing .NET Performance.
Are the skills in dotnet/skills official?
91 of the 91 skills in dotnet/skills are official, published by the vendor's own GitHub organization: Apple Crash Log .NET Symbolication, Android Tombstone Symbolication, Analyzing .NET Performance, Find Untested Sources, Microbenchmarking and 86 more.
How do I install all skills from dotnet/skills?
Run npx skills add dotnet/skills in your project: the open-source skills CLI installs the repository's skills into your coding agent's skills folder. To install a single skill, open its page here for the exact command.
How are these skills ranked?
By Skill Navigator score, which combines the GitHub stars of the skill's repository (shared across that repo's skills and discounted for large collections), how many other GitHub owners carry a copy of the skill, and automated SKILL.md quality checks, minus penalties for safety-check warnings and for each further skill from the same repository. Skills that fail the safety check are not listed.