
Description
dotnet-webapi is an agent skill for building and changing ASP.NET Core Web API endpoints. It asks the agent to produce endpoints with correct HTTP semantics, including the right status codes, along with OpenAPI documentation and consistent error handling. The skill applies to endpoints written with controllers or minimal APIs. It covers adding or changing endpoints, wiring up OpenAPI and Swagger metadata, defining request and response DTOs, adding .http files for request-based testing, and setting up centralized error handling middleware or exception mapping. It is for .NET developers who want an AI agent to write API code that follows the framework's conventions rather than a quick, loose version of them.…
Highlights
- Adds or changes controller and minimal API endpoints
- Applies correct HTTP status codes and semantics
- Adds OpenAPI and Swagger endpoint metadata
- Sets up centralized error handling and exception mapping
Ratings & Reviews
No ratings yet
Be the first to rate dotnet-webapi.
People also visit

spring-boot-openapi-documentation
Provides patterns to generate comprehensive REST API documentation
dotnet-webapi FAQ
What kind of code does it write?
ASP.NET Core Web API endpoints, whether built with controllers or minimal APIs, with DTOs, HTTP status codes, OpenAPI metadata and error handling.
Does it create request test files?
It can add .http files or similar request-based testing artifacts for the endpoints it changes.
How do I install it?
Run npx skills add https://github.com/dotnet/skills --skill dotnet-webapi in your project, then ask your agent to add or change an endpoint.
What security audits has it passed?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best dotnet-webapi alternatives?
Popular alternatives to dotnet-webapi include openapi, openapi-to-application-code and openapi-spec-generation. See all dotnet-webapi alternatives















