Skip to content
Development
Skill

/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
2289 skills14 agents2 MCP
Install
$ npx -y skills add novotnyllc/dotnet-artisan --skill dotnet-advisor --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/dotnet-advisor

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

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

Loading another skill

``name`` is descriptive text, not an invocation. Codex collects explicit skills from the ORIGINA

Read more
Ships withdotnet-artisan

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

Get the whole plugin

Other skills on dotnet-artisan.