Language

C# agent skills for Claude Code, Codex and other agents.

Object-oriented language from Microsoft used with .NET for web, desktop, game and cloud applications.
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

C# skills, ranked
#SkillRepositoryStarsUsed inTokensAuto-checkLicenceUpdated
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/skills5.6k3 repos~3.1kAutomated safety check: PassMITtoday
2
2.Add AnalyzerOfficial

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/roslynator3.5k—~1.3kAutomated safety check: PassUnknown2 days ago
3
3.Code ReviewOfficial

Review dotnet/macios PRs against established rules. An agent skill from dotnet/macios.

dotnet/macios2.9k—~1.7kAutomated safety check: PassUnknowntoday
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/skills5.6k1 repo~3.3kAutomated safety check: PassMITtoday
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/roslynator3.5k—~1kAutomated safety check: PassUnknown2 days ago
6

Investigate and triage CI failures for dotnet/macios from Azure DevOps build URLs.

dotnet/macios2.9k—~2.3kAutomated safety check: PassUnknowntoday
7
7.Add RefactoringOfficial

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/roslynator3.5k—~946Automated safety check: PassUnknown2 days ago
8

Create and evaluate VS Code file-based instructions (.instructions.md files).

dotnet/efcore15k—~1.3kAutomated safety check: PassMITtoday
9

Update dotnet/macios to a new Xcode beta and validate it end-to-end.

dotnet/macios2.9k—~1.8kAutomated safety check: PassUnknowntoday
10
10.Fix Analyzer BugOfficial

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/roslynator3.5k—~1.1kAutomated safety check: PassUnknown2 days ago
11
11.Playwright RollOfficial

Roll Playwright .NET to a new version

microsoft/playwright-dotnet3k—~1.9kAutomated safety check: PassMITtoday
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/roslynator3.5k—~1kAutomated safety check: PassUnknown2 days ago
13

Migrate Python apps from Azure OpenAI Chat Completions to the Responses API.

microsoft/ai-agents-for-beginners77k—~6kAutomated safety check: NotesMIT18 days ago
14

Investigate and fix flaky/random CI test failures in dotnet/macios.

dotnet/macios2.9k—~1.3kAutomated safety check: PassUnknowntoday
15

Migrate a .NET 8 project to .NET 9 and resolve all breaking changes.

dotnet/skills5.6k2 repos~3.9kAutomated safety check: PassMITtoday
16
16.Gh StackOfficial

Manage stacked branches and pull requests with the gh-stack GitHub CLI extension.

dotnet/macios2.9k2 repos~10kAutomated safety check: PassUnknowntoday
17

Create C bindings for Apple frameworks in dotnet/macios. An agent skill from dotnet/macios.

dotnet/macios2.9k—~7.3kAutomated safety check: PassUnknowntoday
18

Migrate a .NET 9 project or solution to .NET 10 and resolve all breaking changes.

dotnet/skills5.6k2 repos~4.8kAutomated safety check: PassMITtoday
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/roslynator3.5k—~511Automated safety check: PassUnknown2 days ago
20

Post-mortem analysis of CI failures across recent PRs in dotnet/macios.

dotnet/macios2.9k—~7.8kAutomated safety check: PassUnknowntoday
21

Shift Python apps dem from Azure OpenAI Chat Completions go Responses API.

microsoft/ai-agents-for-beginners77k—~6kAutomated safety check: NotesMIT18 days ago
22

Comprehensive tier assessment for an MCP SDK repository against SEP-1730.

modelcontextprotocol/conformance129—~4.4kAutomated safety check: PassUnknown2 days ago
23

Download updated expected app size files from Azure DevOps CI artifacts for the current branch.

dotnet/macios2.9k—~1.5kAutomated safety check: PassUnknowntoday
24
24.Reviewing CsharpOfficial

Reviews C changes in the ImageBuilder codebase against the repo's modern C conventions and invariants.

dotnet/docker-tools181—~793Automated safety check: PassMITtoday
25

Writes and reviews Blazor .razor components with correct parameters, EventCallback, lifecycle, async and disposal patterns, for components that need no JavaScript interop.

dotnet/skills5.6k1 repo~830Automated safety check: PassMITtoday
26

Fix MSBuild targets that generate files during the build but those files are missing from compilation or output.

microsoft/testfx1k2 repos~1.8kAutomated safety check: PassMITtoday
27

Enable nullable reference types in a C project and systematically resolve all warnings.

dotnet/skills5.6k2 repos~8.9kAutomated safety check: PassMITtoday
28
28.XML Doc WriterOfficial

Write, validate, and improve XML documentation comments in C source code.

dotnet/macios2.9k—~580Automated safety check: PassUnknowntoday
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/skills5.6k1 repo~3.1kAutomated safety check: PassMITtoday
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/skills5.6k1 repo~3.7kAutomated safety check: PassMITtoday
31
31.Maui Safe AreaOfficial

.NET MAUI safe area and edge-to-edge layout guidance for .NET 10+.

dotnet/skills5.6k1 repo~3.2kAutomated safety check: PassMITtoday
32
32.Maui ThemingOfficial

Guide for theming .NET MAUI apps — light/dark mode via AppThemeBinding, ResourceDictionary theme switching, DynamicResource bindings, system theme detection, and user theme preferences.

dotnet/skills5.6k1 repo~4.1kAutomated safety check: PassMITtoday
33

Migrate a .NET 10 project or solution to .NET 11 and resolve all breaking changes.

dotnet/skills5.6k1 repo~3.6kAutomated safety check: PassMITtoday
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/skills5.6k1 repo~4.8kAutomated safety check: PassMITtoday
35
35.Dotnet WebapiOfficial

Guides creation and modification of ASP.NET Core Web API endpoints with correct HTTP semantics, OpenAPI metadata, and error handling.

dotnet/skills5.6k2 repos~5.5kAutomated safety check: PassMITtoday
36
36.Csharp ScriptsOfficial

Run file-based C apps with the .NET CLI when the user explicitly wants C/.NET code without creating a project.

dotnet/skills5.6k1 repo~2.9kAutomated safety check: PassMITtoday
37

ACTIVATION PREREQUISITE: the request or discovered target must explicitly identify C, .NET, .cs, or .csproj; otherwise stay dormant without invoking this skill.

dotnet/skills5.6k1 repo~3.8kAutomated safety check: PassMITtoday
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/skills5.6k1 repo~3.9kAutomated safety check: PassMITtoday
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/skills5.6k1 repo~5.2kAutomated safety check: PassMITtoday
40

Helps find, inspect, and compare (at a high level) .NET project templates.

dotnet/skills5.6k1 repo~3.1kAutomated safety check: PassMITtoday
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/skills5.6k1 repo~3.6kAutomated safety check: PassMITtoday
42
42.Use JS InteropOfficial

Add, review, or fix JavaScript interop in Blazor components.

dotnet/skills5.6k1 repo~2.7kAutomated safety check: PassMITtoday
43
43.Gemini APIOfficial

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/skills21k3 repos~2.6kAutomated safety check: PassApache-2.0today
44

Azure AI Search SDK for .NET (Azure.Search.Documents). An agent skill from microsoft/skills.

microsoft/skills3.1k6 repos~2.6kAutomated safety check: PassMITyesterday
45
45.MsbuildOfficial

Use only for MSBuild failure investigation, build-performance analysis, or review of existing build XML/extension contracts.

dotnet/skills5.6k1 repo~2.2kAutomated safety check: PassMITtoday
46
46.Dotnet TimezoneOfficial

.NET timezone handling guidance for C applications. An agent skill from github/awesome-copilot.

github/awesome-copilot40k1 repo~976Automated safety check: PassMITtoday
47
47.ScaffoldingOfficial

Implementation details for EF Core scaffolding (reverse engineering).

dotnet/efcore15k—~165Automated safety check: PassMITtoday
48
48.Csharp DocsOfficial

Ensure that C types are documented with XML comments and follow best practices for documentation.

github/awesome-copilot40k2 repos~1kAutomated safety check: PassMITtoday

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.