What problem does it solve?
Ensures SYNTHEX API endpoints behave correctly, follow declared contracts, and remain secure by detecting schema mismatches, authentication and authorization gaps, misconfigured CORS, missing rate limits, and breaking changes across Next.js API routes.
Core Features & Use Cases
- Comprehensive Endpoint Validation: Scans app/api routes and exercises supported HTTP methods to verify correct status codes, payload handling, and error responses.
- Schema and Contract Testing: Validates request and response shapes against Zod schemas and reports expected versus actual types.
- Security and Operational Checks: Verifies authentication flows, role-based authorization, rate limiting, CORS restrictions, and flags sensitive data leakage or timeouts.
- Use Case: When a developer updates a route or a shared Zod schema, run this Skill to detect regressions, produce a pass/fail report per endpoint, and generate findings for remediation.
Quick Start
Run the api-testing skill to scan the app/api routes, exercise supported HTTP methods, validate request and response contracts against Zod schemas, and output a pass/fail security and contract report.