[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DYFMNAJN9RQ7N81JCD5JAY":3,"skill-same:01M6DYFMNAJN9RQ7N81JCD5JAY":89},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":45,"linkOnly":46,"markdownContent":47,"markdownBody":48,"frontMatter":49,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":56,"ownerHtmlUrl":57,"ownerBlogUrl":58,"ownerDescription":59,"updatedAt":60,"install":61,"resources":74},"01M6DYFMNAJN9RQ7N81JCD5JAY","minimal-apis",null,"Design and implement Minimal APIs in ASP.NET Core using handler-first endpoints, route groups, filters, and lightweight composition suited to modern .NET services. USE FOR: building new HTTP APIs in ASP.NET Core; creating lightweight microservices; choosing between Minimal APIs and controllers. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.","managedcode\u002Fdotnet-skills","managedcode","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78253589?v=4","01M6DYDJR3EG8KB5G4PC65XCTT","Managed Code","01M6DYDJX0ZT432N04NYJW89DN",515,"MIT","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FFrameworks\u002FMinimal-APIs\u002Fskills\u002Fminimal-apis\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],"minimal apis","minimal","new","design","when","handler","features","inspect","relevant","full","commands","route","do","files","filters","unrelated","use","context","edit","Composition","repository","lint","run","core","tasks","http","2026-11-10 10:12:30",false,"---\nname: minimal-apis\ndescription: \"Design and implement Minimal APIs in ASP.NET Core using handler-first endpoints, route groups, filters, and lightweight composition suited to modern .NET services. USE FOR: building new HTTP APIs in ASP.NET Core; creating lightweight microservices; choosing between Minimal APIs and controllers. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.\"\ncompatibility: \"Requires ASP.NET Core 6+, preferably .NET 8+ for full features.\"\n---\n\n# Minimal APIs\n\n## Trigger On\n\n- building new HTTP APIs in ASP.NET Core\n- creating lightweight microservices\n- choosing between Minimal APIs and controllers\n- organizing endpoints with route groups\n- implementing validation and filters\n\n## Documentation\n\n- [Minimal APIs Overview](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Faspnet\u002Fcore\u002Ffundamentals\u002Fminimal-apis?view=aspnetcore-10.0)\n- [Minimal API Tutorial](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Faspnet\u002Fcore\u002Ftutorials\u002Fmin-web-api?view=aspnetcore-10.0)\n- [Filters in Minimal APIs](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Faspnet\u002Fcore\u002Ffundamentals\u002Fminimal-apis\u002Fmin-api-filters?view=aspnetcore-10.0)\n- [OpenAPI Support](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Faspnet\u002Fcore\u002Ffundamentals\u002Fopenapi\u002Foverview?view=aspnetcore-10.0)\n- [Route Groups](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Faspnet\u002Fcore\u002Ffundamentals\u002Fminimal-apis\u002Froute-handlers?view=aspnetcore-10.0#route-groups)\n\n### References\n\n- [patterns.md](references\u002Fpatterns.md) - detailed route groups, filters, TypedResults patterns, parameter binding, error handling, and testing\n- [anti-patterns.md](references\u002Fanti-patterns.md) - common Minimal API mistakes to avoid\n\n## When to Use Minimal APIs vs Controllers\n\n| Use Minimal APIs | Use Controllers |\n|------------------|-----------------|\n| New projects | Existing MVC\u002FAPI projects |\n| Microservices | Complex model binding |\n| Simple CRUD APIs | OData, JsonPatch |\n| Lightweight handlers | Heavy use of attributes |\n| .NET 8+ projects | Need `[ApiController]` features |\n\n## Workflow\n\n1. **Define endpoints directly in Program.cs** (for small APIs)\n2. **Use route groups** for related endpoints\n3. **Move handlers to separate classes** as the API grows\n4. **Apply filters** for cross-cutting concerns\n5. **Use TypedResults** for type-safe responses\n6. **Generate OpenAPI docs** with `.WithOpenApi()`\n\n## Current Upstream Notes\n\n- `dotnet\u002Faspnetcore` `v10.0.11` is servicing; it does not change the Minimal API route-group, filter, or `TypedResults` model, but it updates the OpenAPI stack to `2.7.5`. Re-run document-generation and contract snapshots after upgrading.\n- The August 2026 `aspnetcore-10.0` overview still routes lightweight HTTP APIs here. Use the dedicated Minimal API pages when exact OpenAPI, filter, or parameter-binding behavior matters.\n\n## Basic Patterns\n\n### Simple Endpoints\n```csharp\nvar app = builder.Build();\n\napp.MapGet(\"\u002F\", () => \"Hello World\");\n\napp.MapGet(\"\u002Fproducts\u002F{id}\", (int id) => Results.Ok(new { Id = id }));\n\napp.MapPost(\"\u002Fproducts\", (Product product) => Results.Created($\"\u002Fproducts\u002F{product.Id}\", product));\n```\n\n### TypedResults (Strongly-Typed)\n```csharp\napp.MapGet(\"\u002Fproducts\u002F{id}\", Results\u003COk\u003CProduct>, NotFound> (int id, AppDb db) =>\n{\n    var product = db.Products.Find(id);\n    return product is not null\n        ? TypedResults.Ok(product)\n        : TypedResults.NotFound();\n});\n```\n\n### Dependency Injection\n```csharp\napp.MapGet(\"\u002Fproducts\", async (IProductService service) =>\n{\n    return await service.GetAllAsync();\n});\n\n\u002F\u002F Or with [FromServices] for clarity\napp.MapGet(\"\u002Fproducts\", async ([FromServices] IProductService service) =>\n    await service.GetAllAsync());\n```\n\n## Route Groups\n\n### Basic Grouping\n```csharp\nvar products = app.MapGroup(\"\u002Fapi\u002Fproducts\");\n\nproducts.MapGet(\"\u002F\", GetAll);\nproducts.MapGet(\"\u002F{id}\", GetById);\nproducts.MapPost(\"\u002F\", Create);\nproducts.MapPut(\"\u002F{id}\", Update);\nproducts.MapDelete(\"\u002F{id}\", Delete);\n```\n\n### Groups with Shared Configuration\n```csharp\nvar api = app.MapGroup(\"\u002Fapi\")\n    .RequireAuthorization()\n    .AddEndpointFilter\u003CValidationFilter>();\n\nvar products = api.MapGroup(\"\u002Fproducts\")\n    .WithTags(\"Products\");\n\nvar orders = api.MapGroup(\"\u002Forders\")\n    .WithTags(\"Orders\")\n    .RequireAuthorization(\"AdminOnly\");\n```\n\n## Endpoint Filters\n\n### Inline Filter\n```csharp\napp.MapGet(\"\u002Fproducts\u002F{id}\", (int id) => Results.Ok(id))\n    .AddEndpointFilter(async (context, next) =>\n    {\n        var id = context.GetArgument\u003Cint>(0);\n        if (id \u003C= 0)\n            return Results.BadRequest(\"Invalid ID\");\n\n        return await next(context);\n    });\n```\n\n### Class-Based Filter\n```csharp\npublic class ValidationFilter\u003CT> : IEndpointFilter where T : class\n{\n    public async ValueTask\u003Cobject?> InvokeAsync(\n        EndpointFilterInvocationContext context,\n        EndpointFilterDelegate next)\n    {\n        var argument = context.Arguments\n            .OfType\u003CT>()\n            .FirstOrDefault();\n\n        if (argument is null)\n            return Results.BadRequest(\"Invalid request body\");\n\n        var validator = context.HttpContext.RequestServices\n            .GetService\u003CIValidator\u003CT>>();\n\n        if (validator is not null)\n        {\n            var result = await validator.ValidateAsync(argument);\n            if (!result.IsValid)\n                return Results.ValidationProblem(result.ToDictionary());\n        }\n\n        return await next(context);\n    }\n}\n\n\u002F\u002F Usage\nproducts.MapPost(\"\u002F\", Create)\n    .AddEndpointFilter\u003CValidationFilter\u003CCreateProductRequest>>();\n```\n\n### Global Filters via Root Group\n```csharp\n\u002F\u002F All endpoints inherit filters from root group\nvar root = app.MapGroup(\"\")\n    .AddEndpointFilter\u003CLoggingFilter>()\n    .AddEndpointFilter\u003CErrorHandlingFilter>();\n\nroot.MapGet(\"\u002Fhealth\", () => Results.Ok());\nroot.MapGroup(\"\u002Fapi\u002Fproducts\").MapGet(\"\u002F\", GetProducts);\n```\n\n## Organizing Larger APIs\n\n### Extension Method Pattern\n```csharp\n\u002F\u002F ProductEndpoints.cs\npublic static class ProductEndpoints\n{\n    public static RouteGroupBuilder MapProductEndpoints(this IEndpointRouteBuilder app)\n    {\n        var group = app.MapGroup(\"\u002Fapi\u002Fproducts\")\n            .WithTags(\"Products\");\n\n        group.MapGet(\"\u002F\", GetAll);\n        group.MapGet(\"\u002F{id}\", GetById);\n        group.MapPost(\"\u002F\", Create);\n\n        return group;\n    }\n\n    private static async Task\u003COk\u003CList\u003CProduct>>> GetAll(IProductService service)\n        => TypedResults.Ok(await service.GetAllAsync());\n\n    private static async Task\u003CResults\u003COk\u003CProduct>, NotFound>> GetById(\n        int id, IProductService service)\n    {\n        var product = await service.GetByIdAsync(id);\n        return product is not null\n            ? TypedResults.Ok(product)\n            : TypedResults.NotFound();\n    }\n\n    private static async Task\u003CCreated\u003CProduct>> Create(\n        CreateProductRequest request, IProductService service)\n    {\n        var product = await service.CreateAsync(request);\n        return TypedResults.Created($\"\u002Fapi\u002Fproducts\u002F{product.Id}\", product);\n    }\n}\n\n\u002F\u002F Program.cs\napp.MapProductEndpoints();\napp.MapOrderEndpoints();\n```\n\n## Request\u002FResponse DTOs\n\n```csharp\n\u002F\u002F Separate from domain models\npublic record CreateProductRequest(string Name, decimal Price);\npublic record UpdateProductRequest(string Name, decimal Price);\npublic record ProductResponse(int Id, string Name, decimal Price);\n\n\u002F\u002F Don't expose domain entities directly\napp.MapPost(\"\u002Fproducts\", (CreateProductRequest request, IMapper mapper) =>\n{\n    var product = mapper.Map\u003CProduct>(request);\n    \u002F\u002F ...\n    return TypedResults.Created($\"\u002Fproducts\u002F{product.Id}\",\n        mapper.Map\u003CProductResponse>(product));\n});\n```\n\n## Anti-Patterns to Avoid\n\n| Anti-Pattern | Why It's Bad | Better Approach |\n|--------------|--------------|-----------------|\n| Everything in Program.cs | Unmaintainable | Use extension methods |\n| No route groups | Repetitive config | Group related endpoints |\n| Manual validation | Error-prone | Use filters + FluentValidation |\n| Exposing entities | Tight coupling | Use DTOs |\n| No TypedResults | No compile-time checks | Use `TypedResults` |\n| Ignoring OpenAPI | No documentation | Add `.WithOpenApi()` |\n\n## OpenAPI Integration\n\n```csharp\nbuilder.Services.AddOpenApi();\n\napp.MapOpenApi();  \u002F\u002F Serves OpenAPI spec\n\napp.MapGet(\"\u002Fproducts\", GetProducts)\n    .WithName(\"GetProducts\")\n    .WithSummary(\"Get all products\")\n    .WithDescription(\"Returns a list of all available products\")\n    .Produces\u003CList\u003CProduct>>(StatusCodes.Status200OK)\n    .ProducesProblem(StatusCodes.Status500InternalServerError);\n```\n\n## Deliver\n\n- clean, organized Minimal API endpoints\n- proper use of route groups and filters\n- type-safe responses with TypedResults\n- OpenAPI documentation\n- validation with endpoint filters\n\n## Validate\n\n- endpoints return correct status codes\n- validation filters catch invalid input\n- OpenAPI spec is accurate\n- route groups share common configuration\n- handlers are testable (can mock dependencies)\n","# Minimal APIs\n\n## Trigger On\n\n- building new HTTP APIs in ASP.NET Core\n- creating lightweight microservices\n- choosing between Minimal APIs and controllers\n- organizing endpoints with route groups\n- implementing validation and filters\n\n## Documentation\n\n- [Minimal APIs Overview](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Faspnet\u002Fcore\u002Ffundamentals\u002Fminimal-apis?view=aspnetcore-10.0)\n- [Minimal API Tutorial](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Faspnet\u002Fcore\u002Ftutorials\u002Fmin-web-api?view=aspnetcore-10.0)\n- [Filters in Minimal APIs](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Faspnet\u002Fcore\u002Ffundamentals\u002Fminimal-apis\u002Fmin-api-filters?view=aspnetcore-10.0)\n- [OpenAPI Support](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Faspnet\u002Fcore\u002Ffundamentals\u002Fopenapi\u002Foverview?view=aspnetcore-10.0)\n- [Route Groups](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Faspnet\u002Fcore\u002Ffundamentals\u002Fminimal-apis\u002Froute-handlers?view=aspnetcore-10.0#route-groups)\n\n### References\n\n- [patterns.md](references\u002Fpatterns.md) - detailed route groups, filters, TypedResults patterns, parameter binding, error handling, and testing\n- [anti-patterns.md](references\u002Fanti-patterns.md) - common Minimal API mistakes to avoid\n\n## When to Use Minimal APIs vs Controllers\n\n| Use Minimal APIs | Use Controllers |\n|------------------|-----------------|\n| New projects | Existing MVC\u002FAPI projects |\n| Microservices | Complex model binding |\n| Simple CRUD APIs | OData, JsonPatch |\n| Lightweight handlers | Heavy use of attributes |\n| .NET 8+ projects | Need `[ApiController]` features |\n\n## Workflow\n\n1. **Define endpoints directly in Program.cs** (for small APIs)\n2. **Use route groups** for related endpoints\n3. **Move handlers to separate classes** as the API grows\n4. **Apply filters** for cross-cutting concerns\n5. **Use TypedResults** for type-safe responses\n6. **Generate OpenAPI docs** with `.WithOpenApi()`\n\n## Current Upstream Notes\n\n- `dotnet\u002Faspnetcore` `v10.0.11` is servicing; it does not change the Minimal API route-group, filter, or `TypedResults` model, but it updates the OpenAPI stack to `2.7.5`. Re-run document-generation and contract snapshots after upgrading.\n- The August 2026 `aspnetcore-10.0` overview still routes lightweight HTTP APIs here. Use the dedicated Minimal API pages when exact OpenAPI, filter, or parameter-binding behavior matters.\n\n## Basic Patterns\n\n### Simple Endpoints\n```csharp\nvar app = builder.Build();\n\napp.MapGet(\"\u002F\", () => \"Hello World\");\n\napp.MapGet(\"\u002Fproducts\u002F{id}\", (int id) => Results.Ok(new { Id = id }));\n\napp.MapPost(\"\u002Fproducts\", (Product product) => Results.Created($\"\u002Fproducts\u002F{product.Id}\", product));\n```\n\n### TypedResults (Strongly-Typed)\n```csharp\napp.MapGet(\"\u002Fproducts\u002F{id}\", Results\u003COk\u003CProduct>, NotFound> (int id, AppDb db) =>\n{\n    var product = db.Products.Find(id);\n    return product is not null\n        ? TypedResults.Ok(product)\n        : TypedResults.NotFound();\n});\n```\n\n### Dependency Injection\n```csharp\napp.MapGet(\"\u002Fproducts\", async (IProductService service) =>\n{\n    return await service.GetAllAsync();\n});\n\n\u002F\u002F Or with [FromServices] for clarity\napp.MapGet(\"\u002Fproducts\", async ([FromServices] IProductService service) =>\n    await service.GetAllAsync());\n```\n\n## Route Groups\n\n### Basic Grouping\n```csharp\nvar products = app.MapGroup(\"\u002Fapi\u002Fproducts\");\n\nproducts.MapGet(\"\u002F\", GetAll);\nproducts.MapGet(\"\u002F{id}\", GetById);\nproducts.MapPost(\"\u002F\", Create);\nproducts.MapPut(\"\u002F{id}\", Update);\nproducts.MapDelete(\"\u002F{id}\", Delete);\n```\n\n### Groups with Shared Configuration\n```csharp\nvar api = app.MapGroup(\"\u002Fapi\")\n    .RequireAuthorization()\n    .AddEndpointFilter\u003CValidationFilter>();\n\nvar products = api.MapGroup(\"\u002Fproducts\")\n    .WithTags(\"Products\");\n\nvar orders = api.MapGroup(\"\u002Forders\")\n    .WithTags(\"Orders\")\n    .RequireAuthorization(\"AdminOnly\");\n```\n\n## Endpoint Filters\n\n### Inline Filter\n```csharp\napp.MapGet(\"\u002Fproducts\u002F{id}\", (int id) => Results.Ok(id))\n    .AddEndpointFilter(async (context, next) =>\n    {\n        var id = context.GetArgument\u003Cint>(0);\n        if (id \u003C= 0)\n            return Results.BadRequest(\"Invalid ID\");\n\n        return await next(context);\n    });\n```\n\n### Class-Based Filter\n```csharp\npublic class ValidationFilter\u003CT> : IEndpointFilter where T : class\n{\n    public async ValueTask\u003Cobject?> InvokeAsync(\n        EndpointFilterInvocationContext context,\n        EndpointFilterDelegate next)\n    {\n        var argument = context.Arguments\n            .OfType\u003CT>()\n            .FirstOrDefault();\n\n        if (argument is null)\n            return Results.BadRequest(\"Invalid request body\");\n\n        var validator = context.HttpContext.RequestServices\n            .GetService\u003CIValidator\u003CT>>();\n\n        if (validator is not null)\n        {\n            var result = await validator.ValidateAsync(argument);\n            if (!result.IsValid)\n                return Results.ValidationProblem(result.ToDictionary());\n        }\n\n        return await next(context);\n    }\n}\n\n\u002F\u002F Usage\nproducts.MapPost(\"\u002F\", Create)\n    .AddEndpointFilter\u003CValidationFilter\u003CCreateProductRequest>>();\n```\n\n### Global Filters via Root Group\n```csharp\n\u002F\u002F All endpoints inherit filters from root group\nvar root = app.MapGroup(\"\")\n    .AddEndpointFilter\u003CLoggingFilter>()\n    .AddEndpointFilter\u003CErrorHandlingFilter>();\n\nroot.MapGet(\"\u002Fhealth\", () => Results.Ok());\nroot.MapGroup(\"\u002Fapi\u002Fproducts\").MapGet(\"\u002F\", GetProducts);\n```\n\n## Organizing Larger APIs\n\n### Extension Method Pattern\n```csharp\n\u002F\u002F ProductEndpoints.cs\npublic static class ProductEndpoints\n{\n    public static RouteGroupBuilder MapProductEndpoints(this IEndpointRouteBuilder app)\n    {\n        var group = app.MapGroup(\"\u002Fapi\u002Fproducts\")\n            .WithTags(\"Products\");\n\n        group.MapGet(\"\u002F\", GetAll);\n        group.MapGet(\"\u002F{id}\", GetById);\n        group.MapPost(\"\u002F\", Create);\n\n        return group;\n    }\n\n    private static async Task\u003COk\u003CList\u003CProduct>>> GetAll(IProductService service)\n        => TypedResults.Ok(await service.GetAllAsync());\n\n    private static async Task\u003CResults\u003COk\u003CProduct>, NotFound>> GetById(\n        int id, IProductService service)\n    {\n        var product = await service.GetByIdAsync(id);\n        return product is not null\n            ? TypedResults.Ok(product)\n            : TypedResults.NotFound();\n    }\n\n    private static async Task\u003CCreated\u003CProduct>> Create(\n        CreateProductRequest request, IProductService service)\n    {\n        var product = await service.CreateAsync(request);\n        return TypedResults.Created($\"\u002Fapi\u002Fproducts\u002F{product.Id}\", product);\n    }\n}\n\n\u002F\u002F Program.cs\napp.MapProductEndpoints();\napp.MapOrderEndpoints();\n```\n\n## Request\u002FResponse DTOs\n\n```csharp\n\u002F\u002F Separate from domain models\npublic record CreateProductRequest(string Name, decimal Price);\npublic record UpdateProductRequest(string Name, decimal Price);\npublic record ProductResponse(int Id, string Name, decimal Price);\n\n\u002F\u002F Don't expose domain entities directly\napp.MapPost(\"\u002Fproducts\", (CreateProductRequest request, IMapper mapper) =>\n{\n    var product = mapper.Map\u003CProduct>(request);\n    \u002F\u002F ...\n    return TypedResults.Created($\"\u002Fproducts\u002F{product.Id}\",\n        mapper.Map\u003CProductResponse>(product));\n});\n```\n\n## Anti-Patterns to Avoid\n\n| Anti-Pattern | Why It's Bad | Better Approach |\n|--------------|--------------|-----------------|\n| Everything in Program.cs | Unmaintainable | Use extension methods |\n| No route groups | Repetitive config | Group related endpoints |\n| Manual validation | Error-prone | Use filters + FluentValidation |\n| Exposing entities | Tight coupling | Use DTOs |\n| No TypedResults | No compile-time checks | Use `TypedResults` |\n| Ignoring OpenAPI | No documentation | Add `.WithOpenApi()` |\n\n## OpenAPI Integration\n\n```csharp\nbuilder.Services.AddOpenApi();\n\napp.MapOpenApi();  \u002F\u002F Serves OpenAPI spec\n\napp.MapGet(\"\u002Fproducts\", GetProducts)\n    .WithName(\"GetProducts\")\n    .WithSummary(\"Get all products\")\n    .WithDescription(\"Returns a list of all available products\")\n    .Produces\u003CList\u003CProduct>>(StatusCodes.Status200OK)\n    .ProducesProblem(StatusCodes.Status500InternalServerError);\n```\n\n## Deliver\n\n- clean, organized Minimal API endpoints\n- proper use of route groups and filters\n- type-safe responses with TypedResults\n- OpenAPI documentation\n- validation with endpoint filters\n\n## Validate\n\n- endpoints return correct status codes\n- validation filters catch invalid input\n- OpenAPI spec is accurate\n- route groups share common configuration\n- handlers are testable (can mock dependencies)\n",{"name":5,"description":7,"compatibility":50},"Requires ASP.NET Core 6+, preferably .NET 8+ for full features.","main","497cc9aba79a931ac6fb8d36a48cc22fe3d6d74b","catalog\u002FFrameworks\u002FMinimal-APIs\u002Fskills\u002Fminimal-apis",41,"https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills","https:\u002F\u002Fskills.managed-code.com","https:\u002F\u002Fgithub.com\u002Fmanagedcode","https:\u002F\u002Fwww.managed-code.com","Open Source Community for .NET Developers: Reliable, Actively Maintained, and Community-Driven. Made in Ukraine 🇺🇦 with ❤️","2026-11-14 19:05:44",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add managedcode\u002Fdotnet-skills --skill minimal-apis",{"tool":67,"command":68},"bunx","bunx skills add managedcode\u002Fdotnet-skills --skill minimal-apis",{"tool":70,"command":71},"pnpm","pnpm dlx skills add managedcode\u002Fdotnet-skills --skill minimal-apis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FFrameworks\u002FMinimal-APIs\u002Fskills\u002Fminimal-apis\u002FSKILL.md",true,[75,81,85],{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"manifest.json","REFERENCE","参考文档",46,"https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FFrameworks\u002FMinimal-APIs\u002Fskills\u002Fminimal-apis\u002Fmanifest.json",{"path":82,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fanti-patterns.md",15446,"https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FFrameworks\u002FMinimal-APIs\u002Fskills\u002Fminimal-apis\u002Freferences\u002Fanti-patterns.md",{"path":86,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fpatterns.md",13938,"https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FFrameworks\u002FMinimal-APIs\u002Fskills\u002Fminimal-apis\u002Freferences\u002Fpatterns.md",[90,111,127,157,167,194],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":45},"01M6DYQE1Y9FHAQHEDTVFQ3447","xtwitter-scraper","Use XTwitterScraper when a .NET application needs typed access to Xquik's X automation REST API for tweet search, user lookup, posting workflows, extraction jobs, monitors, webhooks, or giveaway draws. USE FOR: integrating the XTwitterScraper NuGet package; reviewing Xquik API client usage; modeling API-key configuration, pagination, binary exports, raw responses, retries, and webhook\u002Fevent flows in .NET. DO NOT USE FOR: unrelated stacks; direct browser automation; generic social-media strategy; or code that does not call Xquik. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FLibraries\u002FXTwitterScraper\u002Fskills\u002Fxtwitter-scraper\u002FSKILL.md",[],[97,98,99,41,100,101,102,39,103,104,105,106,37,34,107,32,108,29,109,110],"xtwitter scraper","browser automation","workflows","code","browser","search","api","Media","api client","access","webhooks","social","modeling","webhook",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":45},"01M6DYQ9S4PE1H6G8MCH9T21HR","sep","Use Sep for high-performance separated-value parsing and writing in .NET, including delimiter inference, explicit parser\u002Fwriter options, and low-allocation row\u002Fcolumn workflows. USE FOR: delimited data needs are performance-sensitive and allocation-aware; project needs explicit control over separator inference, escaping, trimming, and header behavior;. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FLibraries\u002FSep\u002Fskills\u002Fsep\u002FSKILL.md",[],[113,118,119,99,43,41,39,120,121,122,37,36,34,32,31,123,124,125,29,126],"writing","performance","data","parsing","parser","writer","options","project","high-performance",{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":45},"01M6DZS2DNEPXCGGF6SSCW6G5V","webgpu-threejs-tsl","Comprehensive guide for developing WebGPU-enabled Three.js applications using TSL (Three.js Shading Language). Covers WebGPU renderer setup, TSL syntax and node materials, compute shaders, post-processing effects, and WGSL integration. Use this skill when working with Three.js WebGPU, TSL shaders, node materials, or GPU compute in Three.js.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fexternal-sources\u002Fupstreams\u002Fwebgpu-claude-skill\u002Fskills\u002Fwebgpu-threejs-tsl\u002FSKILL.md",[],[134,135,136,137,138,139,140,141,142,143,144,145,35,146,147,148,149,150,151,152,153,154,155,156,23],"webgpu","threejs","webgpu threejs tsl","setup","shaders","gpu","integration","applications","js","node","syntax","guide","language","three","compute","post","processing","with","renderer","for","materials","wgsl","effects",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":45},"01M6DZS0BQXW2B56A289XF1X76","roslynk","Use Roslynk for semantic inspection and edits of *.cs, *.razor and *.cshtml solution files.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fexternal-sources\u002Fupstreams\u002Froslynk\u002Fskills\u002Froslynk\u002FSKILL.md",[],[159,35,32,164,165,153,166],"semantic","razor","inspection",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":45},"01M6DZRW6MEJCVW80K3S4XV60K","system-text-json-net11","Imperative guidance for the System.Text.Json APIs added in .NET 11: the built-in `JsonNamingPolicy.PascalCase` naming policy, and the strongly-typed generic `JsonSerializerOptions.GetTypeInfo` and `JsonSerializerOptions.TryGetTypeInfo` metadata accessors (generic overloads that return a typed `JsonTypeInfo`). USE ONLY when the user is targeting net11.0 or later and needs PascalCase JSON property or dictionary-key names without writing a custom naming policy, a strongly-typed generic `JsonTypeInfo` instead of the non-generic `JsonTypeInfo`, or a no-throw way to probe whether a type's serialization metadata is resolved. DO NOT USE when the target is earlier than net11.0, the requested behavior uses an established pre-net11 naming policy, or the user explicitly selected another JSON library.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fexternal-sources\u002Fupstreams\u002Fdotnet-skills\u002Fplugins\u002Fdotnet11\u002Fskills\u002Fsystem-text-json-net11\u002FSKILL.md",[],[174,175,176,177,118,178,179,180,181,182,183,35,184,185,186,187,31,188,189,190,191,153,192,193,23],"system","json","text","system text json net11","policy","metadata","library","serialization","behavior","user","only","probe","guidance","later","type","dictionary","naming","targeting","custom","generic",{"skillNo":195,"name":196,"nameZh":6,"description":197,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":198,"categories":199,"keywords":200,"publishedAt":45},"01M6DZRRJP3S662NFSG1RSPQQ7","process-api-net11","Provides guidance on the new System.Diagnostics.Process APIs introduced in .NET 11: Process.Run, Process.RunAndCaptureText, Process.StartAndForget, Process.ReadAllText\u002FBytes\u002FLines, KillOnParentExit, InheritedHandles, and StartDetached. USE FOR: starting, orchestrating, or capturing output from external processes in applications targeting net11.0 or later. DO NOT USE FOR: applications targeting .NET 10 or earlier, or basic pre-.NET 11 Process.Start usage without new APIs.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fexternal-sources\u002Fupstreams\u002Fdotnet-skills\u002Fplugins\u002Fdotnet11\u002Fskills\u002Fprocess-api-net11\u002FSKILL.md",[],[103,201,202,203,41,204,141,174,35,186,187,31,205,206,207,208,191,153,21],"process","process api net11","diagnostics","start","basic","processes","output","usage"]