Source profileQuality 62/100

github/awesome-copilot/skills/aspnet-minimal-api-openapi/SKILL.md

aspnet-minimal-api-openapi

Create ASP.NET Minimal API endpoints with proper OpenAPI documentation

Source repository stars
37,126
Declared platforms
0
Static risk flags
0
Last source update
2026-07-28
Source checked
2026-07-28

Decision brief

What it does—and where it fits

Your goal is to help me create well-structured ASP.NET Minimal API endpoints with correct types and comprehensive OpenAPI/Swagger documentation.

Best for

    Not for

    • Tasks that require unconfirmed production actions or broad system permissions.
    • Environments where the pinned source and install steps cannot be inspected.

    Compatibility matrix

    Platform support, with evidence labels

    PlatformStatusEvidenceWhat to check
    CodexNot declaredNo explicit evidencePortability before use
    Claude CodeNot declaredNo explicit evidencePortability before use
    CursorNot declaredNo explicit evidencePortability before use
    Gemini CLINot declaredNo explicit evidencePortability before use
    Open the compatibility checker

    Installation

    Inspect first. Install second.

    The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

    Source-detected install commandSource
    npx skills add https://github.com/github/awesome-copilot --skill "skills/aspnet-minimal-api-openapi"
    Safe inspection promptEditorial

    Inspect the Agent Skill "aspnet-minimal-api-openapi" from https://github.com/github/awesome-copilot/blob/9933dcad5be5caeb288cebcd370eeeb2fc2f1685/skills/aspnet-minimal-api-openapi/SKILL.md at commit 9933dcad5be5caeb288cebcd370eeeb2fc2f1685. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

    Workflow

    What the source asks the agent to do

    1. 01

      API Organization

      Group related endpoints using MapGroup() extension

      Group related endpoints using MapGroup() extensionUse endpoint filters for cross-cutting concernsStructure larger APIs with separate endpoint classes
    2. 02

      Request and Response Types

      Define explicit request and response DTOs/models

      Define explicit request and response DTOs/modelsCreate clear model classes with proper validation attributesUse record types for immutable request/response objects
    3. 03

      Type Handling

      Use strongly-typed route parameters with explicit type binding

      Use strongly-typed route parameters with explicit type bindingUse Results to represent multiple response typesReturn TypedResults instead of Results for strongly-typed responses
    4. 04

      OpenAPI Documentation

      Use the built-in OpenAPI document support added in .NET 9

      Use the built-in OpenAPI document support added in .NET 9Define operation summary and descriptionAdd operationIds using the WithName extension method

    Permission review

    Static risk signals and limitations

    No configured static risk pattern was detected

    This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

    Evidence record

    Why each signal appears

    EvidenceSourceComputedTestedEditorial
    SignalValueEvidence typeMeaning
    Quality score62/100ComputedDocumentation, specificity, maintenance, and trust rules
    Repository stars37,126SourceRepository attention, not individual Skill quality
    Compatibility0 platformsSourceDeclared in the catalog source record
    Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

    Pinned source

    Provenance and original SKILL.md

    Repository
    github/awesome-copilot
    Skill path
    skills/aspnet-minimal-api-openapi/SKILL.md
    Commit
    9933dcad5be5caeb288cebcd370eeeb2fc2f1685
    License
    MIT
    Collected
    2026-07-28
    Default branch
    main
    View the original SKILL.md

    ASP.NET Minimal API with OpenAPI

    Your goal is to help me create well-structured ASP.NET Minimal API endpoints with correct types and comprehensive OpenAPI/Swagger documentation.

    API Organization

    • Group related endpoints using MapGroup() extension
    • Use endpoint filters for cross-cutting concerns
    • Structure larger APIs with separate endpoint classes
    • Consider using a feature-based folder structure for complex APIs

    Request and Response Types

    • Define explicit request and response DTOs/models
    • Create clear model classes with proper validation attributes
    • Use record types for immutable request/response objects
    • Use meaningful property names that align with API design standards
    • Apply [Required] and other validation attributes to enforce constraints
    • Use the ProblemDetailsService and StatusCodePages to get standard error responses

    Type Handling

    • Use strongly-typed route parameters with explicit type binding
    • Use Results<T1, T2> to represent multiple response types
    • Return TypedResults instead of Results for strongly-typed responses
    • Leverage C# 10+ features like nullable annotations and init-only properties

    OpenAPI Documentation

    • Use the built-in OpenAPI document support added in .NET 9
    • Define operation summary and description
    • Add operationIds using the WithName extension method
    • Add descriptions to properties and parameters with [Description()]
    • Set proper content types for requests and responses
    • Use document transformers to add elements like servers, tags, and security schemes
    • Use schema transformers to apply customizations to OpenAPI schemas

    Alternatives

    Compare before choosing