api-gateway-proxy-expert
Skill75 starsChanged 38 days agoMITView on GitHub
Expert guide for API Gateways, Reverse Proxies, and Service Mesh. Covers Kong, Traefik, NGINX, Cloudflare Gateway, and load balancing / Panduan ahli untuk API Gateway, Reverse Proxy, dan Service Mesh.
In this repository149 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/vibes-plug-core.mdcCursor rule
- accessibility-testing-expertSkill
- adaptive-model-cascadeSkill
- affective-computing-emotion-aiSkill
- agentic-coding-workflow-expertSkill
- agentic-memory-architectSkill
- agentic-micro-economy-architectSkill
- ai-code-review-autonomousSkill
- ai-llm-integration-expertSkill
- ai-media-generation-expertSkill
- ai-prompt-engineering-expertSkill
- ai-safety-governance-expertSkill
- angular-expertSkill
- anti-slopSkill
- api-design-expertSkill
- app-analyzer-optimizerSkill
- apple-ecosystem-expertSkill
- app-promo-media-expertSkill
- astro-framework-expertSkill
- async-queue-temporal-expertSkill
- authentication-identity-expertSkill
- autonomous-api-drift-healerSkill
- autonomous-red-teamerSkill
- autonomous-tdd-debuggerSkill
- biome-linter-formatter-expertSkill
- blockchain-web3-expertSkill
- brainstormingSkill
- browser-automation-expertSkill
- bun-runtime-expertSkill
- chatbot-messaging-expertSkill
- ci-cd-devops-architectSkill
- cloud-hosting-expertSkill
- coderabbitSkill
- compliance-gdpr-privacy-expertSkill
- composable-mach-architectSkill
- context-window-engineerSkill
- cron-scheduler-expertSkill
- database-orm-expertSkill
- data-pipeline-etl-expertSkill
- data-telemetry-expertSkill
- data-visualization-expertSkill
- deep-research-analystSkill
- dependency-upgrade-migratorSkill
- design-system-architectSkill
- desktop-electron-expertSkill
- documentation-site-expertSkill
- doku-mcp-serverSkill
- doku-payment-gatewaySkill
- domain-driven-design-expertSkill
- e2e-testing-expertSkill
- ecommerce-expertSkill
- email-notification-expertSkill
- ephemeral-generative-ui-architectSkill
- ephemeral-wasm-sandbox-executorSkill
- error-resilience-expertSkill
- event-driven-architectSkill
- feature-flag-analytics-expertSkill
- file-upload-media-expertSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
When architecting a microservices backend that needs a unified entry point (BFF - Backend for Frontend).
- Distinctive: line 22
When configuring SSL/TLS termination, rate limiting, or IP allowlisting at the infrastructure level.
- Distinctive: line 23
When the user asks about "Traefik", "NGINX config", "Kong", or "API routing".
- Distinctive: line 24
When implementing blue-green deployments or canary releases via traffic splitting.
- Distinctive: line 29
Instead of client applications calling individual microservices, route all traffic through an API Gateway.
- Very specific: line 31
Routing: Use path-based routing (e.g., /api/users -> Users Service, /api/billing -> Billing Service).
- Distinctive: line 37
Cloudflare (Edge): Use Cloudflare rules for edge-level caching, WAF, and DDoS protection before traffic even reaches your origin proxy.
- Distinctive: line 40
Timeouts: Always configure strict proxy read/write timeouts to prevent stalled connections from exhausting worker pools.
- Very specific: line 42
X-Forwarded Headers: Ensure your proxy correctly sets X-Forwarded-For and X-Forwarded-Proto so backend services know the client's real IP …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
API Gateway & Reverse Proxy Expert
English | Bahasa Indonesia
<a name="english"></a>
English
Description
A comprehensive guide for routing, load balancing, and managing traffic at the perimeter of your microservices architecture. Covers configuring API Gateways (Kong, Tyk), modern reverse proxies (Traefik, Caddy, NGINX), and understanding Service Mesh patterns.
Trigger Conditions
- When architecting a microservices backend that needs a unified entry point (BFF - Backend for Frontend).
- When configuring SSL/TLS termination, rate limiting, or IP allowlisting at the infrastructure level.
- When the user asks about "Traefik", "NGINX config", "Kong", or "API routing".
- When implementing blue-green deployments or canary releases via traffic splitting.
Core Architectural Guidelines
1. API Gateway Pattern
Instead of client applications calling individual microservices, route all traffic through an API Gateway.
- Cross-Cutting Concerns: Offload authentication (JWT verification), rate limiting, and CORS handling to the Gateway.
- Routing: Use path-based routing (e.g.,
/api/users-> Users Service,/api/billing-> Billing Service).
2. Tool Selection
- Traefik: Best for Docker/Kubernetes environments due to its auto-discovery capabilities via labels/annotations.
- Caddy: Best for simplicity and automatic HTTPS (Let's Encrypt provisioning).
- Kong API Gateway: Best for enterprise environments requiring extensive plugins (OIDC, rate limiting, analytics).
- Cloudflare (Edge): Use Cloudflare rules for edge-level caching, WAF, and DDoS protection before traffic even reaches your origin proxy.
3. Configuration Best Practices
- Timeouts: Always configure strict proxy read/write timeouts to prevent stalled connections from exhausting worker pools.
- Health Checks: Configure active health checks so the proxy can automatically remove failing backend instances from the load balancer pool.
- X-Forwarded Headers: Ensure your proxy correctly sets
X-Forwarded-ForandX-Forwarded-Protoso backend services know the client's real IP and protocol.
Orchestration & Integration
- Sits in front of
js-backend-expert,go-programming-expert, andrust-programming-expertservices. - Offloads work from
rate-limit-abuse-preventionby handling rate limits at the L7 proxy layer. - Complements
ci-cd-devops-architectwhen configuring Docker Compose or Kubernetes Ingress.
<a name="bahasa-indonesia"></a>
Bahasa Indonesia
Deskripsi
Panduan komprehensif untuk routing, load balancing, dan manajemen trafik di lapisan terluar (perimeter) arsitektur microservices. Mencakup konfigurasi API Gateway (Kong), reverse proxy modern (Traefik, Caddy, NGINX), dan Service Mesh.
Kondisi Pemicu
- Saat merancang backend microservices yang membutuhkan satu pintu masuk terpadu (BFF).
- Saat mengonfigurasi terminasi SSL/TLS, rate limiting, atau IP allowlisting di tingkat infrastruktur.
- Saat menerapkan rilis canary atau blue-green deployment melalui pembagian trafik (traffic splitting).
Panduan Arsitektur Inti
1. Pola API Gateway
Jangan biarkan klien (frontend/mobile) memanggil microservices secara langsung.
- Gunakan Gateway untuk menangani masalah lintas-layanan (cross-cutting) seperti verifikasi JWT, CORS, dan rate limiting.
- Gunakan routing berbasis path (jalur).
2. Pemilihan Tool
- Traefik: Pilihan terbaik untuk lingkungan Docker/Kubernetes karena penemuan layanan otomatis (auto-discovery) melalui label.
- Caddy: Pilihan terbaik untuk kemudahan setup dan HTTPS otomatis (Let's Encrypt).
- Kong: Standar industri untuk kebutuhan Enterprise dengan sistem plugin yang kuat.
- Cloudflare: Lini pertahanan pertama untuk WAF dan perlindungan DDoS di sisi Edge.
3. Praktik Terbaik Konfigurasi
- Timeouts: Selalu tetapkan batas waktu (timeout) koneksi proxy untuk mencegah server kehabisan resource karena koneksi yang menggantung.
- Health Checks: Aktifkan health check agar proxy tidak mengirimkan request ke service yang sedang mati.
- Header X-Forwarded: Pastikan proxy menyertakan header
X-Forwarded-Foragar backend mengetahui IP asli klien.
Integrasi Orkestrasi
- Berada di depan service yang dibangun dengan
js-backend-expert,go-programming-expert, ataurust-programming-expert. - Bekerja sama dengan
ci-cd-devops-architectuntuk konfigurasi Ingress Kubernetes atau Docker Compose.
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
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.

