What problem does it solve?
This skill resolves the security risks, operational inefficiencies, and poor client experience caused by unstandardized edge traffic handling for microservice architectures, where cross-cutting concerns like authentication, rate limiting, and routing are either duplicated across services or missing entirely.
Core Features & Use Cases
- Multi-Platform Gateway Configuration: Implement production-ready routing, JWT authentication, token bucket rate limiting, SSL termination, and circuit breaking for leading gateway tools including Kong, AWS API Gateway, Traefik, and Spring Cloud Gateway.
- BFF Pattern Implementation: Build client-specific Backend for Frontend layers to deliver optimized, minimal payloads for web, mobile, and IoT clients, eliminating over-fetching and under-fetching issues from generic shared APIs.
- Resilience & Observability: Design request aggregation patterns, distributed tracing integration, and RED metrics monitoring for gateways and BFFs to ensure high availability and fast failure detection.
- Real-World Use Case: For an e-commerce platform with web, iOS, and smart TV clients, use this skill to configure a central gateway for edge security and rate limiting, plus separate BFFs owned by each frontend team to serve client-optimized checkout and product data.
Quick Start
Use the api-gateway-design skill to configure a Kong API gateway with JWT validation, tiered rate limiting, and circuit breaking for your internal microservices, plus a mobile BFF that aggregates order, user, and product data into a lean checkout payload.