skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
aj-geddes/useful-ai-prompts493 installs

api-gateway-configuration

Configure API gateways for routing, authentication, rate limiting, and request/response transformation. Use when deploying microservices, setting up reverse proxies, or managing API traffic.

How do I install this agent skill?

npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill api-gateway-configuration
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill provides reference configurations and templates for setting up various API gateways including Kong, Nginx, AWS API Gateway, Traefik, and a Node.js implementation. The code and configurations follow standard practices, using placeholders for secrets and environment variables for sensitive data. No malicious patterns or security vulnerabilities were detected.

  • Socketwarn

    3 alerts: gptAnomaly, gptSecurity

  • Snykpass

    Risk: LOW · No issues

  • Runlayerpass

    1/10 files flagged

  • ZeroLeakspass

    1 finding · Score: 82/100

What does this agent skill do?

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:

GuideContents
Kong ConfigurationKong Configuration
Nginx ConfigurationNginx Configuration
AWS API Gateway ConfigurationAWS API Gateway Configuration
Traefik ConfigurationTraefik Configuration
Node.js Gateway ImplementationNode.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

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/aj-geddes/useful-ai-prompts/api-gateway-configuration">View api-gateway-configuration on skillZs</a>