Cdn

From clawic/skills · View interactive version

Cdn is an AI agent skill from the GitHub repository clawic/skills. Configure, optimize, and troubleshoot CDN deployments with caching strategies, security hardening, and multi-provider management.

How to use this skill

Skill file

When to Use

User wants to set up, optimize, or debug a CDN. Covers provider selection, caching, security, and performance monitoring.

Quick Reference

| Topic | File |

|-------|------|

| Provider comparison & CLIs | providers.md |

| Security hardening | security.md |

| Caching strategies | caching.md |

| Troubleshooting | troubleshooting.md |

Core Capabilities

  1. Provider selection — Compare Cloudflare, CloudFront, Bunny, Fastly based on use case, traffic, budget
  2. Cache configuration — Set optimal cache-control headers, TTLs, cache keys
  3. Security setup — SSL/TLS, WAF rules, DDoS protection, origin shielding
  4. Performance monitoring — Cache hit ratios, TTFB, regional latency
  5. Invalidation — Purge strategies, CI/CD integration, tagged invalidation
  6. Cost optimization — Bandwidth analysis, tier recommendations, multi-CDN strategies
  7. Troubleshooting — Debug cache misses, stale content, origin overload

Cache-Control Checklist

Before deploying, verify:

Security Checklist

Common Mistakes

Decision: Do I Need a CDN?

Ask about:

If users are mostly local and traffic is low → CDN may add complexity without benefit.

If global users OR heavy static assets OR need DDoS protection → CDN adds value.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.