api-gateway-configuration

aj-geddes/useful-ai-prompts · updated Apr 8, 2026

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill api-gateway-configuration
0 commentsdiscussion
summary

Design and configure API gateways to handle routing, authentication, rate limiting, and request/response transformation for microservice architectures.

skill.md

API Gateway Configuration

Table of Contents

Overview

Design and configure API gateways to handle routing, authentication, rate limiting, and request/response transformation for microservice architectures.

When to Use

  • Setting up reverse proxies for microservices
  • Centralizing API authentication
  • Implementing request/response transformation
  • Managing traffic across backend services
  • Rate limiting and quota enforcement
  • API versioning and routing

Quick Start

Minimal working example:

# kong.yml - Kong Gateway configuration
_format_version: "2.1"
_transform: true

services:
  - name: user-service
    url: http://user-service:3000
    routes:
      - name: user-routes
        paths:
          - /api/users
          - /api/profile
    plugins:
      - name: rate-limiting
        config:
          minute: 100
          policy: local
      - name: jwt
        config:
          secret: your-secret-key
          key_claim_name: "sub"
      - name: cors
        config:
          origins:
            - "http://localhost:3000"
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

Guide Contents
Kong Configuration Kong Configuration
Nginx Configuration Nginx Configuration
AWS API Gateway Configuration AWS API Gateway Configuration
Traefik Configuration Traefik Configuration
Node.js Gateway Implementation Node.js Gateway Implementation

Best Practices

✅ DO

  • Centralize authentication at gateway level
  • Implement rate limiting globally
  • Add comprehensive logging
  • Use health checks for backends
  • Cache responses when appropriate
  • Implement circuit breakers
  • Monitor gateway metrics
  • Use HTTPS in production

❌ DON'T

  • Expose backend service details
  • Skip request validation
  • Forget to log API usage
  • Use weak authentication
  • Over-cache dynamic data
  • Ignore backend timeouts
  • Skip security headers
  • Expose internal IPs

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.730 reviews
  • Valentina Patel· Dec 24, 2024

    Registry listing for api-gateway-configuration matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Ganesh Mohane· Dec 12, 2024

    We added api-gateway-configuration from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Shikha Mishra· Dec 8, 2024

    I recommend api-gateway-configuration for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Yash Thakker· Nov 27, 2024

    Useful defaults in api-gateway-configuration — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Harper Kim· Nov 15, 2024

    api-gateway-configuration fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Dhruvi Jain· Oct 18, 2024

    api-gateway-configuration has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Zaid Wang· Oct 6, 2024

    api-gateway-configuration is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Aanya Menon· Sep 21, 2024

    Registry listing for api-gateway-configuration matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Carlos Park· Aug 12, 2024

    Keeps context tight: api-gateway-configuration is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Li Sanchez· Jul 27, 2024

    Solid pick for teams standardizing on skills: api-gateway-configuration is focused, and the summary matches what you get after install.

showing 1-10 of 30

1 / 3