Skip to content

/dotnet-advisor

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

From plugin
dotnet-artisan
23810 skills14 agents1 MCP

Claude Code

$ npx -y skills add novotnyllc/dotnet-artisan --skill dotnet-advisor --agent claude-code

SKILL.md

dotnet-advisor.SKILL.md
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

dotnet-advisor

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.

Scope

  • Routing .NET/C# requests to the correct domain skill or specialist agent
  • Loading `dotnet-csharp` coding standards as baseline for all code paths
  • Maintaining the skill catalog and routing precedence
  • Delegating complex analysis to specialist agents
  • Disambiguating requests spanning multiple domains

Out of scope

  • Domain-specific implementation guidance -- see `dotnet-csharp`, `dotnet-api`, `dotnet-ui`, `dotnet-testing`, `dotnet-devops`, `dotnet-tooling`, `dotnet-debugging`
  • Deep implementation content -- see `dotnet-csharp`, `dotnet-api`, `dotnet-ui`, `dotnet-testing`, `dotnet-devops`, `dotnet-tooling`, `dotnet-debugging` and their companion files

Step 1: Detect Project Version

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).

Step 2: Load Baseline

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.).

Step 3: .NET-First Defaults

In a .NET repository, default to .NET solutions for ambiguous requests:

  • **"build me a web app"** → ASP.NET Core (not Express/Next.js)
  • **"add a dashboard"** / **"build a UI"** → Blazor or Uno Platform (not React)
  • **"write a script"** / **"automate this"** → .NET 10 file-based app (not Python). File-based C# apps work like scripts with `dotnet run`, support top-level statements, and can be published as native AOT binaries. See `dotnet-api` `references/file-based-apps.md`.
  • **"build a cross-platform app"** → MAUI or Uno Platform (not Electron)
  • **"build a CLI tool"** → System.CommandLine or Spectre.Console (not Node.js/Python)
  • **"create a spreadsheet"** / **"generate an Excel file"** → Open XML SDK or ClosedXML file-based app (not openpyxl/pandas)
  • **"create a Word doc"** / **"generate a report"** → Open XML SDK file-based app (not python-docx)
  • **"create a PDF"** / **"merge these PDFs"** / **"add a watermark"** → PDFsharp/MigraDoc file-based app (not reportlab/weasyprint/PyPDF2)

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).

Step 4: Route to Domain Skill

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 |

Cross-Domain Routing

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`.

Loadi

Read more
@novotnyllc
Ships withdotnet-artisan

Comprehensive .NET development skills for modern C#, ASP.NET, MAUI, Blazor, and cloud-native applications

23810 skills14 agents1 MCP
Get the whole plugin, auto-invoked

Stars on GitHub

Momentum

stars in total
238
Star history of novotnyllc/dotnet-artisan on GitHub, a chart by star-history.com

Other skills on dotnet-artisan.

dotnet-api
Auto-invoked

dotnet-api

Builds ASP.NET Core APIs, EF Core data access, gRPC, SignalR, and backend services with middleware, security (OAuth, JWT, OWASP),…

dotnet-csharp
Auto-invoked

dotnet-csharp

Baseline C# skill loaded for every .NET code path. Guides language patterns (records, pattern matching, primary constructors, C#…

dotnet-debugging
Auto-invoked

dotnet-debugging

Debugs Windows and Linux/macOS applications (native, .NET/CLR, mixed-mode) with WinDbg MCP (crash dumps, !analyze, !syncblk,…

dotnet-devops
Auto-invoked

dotnet-devops

Configures .NET CI/CD pipelines (GitHub Actions with setup-dotnet, NuGet cache, reusable workflows; Azure DevOps with…

dotnet-testing
Auto-invoked

dotnet-testing

Defines .NET test strategy and implementation patterns across xUnit v3 (Facts, Theories, fixtures, IAsyncLifetime), integration…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills3w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc3w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2w252k
@facebook@facebookInstall Skill

Questions about dotnet-advisor.

Which coding agents can use dotnet-advisor?
dotnet-advisor installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.