dotnet-api
Builds ASP.NET Core APIs, EF Core data access, gRPC, SignalR, and backend services with middleware, security (OAuth, JWT, OWASP),…
Routes .NET/C# requests to the correct domain skill and loads coding standards as baseline for all code paths. Determines whether the task needs API, UI, testing, devops, tooling, or debugging guidance based on prompt analysis and project signals, then invokes skills in the
Claude Code
$ npx -y skills add novotnyllc/dotnet-artisan --skill dotnet-advisor --agent claude-code
Codex
$ npx skills add novotnyllc/dotnet-artisan --skill dotnet-advisor -a codex -y
Cursor
$ npx skills add novotnyllc/dotnet-artisan --skill dotnet-advisor -a cursor -y
Gemini CLI
$ npx skills add novotnyllc/dotnet-artisan --skill dotnet-advisor -a gemini-cli -y
GitHub Copilot
$ npx skills add novotnyllc/dotnet-artisan --skill dotnet-advisor -a github-copilot -y
OpenCode
$ npx skills add novotnyllc/dotnet-artisan --skill dotnet-advisor -a opencode -y
Windsurf
$ npx skills add novotnyllc/dotnet-artisan --skill dotnet-advisor -a windsurf -y
name: dotnet-advisor description: Routes .NET/C# requests to the correct domain skill and loads coding standards as baseline for all code paths. Determines whether the task needs API, UI, testing, devops, tooling, or debugging guidance based on prompt analysis and project signals, then invokes skills in the right order. Always invoked after `using-dotnet` detects .NET intent. Do not use for deep API, UI, testing, devops, tooling, or debugging implementation guidance. license: MIT user-invocable: false
Router and index skill for **dotnet-artisan**. Always loaded after `using-dotnet` confirms .NET intent. Routes .NET development queries to the appropriate consolidated skill based on context.
Before any .NET guidance, determine the project's target framework:
> Load `dotnet-tooling` version detection guidance to read TFMs from `.csproj`, `Directory.Build.props`, and `global.json`. Adapt all guidance to the detected .NET version (net8.0, net9.0, net10.0, net11.0).
For any task that may produce, change, or review C#/.NET code:
1. Invoke `dotnet-csharp` and load its always-load baseline references (coding standards, async correctness, code smells). These are correctness concerns the agent handles by default — the user should not need to ask for correct async/await usage, thread safety, or avoiding anti-patterns. 2. Apply standards throughout planning and implementation, not only in final cleanup. 3. Load additional `dotnet-csharp` reference files when the task touches their topic area (concurrency, DI, serialization, LINQ, etc.).
In a .NET repository, default to .NET solutions for ambiguous requests:
Only suggest non-.NET alternatives when there's a specific reason (e.g., the user explicitly asks for Python, or the task requires a JS-only ecosystem like npm packages).
Identify the primary domain from the request, then LOAD the matching skill — see "Loading another skill" below. If the request spans multiple domains, load them in the order shown.
| If the request involves... | Invoke | |---------------------------|--------| | Web APIs, EF Core, gRPC, SignalR, middleware, security hardening | `dotnet-api` | | Blazor, MAUI, Uno Platform, WPF, WinUI, WinForms | `dotnet-ui` | | Unit tests, integration tests, E2E, Playwright, benchmarks | `dotnet-testing` | | CI/CD, GitHub Actions, Azure DevOps, containers, NuGet publishing | `dotnet-devops` | | Project setup, MSBuild, Native AOT, CLI apps, SDK versions | `dotnet-tooling` | | Crash dumps, WinDbg, hang analysis, memory diagnostics (Windows) | `dotnet-debugging` | | Crash dumps, dotnet-dump, lldb, container diagnostics (Linux/macOS) | `dotnet-debugging` | | Current docs or examples for a NuGet/third-party library (Polly, Serilog, MediatR...) | `dotnet-library-docs` | | Missing .NET SDK, install dotnet, workloads | `dotnet-tooling` (references/dotnet-sdk-install.md) | | Quick script, utility, single-file tool | `dotnet-api` (references/file-based-apps.md) | | Excel, Word, PowerPoint, PDF, spreadsheet, document generation | `dotnet-api` (references/office-documents.md) | | New project (unclear domain) | `dotnet-tooling`, then route to the owning domain skill |
Many tasks naturally span multiple domains. After invoking the primary domain skill, also load supporting skills when these patterns appear:
| When the task involves... | Also load | |--------------------------|-----------| | Performance optimization or profiling | `dotnet-tooling` (profiling, performance-patterns references) | | Testing a specific framework (minimal API, Blazor, EF Core) | The framework's domain skill (`dotnet-api` or `dotnet-ui`) for context | | Authentication or security hardening in a UI app | `dotnet-api` (security, auth middleware references) | | Multi-targeting or platform-specific project setup | `dotnet-tooling` (project structure, TFM configuration) | | Building a new app (any "build me" request) | `dotnet-tooling` (project setup) + `dotnet-testing` (test strategy) | | CI/CD that runs tests | `dotnet-testing` (test framework configuration) |
For broad "build me an app" requests, load comprehensively: `dotnet-csharp` -> `dotnet-tooling` -> primary domain -> `dotnet-testing` -> `dotnet-devops`.
Comprehensive .NET development skills for modern C#, ASP.NET, MAUI, Blazor, and cloud-native applications
Builds ASP.NET Core APIs, EF Core data access, gRPC, SignalR, and backend services with middleware, security (OAuth, JWT, OWASP),…
Baseline C# skill loaded for every .NET code path. Guides language patterns (records, pattern matching, primary constructors, C#…
Debugs Windows and Linux/macOS applications (native, .NET/CLR, mixed-mode) with WinDbg MCP (crash dumps, !analyze, !syncblk,…
Configures .NET CI/CD pipelines (GitHub Actions with setup-dotnet, NuGet cache, reusable workflows; Azure DevOps with…
Fetches current, version-accurate documentation and code examples for NuGet packages and third-party libraries (Polly, MediatR,…
Defines .NET test strategy and implementation patterns across xUnit v3 (Facts, Theories, fixtures, IAsyncLifetime), integration…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.