Language
C# agent skills for Claude Code, Codex and other agents.
- skills
- 425
- official
- 71
- Type
- Language
- Website
- learn.microsoft.com
- Official GitHub
- dotnet
C# skills, ranked
Ranked by score. Sort bymost stars,trending,newest,recently updated
| # | Skill | Repository | Stars | Used in | Tokens | Auto-check | Licence | Updated |
|---|---|---|---|---|---|---|---|---|
| 1 | 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 |
| 2 | A skill your agent uses when adding a new RCS diagnostic in roslynator (RCS0 formatting, RCS1 general, RCS9 code-analysis), wiring roslynator EditorConfig options, or when docs say CHANGELOG.md… | dotnet/ | 3.5k | — | ~1.3k | Automated safety check: Pass | Unknown | 2 days ago |
| 3 | Review dotnet/macios PRs against established rules. An agent skill from dotnet/macios. | dotnet/ | 2.9k | — | ~1.7k | Automated safety check: Pass | Unknown | 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 | A skill your agent uses when adding a Roslynator code fix for C compiler error CS or RCF, editing Diagnostics.xml or CodeFixes.xml, or when compiler-diagnostic-fixes-testing.md shows… | dotnet/ | 3.5k | — | ~1k | Automated safety check: Pass | Unknown | 2 days ago |
| 6 | Investigate and triage CI failures for dotnet/macios from Azure DevOps build URLs. | dotnet/ | 2.9k | — | ~2.3k | Automated safety check: Pass | Unknown | today |
| 7 | A skill your agent uses when adding a new RR refactoring in roslynator, editing Refactorings.xml, registering in RefactoringContext, or when refactorings-testing.md shows XunitRefactoringVerifier —… | dotnet/ | 3.5k | — | ~946 | Automated safety check: Pass | Unknown | 2 days ago |
| 8 | Create and evaluate VS Code file-based instructions (.instructions.md files). | dotnet/ | 15k | — | ~1.3k | Automated safety check: Pass | MIT | today |
| 9 | Update dotnet/macios to a new Xcode beta and validate it end-to-end. | dotnet/ | 2.9k | — | ~1.8k | Automated safety check: Pass | Unknown | today |
| 10 | A skill your agent uses when fixing a Roslynator analyzer false positive or false negative, RCS, RR, or CS/RCF regression, incorrect diagnostic reporting, or bug report citing a specific rule id —… | dotnet/ | 3.5k | — | ~1.1k | Automated safety check: Pass | Unknown | 2 days ago |
| 11 | Roll Playwright .NET to a new version | microsoft/ | 3k | — | ~1.9k | Automated safety check: Pass | MIT | today |
| 12 | A skill your agent uses when shipping a roslynator release, rolling CHANGELOG.md [Unreleased], updating the VS Code extension changelog, creating a GitHub v release, or optionally tagging cli-v. | dotnet/ | 3.5k | — | ~1k | Automated safety check: Pass | Unknown | 2 days ago |
| 13 | Migrate Python apps from Azure OpenAI Chat Completions to the Responses API. | microsoft/ | 77k | — | ~6k | Automated safety check: Notes | MIT | 18 days ago |
| 14 | Investigate and fix flaky/random CI test failures in dotnet/macios. | dotnet/ | 2.9k | — | ~1.3k | Automated safety check: Pass | Unknown | today |
| 15 | 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 |
| 16 | Manage stacked branches and pull requests with the gh-stack GitHub CLI extension. | dotnet/ | 2.9k | 2 repos | ~10k | Automated safety check: Pass | Unknown | today |
| 17 | Create C bindings for Apple frameworks in dotnet/macios. An agent skill from dotnet/macios. | dotnet/ | 2.9k | — | ~7.3k | Automated safety check: Pass | Unknown | today |
| 18 | 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 |
| 19 | A skill your agent uses when obsoleting or retiring RCS, RR, or RCF in roslynator, replacing an analyzer with another id, or when tempted to use IsObsolete on an Analyzer entry — analyzers use… | dotnet/ | 3.5k | — | ~511 | Automated safety check: Pass | Unknown | 2 days ago |
| 20 | Post-mortem analysis of CI failures across recent PRs in dotnet/macios. | dotnet/ | 2.9k | — | ~7.8k | Automated safety check: Pass | Unknown | today |
| 21 | Shift Python apps dem from Azure OpenAI Chat Completions go Responses API. | microsoft/ | 77k | — | ~6k | Automated safety check: Notes | MIT | 18 days ago |
| 22 | Comprehensive tier assessment for an MCP SDK repository against SEP-1730. | modelcontextprotocol/ | 129 | — | ~4.4k | Automated safety check: Pass | Unknown | 2 days ago |
| 23 | Download updated expected app size files from Azure DevOps CI artifacts for the current branch. | dotnet/ | 2.9k | — | ~1.5k | Automated safety check: Pass | Unknown | today |
| 24 | Reviews C changes in the ImageBuilder codebase against the repo's modern C conventions and invariants. | dotnet/ | 181 | — | ~793 | Automated safety check: Pass | MIT | today |
| 25 | 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 |
| 26 | Fix MSBuild targets that generate files during the build but those files are missing from compilation or output. | microsoft/ | 1k | 2 repos | ~1.8k | Automated safety check: Pass | MIT | today |
| 27 | 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 |
| 28 | Write, validate, and improve XML documentation comments in C source code. | dotnet/ | 2.9k | — | ~580 | Automated safety check: Pass | Unknown | today |
| 29 | 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 |
| 30 | 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 |
| 31 | .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 |
| 32 | 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 |
| 33 | 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 |
| 34 | 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 |
| 35 | 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 |
| 36 | Run file-based C apps with the .NET CLI when the user explicitly wants C/.NET code without creating a project. | dotnet/ | 5.6k | 1 repo | ~2.9k | Automated safety check: Pass | MIT | today |
| 37 | ACTIVATION PREREQUISITE: the request or discovered target must explicitly identify C, .NET, .cs, or .csproj; otherwise stay dormant without invoking this skill. | dotnet/ | 5.6k | 1 repo | ~3.8k | Automated safety check: Pass | MIT | today |
| 38 | 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. | dotnet/ | 5.6k | 1 repo | ~3.9k | Automated safety check: Pass | MIT | today |
| 39 | ALWAYS USE when asked to migrate, replace, or make testable existing C static calls with a named wrapper or built-in abstraction: DateTime.UtcNow/Now or DateTimeOffset.UtcNow to TimeProvider/IClock… | dotnet/ | 5.6k | 1 repo | ~5.2k | Automated safety check: Pass | MIT | today |
| 40 | Helps find, inspect, and compare (at a high level) .NET project templates. | dotnet/ | 5.6k | 1 repo | ~3.1k | Automated safety check: Pass | MIT | today |
| 41 | MUST USE for C/.NET deterministic tests that require the smallest production seam for DateTime/Task.Delay/File/Environment/Guid/Random, static API preservation, nested/parallel overrides, or no real… | dotnet/ | 5.6k | 1 repo | ~3.6k | Automated safety check: Pass | MIT | today |
| 42 | Add, review, or fix JavaScript interop in Blazor components. | dotnet/ | 5.6k | 1 repo | ~2.7k | Automated safety check: Pass | MIT | today |
| 43 | A skill your agent uses when the user asks about using Gemini in an enterprise environment or explicitly mentions Vertex AI, Google Cloud, or Agent Platform. | google/ | 21k | 3 repos | ~2.6k | Automated safety check: Pass | Apache-2.0 | today |
| 44 | Azure AI Search SDK for .NET (Azure.Search.Documents). An agent skill from microsoft/skills. | microsoft/ | 3.1k | 6 repos | ~2.6k | Automated safety check: Pass | MIT | yesterday |
| 45 | Use only for MSBuild failure investigation, build-performance analysis, or review of existing build XML/extension contracts. | dotnet/ | 5.6k | 1 repo | ~2.2k | Automated safety check: Pass | MIT | today |
| 46 | .NET timezone handling guidance for C applications. An agent skill from github/awesome-copilot. | github/ | 40k | 1 repo | ~976 | Automated safety check: Pass | MIT | today |
| 47 | Implementation details for EF Core scaffolding (reverse engineering). | dotnet/ | 15k | — | ~165 | Automated safety check: Pass | MIT | today |
| 48 | Ensure that C types are documented with XML comments and follow best practices for documentation. | github/ | 40k | 2 repos | ~1k | Automated safety check: Pass | MIT | today |
Questions, answered from the data.
What is the best C# skill?
Analyzing .NET Performance (official) from dotnet/skills ranks first of the 425 C# skills listed here, with the highest score: its repository has 5.6k GitHub stars, 3 other GitHub owners carry a copy, its SKILL.md loads about 3.1k tokens and it passes the automated safety check with no findings. Next come Add Analyzer and Code Review.
Is there an official C# skill?
71 of the 425 C# skills are official, published by the vendor's own GitHub organization: Analyzing .NET Performance, Add Analyzer, Code Review, Find Untested Sources, Add Compiler Diagnostic Fix and 66 more.
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.