dotnet-advisor
Working with .NET, C#, ASP.NET Core, or related frameworks. Routes to specialist skills.
What this skill does
# dotnet-advisor Router and index skill for **dotnet-artisan**. Always loaded. Routes .NET development queries to the appropriate specialist skills based on context. ## First Step: Detect Project Version Before any .NET guidance, determine the project's target framework: > Load [skill:dotnet-version-detection] 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). --- ## Skill Catalog ### 1. Foundation & Plugin Infrastructure `implemented` - [skill:dotnet-advisor] -- this skill (router/index) - [skill:dotnet-version-detection] -- TFM/SDK detection, preview features - [skill:dotnet-project-analysis] -- solution structure, project refs, CPM - [skill:dotnet-file-based-apps] -- .NET 10 file-based apps, `#:` directives, no .csproj ### 2. Core C# & Language Patterns `planned` - [skill:dotnet-csharp-modern-patterns] -- C# 14/15 features, records, pattern matching - [skill:dotnet-csharp-coding-standards] -- naming, conventions, file organization - [skill:dotnet-csharp-async-patterns] -- async/await best practices, common mistakes - [skill:dotnet-csharp-nullable-reference-types] -- NRT patterns, annotations, migration - [skill:dotnet-csharp-dependency-injection] -- MS DI, keyed services, decoration - [skill:dotnet-csharp-configuration] -- options pattern, feature flags, secrets - [skill:dotnet-csharp-source-generators] -- IIncrementalGenerator, emit patterns - [skill:dotnet-csharp-code-smells] -- code smells, anti-patterns, common pitfalls - [skill:dotnet-roslyn-analyzers] -- custom DiagnosticAnalyzer, CodeFixProvider, testing, NuGet packaging - [skill:dotnet-file-io] -- FileStream, RandomAccess, FileSystemWatcher, MemoryMappedFile, path handling - [skill:dotnet-io-pipelines] -- System.IO.Pipelines: PipeReader/PipeWriter, backpressure, protocol parsing - [skill:dotnet-linq-optimization] -- IQueryable vs IEnumerable, compiled queries, deferred execution - [skill:dotnet-native-interop] -- P/Invoke, LibraryImport, marshalling, cross-platform native calls ### 3. Project Structure & Scaffolding `planned` - [skill:dotnet-project-structure] -- .slnx, Directory.Build.props, CPM, analyzers - [skill:dotnet-artifacts-output] -- UseArtifactsOutput, ArtifactsPath, impact on CI and Docker - [skill:dotnet-scaffold-project] -- project scaffolding with best practices - [skill:dotnet-add-analyzers] -- Roslyn analyzers, nullable, trimming, AOT compat - [skill:dotnet-add-ci] -- add CI/CD to existing project - [skill:dotnet-add-testing] -- add test infrastructure - [skill:dotnet-modernize] -- analyze code for modernization opportunities ### 4. Architecture Patterns `planned` - [skill:dotnet-architecture-patterns] -- minimal API org, vertical slices, error handling - [skill:dotnet-background-services] -- BackgroundService, Channels, producer/consumer - [skill:dotnet-resilience] -- Polly v8 + MS.Extensions.Resilience (NOT Http.Polly) - [skill:dotnet-http-client] -- IHttpClientFactory, typed/named clients, resilience - [skill:dotnet-observability] -- OpenTelemetry, structured logging, health checks - [skill:dotnet-efcore-patterns] -- DbContext lifecycle, migrations, interceptors - [skill:dotnet-efcore-architecture] -- read/write models, avoiding N+1 - [skill:dotnet-data-access-strategy] -- EF Core vs Dapper vs ADO.NET decision - [skill:dotnet-containers] -- multi-stage Dockerfiles, rootless, health checks - [skill:dotnet-container-deployment] -- Kubernetes, Docker Compose, registries - [skill:dotnet-messaging-patterns] -- pub/sub, competing consumers, DLQ, sagas, delivery guarantees - [skill:dotnet-domain-modeling] -- DDD aggregates, value objects, domain events, repository contracts - [skill:dotnet-structured-logging] -- log aggregation, structured queries, sampling, PII scrubbing - [skill:dotnet-aspire-patterns] -- .NET Aspire: AppHost, service discovery, components, dashboard ### 5. Serialization & Communication `planned` - [skill:dotnet-serialization] -- AOT source-gen: STJ, Protobuf, MessagePack - [skill:dotnet-grpc] -- service definition, streaming, auth, health checks - [skill:dotnet-realtime-communication] -- SignalR, JSON-RPC, SSE, gRPC streaming - [skill:dotnet-service-communication] -- routes to gRPC, real-time, or REST ### 6. API Development `planned` - [skill:dotnet-minimal-apis] -- route groups, filters, validation, OpenAPI 3.1 - [skill:dotnet-api-versioning] -- URL versioning, Asp.Versioning.Http/Mvc - [skill:dotnet-openapi] -- OpenAPI: MS.AspNetCore.OpenApi (built-in .NET 9+), Swashbuckle migration, NSwag, transformers - [skill:dotnet-api-security] -- Identity, OAuth/OIDC, JWT, passkeys (WebAuthn), CORS, CSP, rate limiting - [skill:dotnet-input-validation] -- .NET 10 AddValidation, FluentValidation, Data Annotations, endpoint filters, ProblemDetails - [skill:dotnet-library-api-compat] -- binary/source compatibility rules, type forwarders, SemVer impact - [skill:dotnet-api-surface-validation] -- PublicApiAnalyzers, Verify snapshot pattern, ApiCompat CI enforcement ### 7. Security `planned` - [skill:dotnet-security-owasp] -- OWASP top 10 for .NET - [skill:dotnet-secrets-management] -- user secrets, secure config patterns - [skill:dotnet-cryptography] -- modern crypto incl. post-quantum (.NET 10) ### 8. Testing `planned` - [skill:dotnet-testing-strategy] -- unit vs integration vs E2E, organization - [skill:dotnet-xunit] -- xUnit v3, theories, fixtures, parallelism - [skill:dotnet-integration-testing] -- WebApplicationFactory, Testcontainers - [skill:dotnet-ui-testing-core] -- core UI testing patterns - [skill:dotnet-blazor-testing] -- bUnit for Blazor components - [skill:dotnet-maui-testing] -- Appium, XHarness for MAUI - [skill:dotnet-uno-testing] -- Playwright for Uno WASM - [skill:dotnet-playwright] -- browser automation, E2E testing - [skill:dotnet-snapshot-testing] -- Verify for snapshot testing - [skill:dotnet-test-quality] -- coverage, CRAP analysis, mutation testing ### 9. Performance & Benchmarking `implemented` - [skill:dotnet-benchmarkdotnet] -- BenchmarkDotNet setup, configs, CI - [skill:dotnet-performance-patterns] -- Span, pooling, zero-alloc, sealed - [skill:dotnet-profiling] -- dotnet-counters, trace, dump, memory - [skill:dotnet-ci-benchmarking] -- continuous benchmarking, regression detection - [skill:dotnet-gc-memory] -- GC modes, LOH/POH, Gen0/1/2 tuning, Span/Memory, ArrayPool, profiling ### 10. Native AOT & Trimming `planned` - [skill:dotnet-native-aot] -- trimming, RD.xml, reflection-free, size opt - [skill:dotnet-aot-architecture] -- architect for AOT from start - [skill:dotnet-trimming] -- trim-safe annotations, linker config, testing - [skill:dotnet-aot-wasm] -- WASM AOT for Blazor and Uno ### 11. CLI Tool Development - [skill:dotnet-system-commandline] -- System.CommandLine, middleware, hosting - [skill:dotnet-cli-architecture] -- layered CLI design, testability - [skill:dotnet-cli-distribution] -- Native AOT + cross-platform distribution strategy - [skill:dotnet-cli-packaging] -- Homebrew, apt/deb, winget, Scoop, Chocolatey, dotnet tool - [skill:dotnet-cli-release-pipeline] -- unified multi-platform CI/CD release workflow - [skill:dotnet-tool-management] -- install, manage, restore global/local .NET tools ### 12. UI Frameworks `planned` - [skill:dotnet-blazor-patterns] -- Server, WASM, Hybrid, auto/streaming - [skill:dotnet-blazor-components] -- component architecture, JS interop - [skill:dotnet-blazor-auth] -- auth across hosting models - [skill:dotnet-uno-platform] -- Extensions, MVUX, Toolkit, themes - [skill:dotnet-uno-targets] -- Web/WASM, Mobile, Desktop, Embedded - [skill:dotnet-uno-mcp] -- Uno MCP server for live docs - [skill:dotnet-maui-development] -- MAUI patterns, current state - [skill:dotnet-maui-aot] -- MAUI Native AOT on iOS/Mac Catalyst - [skill:dotnet-winui] -- WinUI 3 / Windows App SDK, XAML, MSIX, UWP migration - [skill:dotnet-wpf-modern] -- WPF on .NET 8+, Host builder, MVVM Toolkit, Fluent theme - [
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.