A

aspnet-core

by @openaiv
4.3(20)

Select the correct ASP.NET Core application model and implement features and pipeline configuration according to framework style.

api-developmentbackend-developmentdotnetGitHub
Installation
npx skills add openai/skills --skill aspnet-core
compare_arrows

Before / After Comparison

1
Before

Developers are unfamiliar with ASP.NET Core application model selection, leading to performance degradation due to loading unnecessary dependencies, chaotic pipeline configuration, and code not conforming to framework best practices.

After

Select the minimal application model based on the scenario, configure the request pipeline according to framework style, load necessary dependencies, resulting in clean and efficient code, significantly improving performance and maintainability.

SKILL.md

aspnet-core

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

references/ui-blazor.md

references/data-state-and-services.md

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.

Weekly Installs253Repositoryopenai/skillsGitHub Stars15.3KFirst SeenMar 4, 2026Security AuditsGen Agent Trust HubPassSocketPassSnykPassInstalled oncodex237cursor228github-copilot227opencode227gemini-cli227kimi-cli226

User Reviews (0)

Write a Review

Effect
Usability
Docs
Compatibility

No reviews yet

Statistics

Installs1.2K
Rating4.3 / 5.0
Version
Updated2026年5月23日
Comparisons1

User Rating

4.3(20)
5
20%
4
50%
3
25%
2
5%
1
0%

Rate this Skill

0.0

Compatible Platforms

🔧Claude Code

Timeline

Created2026年3月25日
Last Updated2026年5月23日