Azure Front Door & CDN specialist for AI application frontends — global content delivery, WAF policies, caching rules, edge optimization, SSL/TLS management, and Private Link origins.
Ships in frootai-deploy-infra-skills. Installing the plugin adds it to Claude Code.
Azure Front Door and CDN specialist for global content delivery, edge optimization, WAF integration, and SSL/TLS management. Designs high-performance, globally distributed edge networks that protect and accelerate AI application frontends and API traffic.
| Mistake | Why Wrong | Correct Approach |
|---|---|---|
| Uses Azure CDN Classic for new projects | CDN Classic is legacy, limited WAF, no Private Link | Use Azure Front Door (Standard/Premium) — unified CDN + WAF + routing |
| Caches POST requests for chat endpoints | Chat completions are user-specific, non-cacheable | Only cache GET endpoints (embeddings catalog, static assets), bypass POST |
Sets Cache-Control: public, max-age=31536000 on API responses | AI API responses are dynamic and user-specific | API responses: Cache-Control: no-store. Static assets only get long cache TTL |
| Configures WAF in Detection mode for production | Detection-only logs but doesn't block attacks | Prevention mode in production, Detection mode only during initial tuning |
| Exposes origin server public IP | Attacker bypasses Front Door, hits origin directly | Private Link origin + origin host header validation + IP restriction to Front Door IPs |
Uses wildcard * custom domain | SSL cert issues, no per-subdomain routing control | Explicit domains with managed certificates, one per environment |
resource frontDoor 'Microsoft.Cdn/profiles@2024-02-01' = {
name: frontDoorName
location: 'global'
sku: { name: 'Premium_AzureFrontDoor' } // Required for Private Link
}
resource endpoint 'Microsoft.Cdn/profiles/afdEndpoints@2024-02-01' = {
parent: frontDoor
name: 'ai-app'
location: 'global'
properties: { enabledState: 'Enabled' }
}
resource originGroup 'Microsoft.Cdn/profiles/originGroups@2024-02-01' = {
parent: frontDoor
name: 'app-origins'
properties: {
loadBalancingSettings: { sampleSize: 4, successfulSamplesRequired: 3 }
healthProbeSettings: {
probePath: '/health'
probeProtocol: 'Https'
probeIntervalInSeconds: 30
}
}
}
resource wafPolicy 'Microsoft.Network/FrontDoorWebApplicationFirewallPolicies@2024-02-01' = {
name: 'aiwaf'
location: 'global'
properties: {
policySettings: { mode: 'Prevention', enabledState: 'Enabled' }
managedRules: {
managedRuleSets: [{ ruleSetType: 'Microsoft_DefaultRuleSet', ruleSetVersion: '2.1' }]
}
customRules: {
rules: [{
name: 'RateLimitChatAPI'
priority: 100
ruleType: 'RateLimitRule'
rateLimitThreshold: 60
rateLimitDurationInMinutes: 1
matchConditions: [{ matchVariable: 'RequestUri', operator: 'Contains', matchValue: ['/api/chat'] }]
action: 'Block'
}]
}
}
}
resource route 'Microsoft.Cdn/profiles/afdEndpoints/routes@2024-02-01' = {
parent: endpoint
name: 'default'
properties: {
originGroup: { id: originGroup.id }
patternsToMatch: ['/*']
cacheConfiguration: {
queryStringCachingBehavior: 'IgnoreQueryString'
compressionSettings: {
isCompressionEnabled: true
contentTypesToCompress: ['text/html', 'application/javascript', 'text/css', 'application/json']
}
}
ruleSets: [{ id: noCacheApiRuleSet.id }] // Bypass cache for /api/*
}
}
Access-Control-Allow-Origin: * on API routes → credential exposure| Scenario | Use This Agent | Don't Use |
|---|---|---|
| Global CDN + WAF for AI frontend | ✅ | |
| API gateway with token metering | ❌ Use fai-azure-apim-expert | |
| Static site hosting only | ✅ (Front Door + Storage) | |
| Internal-only API (no edge) | ❌ Use fai-azure-networking-expert |
| Play | How This Agent Helps |
|---|---|
| 01 — Enterprise RAG | CDN for frontend, WAF for API protection |
| 09 — AI Search Portal | Global distribution, caching for static assets |
What the agent file sets; muted values are Claude Code's defaults
7-day visitors to each agent page
@agent-frootai-deploy-infra-skills:FAI Azure CDN Expertfrom frootai-deploy-infra-skills
npx claudepluginhub frootai/frootai --plugin frootai-deploy-infra-skills327 agents in this plugin
AGENTSAGENTS.md — FrootAI Standalone Agents (Auto-Generated Catalog)> **GENERATED FILE — DO NOT EDIT BY HAND.** Re-run `node scripts/generate-agents-md.js` to refresh.FAI A2A ExpertAgent-to-Agent (A2A) protocol specialist — Google's agent interop standard, AgentCard discovery, task lifecycle, streaming artifacts, push notifications, and multi-agent communication patterns.FAI Accessibility ExpertAccessibility specialist — WCAG 2.2 AA/AAA compliance, ARIA 1.2 patterns, screen reader optimization, keyboard navigation, focus management, and inclusive design for AI chatbots and dashboards.FAI ADR WriterADR writer — documents architecture decisions with MADR 3.0 template, context, alternatives, trade-off matrices, consequences, and WAF pillar impact analysis.FAI Agentic RetrieverAgentic retrieval specialist — autonomous source selection, iterative refinement with relevance scoring, multi-hop reasoning, query decomposition, and grounded answer synthesis with inline citations.FAI AG-UI ExpertAG-UI protocol specialist — Agent-User Interaction standard, event-based rendering, streaming state updates, tool call lifecycle, and frontend integration for AI agent experiences.Other plugins' agents for the same job