Skip to main content

AI skills for C# / .NET

AI Coding Skills for C# / .NET

Browse the best AI coding skills for C# / .NET in 2026, ASP.NET Core 9 minimal APIs, EF Core schemas, xUnit + Moq tests, and Aspire orchestration. Works with every major AI coding tool.

Short answer

The best AI coding skills for C# are skills-hub's `code-review`, `unit-test` (xUnit + Moq + FluentAssertions), `api-scaffold` (ASP.NET Core 9 minimal APIs / controllers), `db-schema` (EF Core), `secure`, and `dependency-scan` (dotnet list package --vulnerable). All portable across Claude Code, Cursor, Codex CLI, Copilot, and Cline.

C# in 2026 means .NET 9, ASP.NET Core minimal APIs, EF Core with compiled queries, and Aspire for distributed-app orchestration. The skills below detect your .NET stack and emit idiomatic code with proper records, primary constructors, pattern matching switch expressions, file-scoped namespaces, and nullable reference types enabled.

Top skills for C# / .NET

  1. 01unity-script

    C# script CRUD and analysis — create, read, replace, append, search, rename, move, delete Unity scripts and surface compile feedback / Domain Reload state. Triggers: script, C# code, csharp, MonoBehaviour, ScriptableObject, Editor, EditorWindow, namespace, class, create script, read script, write code, edit script, replace text, find in scripts, regex search, rename script, move script, append code, delete script, batch create, compile feedback, compile errors, Domain Reload, code generation, code template, script_create, script_create_batch, script_replace, script_append, script_read, script_rename, script_move, script_delete, script_get_compile_feedback, 脚本, C# 代码, 创建脚本, 批量创建, 读取脚本, 修改脚本, 替换脚本, 查找替换, 搜索脚本, 重命名脚本, 移动脚本, 追加代码, 删除脚本, 编写代码, 生成脚本, 代码模板, 编译反馈, 编译错误, 域重载, 重编译.

    Buildfrom Unity REST Skills

Frequently asked questions

Do AI skills use minimal APIs or controllers?

Modern skills check the project shape, Program.cs with builder.Services and app.MapXxx routes signals minimal API style; ControllerBase subclasses signal controller style. The code-review skill respects the existing convention.

Can AI generate EF Core migrations?

Yes, the db-schema skill emits DbContext + entity configs, then runs dotnet ef migrations add with proper migration names. It also catches common gotchas like change-tracker churn and N+1 patterns.

What's the best AI tool for C#?

Visual Studio's official AI assist is still the deepest for big .NET solutions. Cursor with C# Dev Kit and Claude Code with the JetBrains Rider plugin are both strong second options.

Do AI skills handle Aspire?

Yes, the api-scaffold skill detects .NET Aspire and emits proper AppHost projects with service references, plus matching ServiceDefaults for OpenTelemetry + health checks.

Other languages and frameworks