What problem does it solve?
The api-audit skill automates discovery and review of HTTP endpoints to surface inconsistent naming, untyped or mismatched response shapes, missing input validation, and authentication or authorization gaps so teams can prioritize fixes.
Core Features & Use Cases
- Multi-framework discovery: Detects routes in Fastify, Express, FastAPI, and Next.js projects and inventories methods, paths, handlers, auth, validation, and response typing.
- Conformance checks: Validates REST naming conventions, method–path alignment, versioning, and parameter naming consistency.
- Security and validation audits: Identifies missing input schemas (Zod/Joi/Pydantic), unprotected endpoints, inconsistent auth requirements, and rate-limit blind spots.
- Scorecard & remediation: Produces a prioritized scorecard with critical issues, warnings, and actionable suggestions for naming, responses, validation, and auth.
- Use Case: Run against a monorepo API to produce a remediation plan before a public release or security review.
Quick Start
Use the api-audit skill to scan the project's routes directory and produce a prioritized API audit report.