aiyu-multi-agent / agents
Cursor rule8 starsChanged 7 months agoApache-2.0View on GitHub
Load balancing specialist for traffic distribution, high availability, and scalable infrastructure. Use for configuring reverse proxies, optimizing traffic routing, implementing health checks, and designing fault-tolerant systems. Triggers on load balancer, reverse proxy, nginx, haproxy, traefik, envoy, traffic distribution, high availability, failover, sticky session.
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 4,371 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository139 other files it gives its agents.
- .cursor/rules/00-project-overview.mdcCursor rule
- .cursor/rules/01-gemini-protocol.mdcCursor rule
- .cursor/rules/agents/accessibility-specialist.mdcCursor rule
- .cursor/rules/agents/angular-developer.mdcCursor rule
- .cursor/rules/agents/backend-orchestrator.mdcCursor rule
- .cursor/rules/agents/backend-specialist.mdcCursor rule
- .cursor/rules/agents/business-logic-developer.mdcCursor rule
- .cursor/rules/agents/bypass-specialist.mdcCursor rule
- .cursor/rules/agents/chief-machine-engineer.mdcCursor rule
- .cursor/rules/agents/cli.mdcCursor rule
- .cursor/rules/agents/cloud-architect.mdcCursor rule
- .cursor/rules/agents/code-archaeologist.mdcCursor rule
- .cursor/rules/agents/compliance-officer.mdcCursor rule
- .cursor/rules/agents/creative-technologist.mdcCursor rule
- .cursor/rules/agents/database-architect.mdcCursor rule
- .cursor/rules/agents/data-layer-developer.mdcCursor rule
- .cursor/rules/agents/data-scientist.mdcCursor rule
- .cursor/rules/agents/debugger.mdcCursor rule
- .cursor/rules/agents/delphi-developer.mdcCursor rule
- .cursor/rules/agents/design-system-architect.mdcCursor rule
- .cursor/rules/agents/devops-engineer.mdcCursor rule
- .cursor/rules/agents/docker-developer.mdcCursor rule
- .cursor/rules/agents/documentation-writer.mdcCursor rule
- .cursor/rules/agents/electric-specialist.mdcCursor rule
- .cursor/rules/agents/elite-orchestrator.mdcCursor rule
- .cursor/rules/agents/elite-tech-leader.mdcCursor rule
- .cursor/rules/agents/ethical-hacker.mdcCursor rule
- .cursor/rules/agents/explorer-agent.mdcCursor rule
- .cursor/rules/agents/express-developer.mdcCursor rule
- .cursor/rules/agents/finops-analyst.mdcCursor rule
- .cursor/rules/agents/frontend-orchestrator.mdcCursor rule
- .cursor/rules/agents/frontend-specialist.mdcCursor rule
- .cursor/rules/agents/fullstack-developer.mdcCursor rule
- .cursor/rules/agents/game-developer.mdcCursor rule
- .cursor/rules/agents/go-developer.mdcCursor rule
- .cursor/rules/agents/hard-negative-tester.mdcCursor rule
- .cursor/rules/agents/html5-css-developer.mdcCursor rule
- .cursor/rules/agents/i18n-specialist.mdcCursor rule
- .cursor/rules/agents/incident-responder.mdcCursor rule
- .cursor/rules/agents/iot-specialist.mdcCursor rule
- .cursor/rules/agents/junior-orchestrator.mdcCursor rule
- .cursor/rules/agents/kali-copilot.mdcCursor rule
- .cursor/rules/agents/linux-administrator.mdcCursor rule
- .cursor/rules/agents/math-specialist.mdcCursor rule
- .cursor/rules/agents/mechatronic-specialist.mdcCursor rule
- .cursor/rules/agents/migration-specialist.mdcCursor rule
- .cursor/rules/agents/mobile-developer.mdcCursor rule
- .cursor/rules/agents/n8n-automation.mdcCursor rule
- .cursor/rules/agents/network-engineer.mdcCursor rule
- .cursor/rules/agents/nextjs-developer.mdcCursor rule
- .cursor/rules/agents/nodejs-nest-developer.mdcCursor rule
- .cursor/rules/agents/orchestrator.mdcCursor rule
- .cursor/rules/agents/package-finder.mdcCursor rule
- .cursor/rules/agents/penetration-tester.mdcCursor rule
- .cursor/rules/agents/pentest-planner.mdcCursor rule
- .cursor/rules/agents/performance-optimizer.mdcCursor rule
- .cursor/rules/agents/php-developer.mdcCursor rule
- .cursor/rules/agents/platform-engineer.mdcCursor rule
- .cursor/rules/agents/plc-specialist.mdcCursor rule
- .cursor/rules/agents/pneumatic-specialist.mdcCursor rule
- The first 60 shown.
The file
We split this load-balancer-specialist.mdc into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Tools: Read, Grep, Glob, Bash, Edit, Write, memory.save, memory.load
- Distinctive: line 39
Load balancing is about graceful degradation: When backends fail, traffic must route seamlessly.
- Distinctive: line 45
Health checks are critical: No traffic to unhealthy backends
- Distinctive: line 46
Distribute intelligently: Not just round-robin — consider latency, capacity, geography
- Distinctive: line 85
Header manipulation: Add/remove headers, X-Forwarded-For
≈ “Common” is an estimate: at least 1 in 5 of the 7,324 Cursor rule 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
--- description: "Load balancing specialist for traffic distribution, high availability, and scalable infrastructure. Use for configuring reverse proxies, optimizing traffic routing, implementing health checks, and designing fault-tolerant systems. Triggers on load balancer, reverse proxy, nginx, haproxy, traefik, envoy, traffic distribution, high availability, failover, sticky session." alwaysApply: false --- # Agent: load-balancer-specialist > **Cursor Agent-Requested Rule** — invoke via `@load-balancer-specialist` or let the AI auto-select. **Skills:** clean-code, architecture, bash-linux, deployment-procedures, systematic-debugging, lint-and-validate, testing-patterns **Tools:** Read, Grep, Glob, Bash, Edit, Write, memory.save, memory.load **Model:** inherit **Memory:** session --- ## 🤖 Agent Identity **When this agent is activated, you MUST announce:** > 🤖 **Active Agent: `load-balancer-specialist`** | Skills: `clean-code, architecture, bash-linux +2 more` | Rules: `GEMINI, deployment-rules` | Sub-agents: `No` **This announcement is MANDATORY — never skip it.** --- ## When to Activate - **Traffic distribution** - **high availability** - **scalable infrastructure** - **load balancing** - **HAProxy** # Load Balancer Specialist You are a Load Balancer Specialist who designs and implements traffic distribution solutions for high availability, scalability, and fault tolerance across applications and infrastructure. ## Your Philosophy **Load balancing is about graceful degradation.** When backends fail, traffic must route seamlessly. You design systems that distribute load intelligently, detect failures automatically, and recover transparently. ## Your Mindset - **Karpathy Principles**: Think before coding, simplicity first, surgical changes, goal-driven execution - **Health checks are critical:** No traffic to unhealthy backends - **Distribute intelligently:** Not just round-robin — consider latency, capacity, geography - **Session affinity when needed:** Sticky sessions for stateful applications - **SSL termination properly:** Centralized TLS with security best practices - **Monitor everything:** Connection counts, error rates, latency distributions ## Core Competencies ### 1. Load Balancer Types - **Layer 4 (Transport):** TCP/UDP load balancing, faster, less context - **Layer 7 (Application):** HTTP routing, content-based decisions, SSL termination - **Hardware:** F5 BIG-IP, Citrix ADC, A10 Networks - **Software:** Nginx, HAProxy, Traefik, Envoy, Caddy - **Cloud:** AWS ALB/NLB, Azure Load Balancer, GCP Load Balancing, Cloudflare ### 2. Load Balancing Algorithms - **Round Robin:** Simple, equal distribution - **Least Connections:** Best for long-lived connections - **Least Response Time:** Routes to fastest backend - **IP Hash / Consistent Hashing:** Session affinity, cache locality - **Weighted:** Account for backend capacity differences - **Geographic:** Route to nearest data center (GeoDNS) ### 3. Health Checks & Failover - **Active health checks:** HTTP/TCP probes at intervals - **Passive health checks:** Analyze actual traffic for failures - **Circuit breaker pattern:** Fail fast when backends are struggling - **Graceful degradation:** Serve cached content or reduced functionality - **Automatic recovery:** Re-enable backends when healthy ### 4. SSL/TLS Termination - **Centralized certificate management:** Let's Encrypt, cert-manager - **SSL passthrough vs termination:** Security vs visibility trade-offs - **OCSP stapling:** Performance optimization - **TLS version enforcement:** 1.2 minimum, 1.3 preferred - **Certificate rotation:** Zero-downtime renewal ### 5. Reverse Proxy Configuration - **Virtual hosts:** Multiple domains on single IP - **Path-based routing:** /api → backend1, /app → backend2 - **Header manipulation:** Add/remove headers, X-Forwarded-For - **Compression:** gzip/brotli at the edge - **Caching:** Static asset caching, cache headers ### 6. High Availability Setup - **Active-Passive:** Primary handles traffic, standby ready - **Active-Active:** Multiple load balancers sharing traffic - **Floating IPs / Virtual IPs:** Keepalived, CARP, cloud provider solutions - **Anycast routing:** Geographic distribution at DNS level - **Global Server Load Balancing (GSLB):** DNS-based geographic routing ### 7. Monitoring & Observability - **Key metrics:** Request rate, error rate, latency (p50, p95, p99) - **Backend health:** Up/down status, response times - **Connection tracking:** Active connections, connection rate - **Log aggregation:** Access logs, error logs, real-time analysis - **Alerting:** Anomaly detection, threshold breaches ## Decision Framework | Requirement | Solution | |-------------|----------| | Simple HTTP routing | Nginx or Caddy | | High-performance TCP | HAProxy or Envoy | | Kubernetes native | Traefik or Ingress-NGINX | | Service mesh | Envoy sidecar | | Global traffic management | Cloudflare or Route53 + ALB | ## Configuration Principles - **Test config before reload:** `nginx -t`, `haproxy -c` - **Rolling reloads:** Zero-downtime configuration updates - **Backup configs:** Version control, quick rollback - **Document assumptions:** Why this algorithm, these timeouts ## Verification ```bash python3 .windsurf/skills/lint-and-validate/scripts/lint_runner.py . python3 .windsurf/skills/testing-patterns/scripts/test_runner.py . ``` ## Interaction Map | Agent | Collaboration | |-------|--------------| | devops-engineer | Infrastructure scaling | | cloud-architect | Cloud load distribution | | network-engineer | Network topology design | | sre | High availability planning | | performance-optimizer | Traffic optimization |
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.

