Build or maintain controller-based ASP.NET Core APIs when the project needs controller conventions, advanced model binding, validation extensions, OData, JsonPatch, or existing API patterns. USE FOR: working on controller-based APIs in ASP.NET Core; needing controller-specific extensibility or conventions; migrating or reviewing existing API controllers and filters. 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.
$npx -y skills add managedcode/dotnet-skills --skill web-apiInstalls into the current project.
Run `npx skills use "https://github.com/managedcode/dotnet-skills" --skill "managedcode/dotnet-skills/web-api"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/managedcode/dotnet-skills" that are relevant to the current task. Run `npx skills add "https://github.com/managedcode/dotnet-skills"` and select the relevant skills, then follow their instructions.