Skip to content
secondsky avatar

Api Gateway Configuration

API gateway configuration examples for Kong, Nginx, and AWS API Gateway, covering routing, auth, and rate limiting.

CCM score
54 of 100
skills.sh installs
430
GitHub stars
257
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers gateway responsibilities: routing and load balancing, authentication, rate limiting, request transformation, logging, and SSL termination
  • Includes working config snippets for Kong (YAML), Nginx (upstream and server blocks), and AWS API Gateway (SAM with a JWT authorizer)
  • Provides a checklist of gateway best practices, including authenticating at the gateway, enforcing HTTPS, and hiding backend details in errors
  • Designed for teams building microservice architectures that need centralized API management

Install

$ npx -y skills add secondsky/claude-skills --skill api-gateway-configuration -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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;
    }

Details

Repository
github.com/secondsky/claude-skills
Categories
Backend & APIs, DevOps & Cloud
First seen
Jun 3, 2026

Questions

What does the api-gateway-configuration skill do?

api-gateway-configuration configures API gateways for routing, authentication, rate limiting, and request transformation in microservice architectures. It covers Kong, Nginx, AWS API Gateway, and Traefik for centralized API management, with example YAML and Nginx configs for each.

How do I install the api-gateway-configuration skill?

Run npx -y skills add secondsky/claude-skills --skill api-gateway-configuration -y in your project. Once installed, api-gateway-configuration lets your agent set up gateway routes, JWT authentication, and rate limits for backend services.

Which API gateways does api-gateway-configuration support?

api-gateway-configuration gives configuration guidance for Kong, Nginx, AWS API Gateway, and Traefik. Its SKILL.md includes Kong YAML, Nginx upstream and proxy settings, and an AWS SAM template with a JWT authorizer.

Who should use the api-gateway-configuration skill?

api-gateway-configuration suits developers building microservice architectures who need one gateway to handle routing, authentication, and throttling. Its best practices cover gateway-level authentication, global rate limiting, HTTPS enforcement, and hiding backend details in errors.

More from secondsky/claude-skills

All 116

Similar to Api Gateway Configuration

More Backend & APIs