/devops-skills:cdnfrom devops-skills
Guides CDN configuration including cache key design, TTL selection, invalidation strategies, origin shielding, and deciding what is safe to cache. Use when configuring a CDN, setting cache-control headers, debugging stale or leaked cached content, or planning cache invalidation after a deploy.
Ships in devops-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A CDN's entire value is serving a response without asking the origin, from a location physically closer to the user. Every problem in CDN configuration traces back to one question asked carelessly: is this response actually the same for the next request, or did it just look that way in testing? Get that wrong and you either serve one user's private data to another, or fail to cache anything and pay full origin cost with extra hops on top.
A cached response is a promise that this exact bytes-for-bytes answer is correct for anyone who asks the same question — verify that promise before you make it.
The cache key — usually URL plus a chosen set of headers/cookies/query params — determines what
counts as "the same request." Too narrow a key (ignoring a header the response actually varies by,
like Accept-Language or an auth cookie) causes one user's personalized or region-specific
response to be served to everyone else. Too broad a key (including a header that doesn't affect
the response, like a random request ID) destroys the cache hit rate by fragmenting it into
singletons.
Vary behavior, don't assume.Done when: two requests that produce the same key always produce the same correct response for either requester.
Static assets with content-hashed filenames can cache essentially forever, because a new version gets a new URL — the old cached copy is never wrong, just superseded. Anything without that property needs a TTL chosen by asking how long a stale answer is tolerable: a product price is not the same tolerance as a blog post body.
Cache-Control: public, max-age=31536000, immutable # hashed filename, cache forever
Cache-Control: public, max-age=60, stale-while-revalidate=30 # changes often, needs freshness
Done when: every cacheable response's TTL is recorded with the staleness window it implies, and no route is serving the platform's default TTL unrecorded.
Purging an entire cache on every deploy forces every request to hit the origin at once — a self-inflicted thundering herd right when the origin just changed and is least proven stable. Targeted invalidation (by URL, by tag, or by relying on content-hashed filenames so nothing needs purging at all) keeps the cache warm for everything unaffected by the deploy.
Done when: a routine deploy invalidates only the URLs it actually changed.
Without a shield, every edge location that misses the cache goes straight to the origin independently — a cold cache after a purge or a new region rollout can multiply origin load by the number of edge locations. An origin shield (a single designated caching layer between edges and origin) collapses those redundant misses into one request per unique resource, and is the difference between a cache miss being routine and being an incident.
Done when: a simultaneous cold-cache event across edge locations produces roughly one origin request per resource, not one per edge location.
Caching a response that contains per-user data, an auth token, or a request that mutates state
(most non-GET methods) is a data-leak or correctness bug waiting to happen, not just a
performance question. Default to not caching anything that isn't explicitly verified safe, rather
than caching by default and discovering the exception in production.
POST/PUT/DELETE) — caching is for idempotent reads.Set-Cookie in a cached response as a red flag — it usually means the response was
meant for one specific client, not the cache in general.Done when: every cached response has been explicitly confirmed identical for any requester who would produce the same cache key.
State the cache-key definition, TTL policy per content class, invalidation strategy used on deploys, and whether origin shielding is in place. Name the honest gap — usually a response class that's cached more broadly than it should be, or an invalidation step still done as a full purge out of caution — rather than reporting the edge layer as fully tuned when only the common path has been verified.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cdn, caching, edge-caching, cache-control, cache-invalidation
88 skills in this plugin
/alertingCovers designing alerts that page a human only when a human needs to act — symptom-based alerting over cause-based, multi-window burn-rate alerts on error budgets, severity tiers that route between page/ticket/dashboard, requiring every page to link a runbook, and tuning out alert fatigue. Use this whenever the user is writing a new alert rule, asking why on-call is paged too often or missing real incidents, choosing an alert threshold, or designing severity routing. For the SLO the burn-rate math comes from use `slo-definition`, and for what a runbook should contain use `runbooks`./api-gatewayCovers the managed front-door pattern for APIs — request routing, centralized auth, rate limiting and quotas, request/response shaping, and recognizing when a gateway helps versus becomes a bottleneck or single point of failure. Use this whenever the user is designing an API entry point, adding rate limits or quotas, centralizing auth for several backend services, transforming a request between an external and internal contract, or debugging a gateway timeout. For east-west traffic between internal services use `service-connectivity`, and for token issuance details use `iam-access-management`./argocd-operationsCovers running Argo CD day to day — structuring app-of-apps, choosing sync policies and waves, reading health versus sync status correctly, and unsticking a degraded or hung Application. Use this whenever the user mentions Argo CD, an Application stuck "Progressing" or "OutOfSync," app-of-apps or ApplicationSets, sync waves and hooks, or asks why a deploy shows synced but the workload is unhealthy. For the underlying model this tool implements use `gitops`; for automated canary analysis on top of it use `progressive-delivery`; for the workloads it manages use `kubernetes-operations`.npx claudepluginhub arjunprabhulal/devops-skills --plugin devops-skills