What problem does it solve? API layers drift over time: endpoints ship without validation, pagination is missing on large tables, auth checks are inconsistent, and contracts diverge between backend and frontend. This Skill runs a structured, scored audit of the entire API surface so teams can find systemic gaps before releases instead of discovering them in production. ## Core Features & Use Cases - 12-dimension scoring (D1-D12): Evaluates input validation, payload efficiency, pagination, error handling, caching, HTTP semantics, client-side waterfalls, rate limiting, auth, documentation, contract stability via oasdiff, and an optional OWASP API Security Top 10 pass (BOLA, BFLA, mass assignment, JWT alg-confusion, GraphQL introspection). - Multi-stack endpoint discovery: Detects and inventories routes across NestJS, Cloudflare Workers, FastAPI, Hono, Next.js, and frontend call patterns (React Query, fetch/axios), cross-checked against OpenAPI specs when present. - Tiered depth and safe probing: LIGHT/STANDARD/DEEP tiers with optional GET-only probing gated by strict environment rules (production refused by default), plus cross-cutting analysis of contract consistency, money fields, and an endpoint-by-role auth matrix. - Use Case: Before a major release of a NestJS backend, run the full audit to score all endpoints, confirm no BOLA vulnerabilities exist on object-level routes, and produce a prioritized findings report with file:line evidence. ## Quick Start Ask the assistant to run the api-audit skill in full mode against the current repository to score every endpoint and generate the audit report.