Catalog
openai/aspnet-core

openai

aspnet-core

Build, review, refactor, or architect ASP.NET Core web applications using current official guidance for .NET web development. Use when working on Blazor Web Apps, Razor Pages, MVC, Minimal APIs, controller-based Web APIs, SignalR, gRPC, middleware, dependency injection, configuration, authentication, authorization, testing, performance, deployment, or ASP.NET Core upgrades.

global
0installs0uses~1.4k
v1.0Saved Apr 5, 2026

ASP.NET Core

Overview

Choose the right ASP.NET Core application model, compose the host and request pipeline correctly, and implement features in the framework style Microsoft documents today.

Load the smallest set of references that fits the task. Do not load every reference by default.

Workflow

  1. Confirm the target framework, SDK, and current app model.
  2. Open references/stack-selection.md first for new apps or major refactors.
  3. Open references/program-and-pipeline.md next for Program.cs, DI, configuration, middleware, routing, logging, and static assets.
  4. Open exactly one primary app-model reference:
  5. Add cross-cutting references only as needed:
  6. Open references/versioning-and-upgrades.md before introducing new platform APIs into an older solution or when migrating between major versions.
  7. Use references/source-map.md when you need the Microsoft Learn section that corresponds to a task not already covered by the focused references.

Default Operating Assumptions

  • Prefer the latest stable ASP.NET Core and .NET unless the repository or user request pins an older target.
  • As of March 2026, prefer .NET 10 / ASP.NET Core 10 for new production work. Treat ASP.NET Core 11 as preview unless the user explicitly asks for preview features.
  • Prefer WebApplicationBuilder and WebApplication. Avoid older Startup and WebHost patterns unless the codebase already uses them or the task is migration.
  • Prefer built-in DI, options/configuration, logging, ProblemDetails, OpenAPI, health checks, rate limiting, output caching, and Identity before adding third-party infrastructure.
  • Keep feature slices cohesive so the page, component, endpoint, controller, validation, service, data access, and tests are easy to trace.
  • Respect the existing app model. Do not rewrite Razor Pages to MVC or controllers to Minimal APIs without a clear reason.

Reference Guide

Execution Notes

  • When generating new code, start from the correct dotnet new template and keep the generated structure recognizable.
  • When editing an existing solution, follow the solution's conventions first and use these references to avoid framework misuse or outdated patterns.
  • When a task mentions "latest", verify the feature on Microsoft Learn or the ASP.NET Core docs repo before relying on memory.
Files16
16 files · 46.5 KB

Select a file to preview

Overall Score

87/100

Grade

A

Excellent

Safety

94

Quality

88

Clarity

86

Completeness

82

Summary

This skill guides AI agents through building, reviewing, and architecting ASP.NET Core web applications using current Microsoft guidance. It provides a structured workflow that routes agents through focused reference documents based on the task (new app, feature work, API development, authentication, etc.), enforcing best practices like WebApplicationBuilder adoption, built-in framework features, and modern hosting models.

Detected Capabilities

Route agents through modular reference documents based on task typeProvide decision matrices for technology selection (Blazor vs Razor Pages vs MVC vs APIs)Document ASP.NET Core best practices and framework patternsGuide dependency injection, configuration, and service registrationAdvise on security, authentication, and authorization patternsReference official Microsoft Learn documentation with specific URLsSupport version-specific guidance (targeting .NET 10, 9, 8 etc.)Explain architectural defaults and when to deviate from them

Trigger Keywords

Phrases that MCP clients use to match this skill to user intent.

aspnet core applicationblazor web apprazor pages formminimal api endpointasp.net authenticationsignalr real-timeaspnet core upgradeentity framework coreaspnet core testing

Risk Signals

INFO

References to external documentation URLs (learn.microsoft.com, github.com, raw.githubusercontent.com)

Multiple reference files and source-map.md
INFO

No shell execution, file writes, or command injection detected

Entire skill
INFO

No credential handling, secrets access, or sensitive data operations

Entire skill
INFO

Skill is purely instructional and read-only — no modifications to code or files

Entire skill

Referenced Domains

External domains referenced in skill content, detected by static analysis.

github.comlearn.microsoft.comraw.githubusercontent.comwww.apache.org

Use Cases

  • Build a new ASP.NET Core application and choose the right model (Blazor, Razor Pages, MVC, APIs)
  • Implement authentication, authorization, or identity features
  • Design and build HTTP APIs using Minimal APIs or controllers
  • Architect real-time features with SignalR or background work with hosted services
  • Upgrade or migrate an existing ASP.NET Core application across versions
  • Review existing code for framework misuse or outdated patterns
  • Implement testing, caching, health checks, or operational concerns

Quality Notes

  • Excellent organizational structure: clear workflow (7-step process) that routes agents to the right reference based on task intent
  • Strong adherence to agentskills.io specification with clear frontmatter, workflow section, and reference guide
  • Well-scoped references: each file covers a single concern (UI models, APIs, security, testing, etc.) rather than trying to document all ASP.NET Core in one place
  • Good guardrails: explicit 'operating assumptions' document framework version preferences and preferred patterns, reducing ambiguity
  • Practical decision matrices in stack-selection.md help agents choose between competing models (Blazor vs Razor Pages vs MVC) with clear 'prefer when' guidance
  • Strong cross-references between documents with a routing table (_sections.md) to guide agents through the right path
  • Incorporates version-specific guidance (net10.0, net9.0, net8.0) with explicit breaking-change awareness
  • References are linked to official Microsoft Learn documentation, improving verifiability
  • Security guidance is present but minimal — most security content defers to learn.microsoft.com references rather than reimplementing them
  • Completeness: all referenced files are present in the manifest; no broken internal links detected
  • Minor: security-and-identity.md is relatively brief and leans heavily on 'read the official docs first'; could benefit from more concrete guidance on common patterns
  • Minor: no explicit error-handling or troubleshooting guidance for agents — assumes failures are handled by the agent's underlying infrastructure
Model: claude-haiku-4-5-20251001Analyzed: Apr 5, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Add openai/aspnet-core to your library

Command Palette

Search for a command to run...