agentleFS
TheBeardedBearSASTheBeardedBearSAS/claude-craft/.claude/skills/api-gateway/SKILL.md

api-gateway

Skill108 starsChanged 5 days agoMITView on GitHub

API Gateway patterns (Kong, Traefik, AWS API Gateway) — rate limiting, auth, routing, versioning. Use when implementing API gateway, reverse proxy, or API management.

11 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

API Gateway — Kong, Traefik, Patterns

API Gateway moderne pour routing, auth, rate limiting, observabilité.

Responsabilités

FonctionOutils
Routing (path, header, canary)Kong, Traefik, Nginx
Auth (JWT, OAuth2, API keys)Kong plugins, Traefik middleware
Rate Limiting (per-user/IP)Redis-backed counters
Load BalancingHAProxy, Traefik
Circuit BreakerResilience4j, Istio

Stacks

Kong — Enterprise, plugins riches, K8s-native
Traefik — Cloud-native, auto-discovery
AWS API Gateway — Managed, serverless
Nginx — Performance max, self-hosted
Envoy — Service mesh (Istio), gRPC

Kong Config

services:
  - name: payment-api
    url: http://payment:8080
    routes: [{ paths: ["/api/payments"] }]
    plugins: [rate-limiting, jwt, prometheus]

Traefik Config

http:
  routers:
    payment:
      rule: "PathPrefix(`/api/payments`)"
      middlewares: [rate-limit, auth]
  middlewares:
    rate-limit:
      rateLimit: { average: 100, burst: 50 }

Rate Limiting Algorithms

Fixed Window — Simple counter, bursty
Sliding Window — Rolling counter, lissé
Token Bucket — Flexible, burst toléré
Leaky Bucket — Output constant, strict


Pour setup : @devops-engineer

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.