What problem does it solve?
This skill scans and reviews the MarketNest endpoint layer to enforce consistent HTTP status conventions, RFC 7807 Problem Details compliance, HTMX response contracts, and robust Minimal API patterns.
Core Features & Use Cases
- Enforces HTTP status code conventions for Create/Read/Update/Delete operations and returns appropriate ProblemDetails when errors occur.
- Validates Problem Details structure and correlationId usage across Razor Pages, Minimal APIs, and exception handling middleware.
- Verifies FluentValidation wiring and automatic validation via MediatR pipeline to minimize manual validation logic.
- Checks HTMX endpoint patterns, anti-forgery usage, and HX-Trigger/headers for correct partial updates.
- Generates an actionable fix report with ready-to-adopt code patterns and OpenAPI metadata documentation suggestions.
- Useful for CI/code-review workflows, security audits, and onboarding new endpoint code.
Quick Start
Use this skill to audit your MarketNest API contracts and generate a prioritized report of fixes.