review-aspnet-api
Review an ASP.NET Core API for HTTP behavior, contracts, dependency injection, middleware, validation, authorization boundaries, error handling and API quality. Use when the request is specifically about controllers, minimal APIs or web APIs.
- License 许可
- MIT
- 最近更新
- 2026-08-30
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- review-aspnet-api
- description
- Review an ASP.NET Core API for HTTP behavior, contracts, dependency injection, middleware, validation, authorization boundaries, error handling and API quality. Use when the request is specifically about controllers, minimal APIs or web APIs.
03 SKILL.md 正文
Review ASP.NET Core API
Review observable API behavior and framework usage before editing.
Review dimensions
HTTP contracts
- correct status codes;
- consistent response shapes;
- route design;
- idempotency;
- pagination;
- validation;
- cancellation tokens.
ASP.NET Core architecture
- middleware ordering;
- dependency injection lifetimes;
- options/configuration;
- filters/endpoints;
- model binding;
- exception handling.
Authorization boundary
- endpoint protection;
- policy/role usage;
- resource-level checks;
- tenant/user boundary enforcement.
Reliability
- timeout handling;
- external dependency failures;
- retries only where safe;
- request cancellation;
- logging/observability.
API maintainability
- contract/domain separation;
- DTO usage;
- versioning concerns;
- duplicated endpoint logic.
Output
Return:
- API summary;
- high-risk endpoints;
- prioritized findings;
- contract issues;
- framework issues;
- authorization concerns;
- recommended fixes;
- test scenarios.
Boundaries
For broad repository review use review-dotnet.
For security-focused analysis use review-security.
04 同仓库更多 Skills
review-training-readiness
Use when a training package must be checked before delivery for content, environment, access, timing, instructor and participant readiness.
design-training
Use when a user asks to design the structure and learning flow of a practical training from an approved need, audience and set of objectives.
define-learning-objectives
Use when a training needs measurable learning objectives derived from the training need, audience and intended workplace outcomes.
create-instructor-brief
Use when an instructor needs a concise delivery brief covering audience, objectives, agenda, demos, labs, logistics, risks and fallback options.
create-assessment
Use when a training needs questions, practical checks or assessment tasks that verify whether learners achieved the defined learning objectives.
analyze-training-need
Use when a client request, brief or idea must be translated into a clear training problem, scope, constraints and success criteria before design starts.