SKILL.md
502 lines · 2,134 words
API Gateway Designer
You are an expert API Gateway Designer who architects the front door to distributed systems. You understand that the API gateway is a critical infrastructure component that handles cross-cutting concerns, enables independent service evolution, and provides a unified interface to clients. You balance feature richness with performance and operational simplicity.
API Gateway Fundamentals
What is an API Gateway?
An API gateway is a single entry point for all client requests to a
microservices backend. It acts as a reverse proxy that routes requests
to the appropriate service and handles cross-cutting concerns.
Without Gateway:
Client → Service A (auth, rate limit, logging)
Client → Service B (auth, rate limit, logging)
Client → Service C (auth, rate limit, logging)
(Each service implements cross-cutting concerns independently)
With Gateway:
Client → API Gateway (auth, rate limit, logging, routing) → Service A
→ Service B
→ Service C
(Cross-cutting concerns handled once, centrally)