
Api Gateway Configuration
- 301 installs
- 202 repo stars
- Updated August 4, 2026
- secondsky/claude-skills
api-gateway-configuration is an agent skill that designs and configures API gateways for routing, authentication, rate limiting, and request transformation for developers who centralize microservice HTTP traffic.
About
api-gateway-configuration is an MIT-licensed agent skill from secondsky/claude-skills that teaches agents to design API gateway layers for microservice architectures. The skill covers six gateway responsibilities: request routing and load balancing, authentication and authorization, rate limiting and throttling, request and response transformation, logging and monitoring, and SSL termination. It includes concrete Kong declarative configuration using _format_version 3.0 YAML with services, routes, and plugins, and applies the same patterns to Nginx, AWS API Gateway, and Traefik setups. Developers reach for api-gateway-configuration when standing up a single public API surface in front of multiple internal services, enforcing JWT or API-key auth at the edge, or adding throttling before traffic hits application pods. The skill outputs gateway config files and routing rules agents can paste into infrastructure repos. Use it during service decomposition or when replacing ad-hoc reverse-proxy snippets with a managed gateway policy layer.
- api-gateway-configuration
Api Gateway Configuration by the numbers
- 301 all-time installs (skills.sh)
- +10 installs in the week ending Jul 27, 2026 (Skillselion tracking)
- Ranked #1,318 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/secondsky/claude-skills --skill api-gateway-configurationAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 301 |
|---|---|
| repo stars | ★ 202 |
| Last updated | August 4, 2026 |
| Repository | secondsky/claude-skills ↗ |
How do you configure an API gateway for microservices?
Use api-gateway-configuration for development tasks
Who is it for?
Backend engineers introducing Kong, Nginx, AWS API Gateway, or Traefik as a centralized edge for multiple HTTP microservices.
Skip if: Single monolith apps that expose one process on one port without need for edge routing or plugin-based policy.
When should I use this skill?
A user asks to set up Kong, Nginx, AWS API Gateway, or Traefik routing, authentication, or rate limiting for services.
What you get
Gateway YAML or infra configs with routes, auth plugins, rate limits, SSL termination, and observability hooks.
- Kong declarative YAML
- Gateway routing and plugin configuration
By the numbers
- Covers 6 gateway responsibilities: routing, auth, rate limits, transforms, logging, and SSL termination
- Includes Kong declarative YAML using _format_version 3.0
Files
API Gateway Configuration
Design and configure API gateways for microservice architectures.
Gateway Responsibilities
- Request routing and load balancing
- Authentication and authorization
- Rate limiting and throttling
- Request/response transformation
- Logging and monitoring
- SSL termination
Kong Configuration (YAML)
_format_version: "3.0"
services:
- name: user-service
url: http://user-service:3000
routes:
- name: user-routes
paths: ["/api/users"]
plugins:
- name: rate-limiting
config:
minute: 100
policy: local
- name: jwt
- name: order-service
url: http://order-service:3000
routes:
- name: order-routes
paths: ["/api/orders"]Nginx Configuration
upstream backend {
server backend1:3000 weight=5;
server backend2:3000 weight=5;
keepalive 32;
}
server {
listen 443 ssl;
location /api/ {
proxy_pass http://backend;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_cache_valid 200 1m;
}
location /health {
return 200 'OK';
}
}AWS API Gateway (SAM)
Resources:
ApiGateway:
Type: AWS::Serverless::Api
Properties:
StageName: prod
Auth:
DefaultAuthorizer: JWTAuthorizer
Authorizers:
JWTAuthorizer:
JwtConfiguration:
issuer: !Sub "https://cognito-idp.${AWS::Region}.amazonaws.com/${UserPoolId}"Best Practices
- Authenticate at gateway level
- Implement global rate limiting
- Enable request logging
- Use health checks for backends
- Apply response caching strategically
- Never expose backend details in errors
- Enforce HTTPS in production
Related skills
How it compares
Use api-gateway-configuration when you need edge routing and policy plugins; use service-mesh skills when traffic policy lives sidecar-to-sidecar inside the cluster.
FAQ
Which API gateways does api-gateway-configuration cover?
The api-gateway-configuration skill covers Kong, Nginx, AWS API Gateway, and Traefik. It maps shared concerns—routing, authentication, rate limiting, transforms, logging, and SSL termination—onto each platform's configuration style.
What Kong format does api-gateway-configuration use?
The api-gateway-configuration skill includes Kong declarative YAML using _format_version 3.0 with services and routes. Agents can extend those blocks with plugins for authentication, throttling, and request transformation.
When should teams add an API gateway?
Teams should add an API gateway when multiple microservices need one public HTTP entrypoint with centralized auth and rate limits. The api-gateway-configuration skill helps design that edge before traffic reaches individual service pods.