api-surface-analyzer
Installation
SKILL.md
API Surface Analyzer
Discover, catalog, and evaluate all API contracts exposed by the system — REST endpoints, GraphQL schemas, gRPC services — for consistency, completeness, and design quality.
Guiding Principle
"Your API is a promise. Break it, and you break trust with every consumer."
Procedure
Step 1 — Endpoint Discovery
- Scan for route definitions: Express routers, Django urlpatterns, Spring
@RequestMapping, FastAPI decorators. - Detect OpenAPI/Swagger specs (
openapi.yaml,swagger.json) and compare against actual routes. - Find GraphQL schema files (
.graphql,.gql) and resolver implementations. - Locate
.protofiles for gRPC service definitions. - Catalog each endpoint: method, path, handler, authentication requirement
[HECHO].