dotnet/skills
DirSkills catalogs 25 skills from this repository, across 5 categories: AI Engineering, Automation, DevOps, Frontend, Quality.
π
2w ago
.NET P/Invoke
.NET P/Invoke correctly calls native C/C++ libraries from .NET using DllImport and LibraryImport, covering signatures, strings, memory, SafeHandle, and cross-platform patterns. Use it for writing, reviewing, or debugging native interop code in .NET.
Quality
5.2K384
π
2w ago
ASP.NET Core Web API
ASP.NET Core Web API guides the creation and modification of ASP.NET Core Web API endpoints with correct HTTP semantics, OpenAPI metadata, and error handling. Use it when adding controllers or minimal APIs, defining DTOs, wiring up OpenAPI/Swagger, or configuring global error handling middleware.
DevOps
5.2K384
π
2w ago
Agentic Workflows
Agentic Workflows routes requests to design, create, update, debug, or upgrade agentic workflows to the correct prompt files. Use it when a user asks to build or modify agentic workflows in a repository, and follow the matching prompt or skill.
AI Engineering
5.2K384
π§©
2w ago
Author Blazor Component
Author Blazor Component creates or reviews Blazor components (.razor files) with correct architecture for parameters, EventCallback, RenderFragment slots, lifecycle, async patterns, and disposal. Use it when writing new Blazor components that do not involve JavaScript interop, forms, prerendering, or HTTP data fetching.
Frontend
5.2K384
π
2w ago
Blazor JS Interop
Blazor JS Interop provides patterns for adding, reviewing, and fixing JavaScript interop in Blazor components. Use it for collocated .razor.js modules, IJSRuntime lifecycle, DotNetObjectReference callbacks, and batching interop calls.
Frontend
5.2K384
π»
2w ago
C# Scripts
C# Scripts runs file-based C# apps with the .NET CLI when the user wants C#/.NET code without creating a project. Use for C# language/API experiments, one-file C# apps, and small multi-file C# apps using #:include/#:exclude or #:ref.
Automation
5.2K384
π
2w ago
Collect User Input
Collect User Input builds forms, validates data, and reacts to user input in Blazor apps. Use it for adding forms, search boxes, filter panels, inline editing, data-entry UI, file uploads, and validation with DataAnnotations or custom rules.
Frontend
5.2K384
π
2w ago
Configure Auth
Configure Auth adds authentication and authorization to a Blazor Web App, handling render mode interactions. Use it for [Authorize], AuthorizeView, role/policy access, Identity pages, or fixing null auth state after WebAssembly loads.
Frontend
5.2K384
π
2w ago
Configuring OpenTelemetry .NET
Configuring OpenTelemetry .NET sets up distributed tracing, metrics, and logging in ASP.NET Core using the .NET OpenTelemetry SDK. Use it when adding observability, configuring OTLP exporters, creating custom metrics or spans, or troubleshooting trace correlation.
DevOps
5.2K384
π
2w ago
Convert Blazor Server to Web App
Convert Blazor Server to Web App guides migration of a pre-.NET 8 Blazor Server app to the .NET 8+ Blazor Web App model, converting AddServerSideBlazor and MapBlazorHub to AddRazorComponents and MapRazorComponents, replacing _Host.cshtml with App.razor, and adopting interactive server rendering.
Frontend
5.2K384
π§©
2w ago
Coordinate Components
Coordinate Components shares state between Blazor components without a direct parent-child relationship, using cascading values, scoped services, or CascadingValueSource. Use it for cascading values across render mode boundaries or app-wide shared data.
Frontend
5.2K384
ποΈ
2w ago
Create Blazor Project
Create Blazor Project scaffolds new ASP.NET Core Blazor web apps using dotnet new blazor, guiding choices of render modes (Static SSR, Interactive Server, WebAssembly, Auto) and initial project structure.
Frontend
5.2K384
π€
2w ago
Create Custom Agent
Create Custom Agent scaffolds VS Code custom agent files (.agent.md) that define specialized AI personas with tools, instructions, and handoffs. Use it when creating new agents, configuring workflows, or setting up agent-to-agent handoffs.
AI Engineering
5.2K384
π οΈ
2w ago
Create Data-Driven ASP.NET Core
Create Data-Driven ASP.NET Core generates or scaffolds ASP.NET Core codeβRazor Pages, Blazor components, MVC controllers, views, and Minimal API endpointsβwithout CLI scaffolding tools. Use it to scaffold CRUD pages and API endpoints backed by Entity Framework Core.
Frontend
5.2K384
π§ͺ
2w ago
Create Skill Test
Create Skill Test scaffolds evaluation specs (eval.yaml) for agent skills in the dotnet/skills repository, covering stimuli, graders, rubrics, fixture files, and statistical sizing to avoid overfitting. Use it when creating skill tests or adding evaluation coverage.
Quality
5.2K384
π‘
2w ago
Fetch and Send Data
Fetch and Send Data covers calling APIs, loading data into Blazor components, and handling the async lifecycle. Use it for registering HttpClient, building service abstractions for Auto/WebAssembly render modes, and displaying loading and error states.
Frontend
5.2K384
π§
2w ago
Improve Skill Quality
Improve Skill Quality diagnoses failing or unconvincing skill evaluations and turns them into targeted fixes. Use it when an evaluation verdict is a regression, underpowered, or returns no credible improvement, or when deciding whether to strengthen or retire a weak skill.
Quality
5.2K384
π€
2w ago
Minimal API File Upload
Minimal API File Upload implements file upload endpoints in ASP.NET Core minimal APIs using IFormFile and IFormFileCollection, covering size limits, content validation, and anti-forgery handling. Use it when building .NET 8+ APIs that accept multipart/form-data uploads.
DevOps
5.2K384
π
2w ago
NuGet Trusted Publishing
NuGet Trusted Publishing sets up NuGet trusted publishing (OIDC) on GitHub Actions to replace long-lived API keys with short-lived tokens. Use when migrating from secrets.NUGET_API_KEY, setting up keyless or secure NuGet publishing, or creating a new NuGet publish workflow.
DevOps
5.2K384
β‘
2w ago
Optimizing EF Core Queries
Optimizing EF Core Queries diagnoses and fixes slow Entity Framework Core queries by reducing generated SQL, database round-trips, and per-call translation cost. Use it when an EF Core query or data-access path is slow, emits N+1 statements, or pays LINQ translation overhead on every call.
Quality
5.2K384
π§©
2w ago
Plan UI Change
Plan UI Change decomposes complex Blazor UI features into focused, composable components with parent-child data flow, then immediately implements them bottom-up. Use it when building multi-section pages, dashboards, or any Blazor UI with three or more distinct visual sections.
Frontend
5.2K384
ποΈ
2w ago
Skill Scaffolder
Skill Scaffolder creates new agent skills that conform to the Agent Skills specification and dotnet/skills conventions, generating SKILL.md frontmatter, section templates, and validation guidance. Use it when setting up a new skill directory or writing a description that the runtime will route to.
AI Engineering
5.2K384
π
2w ago
Support Prerendering
Support Prerendering makes interactive Blazor components work correctly when prerendered, fixing duplicate data loads, UI flicker, null references during prerender, and state persistence across the handoff. Use it when prerendering causes issues in Server, WebAssembly, or Auto render mode apps.
Frontend
5.2K384
π§
2w ago
Technology Selection
Technology Selection helps developers choose the right .NET AI/ML stack (ML.NET, Microsoft.Extensions.AI, Microsoft Agent Framework, ONNX Runtime, OllamaSharp) for classification, LLM integration, RAG, agentic workflows, and local inference in .NET 8+ projects.
AI Engineering
5.2K384
π οΈ
2w ago
Workflow Authoring
Workflow Authoring teaches how to write GitHub Actions workflow YAML that is syntactically valid for GitHub Actions, not just YAML. Use it when editing or reviewing .github/workflows files, writing expressions with ${{ }}, quoting scalars, or diagnosing workflow file issues with actionlint.
DevOps
5.2K384