remove-cdn-purge
Skill by notum-cz
Removes the optional CDN purge integration from a Strapi and Next.js project, including the Azure Front Door example provider, the CDN cache widget and the /api/cdn-purge route. It is for developers who want to drop CDN cache eviction while keeping core cache revalidation working.
Install remove-cdn-purge
Built from the published package, never by AI.
git clone --depth 1 https://github.com/notum-cz/strapi-next-monorepo-starter /tmp/strapi-next-monorepo-starter && mkdir -p ~/.claude/skills && cp -r /tmp/strapi-next-monorepo-starter/.claude/skills/remove-cdn-purge ~/.claude/skills/remove-cdn-purgeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/notum-cz/strapi-next-monorepo-starter /tmp/strapi-next-monorepo-starter && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/strapi-next-monorepo-starter/.claude/skills/remove-cdn-purge ~/.gemini/antigravity-cli/skills/remove-cdn-purgeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a step-by-step removal guide for the optional CDN purge layer in a project. The layer covers the bundled Azure Front Door example provider, the Strapi "CDN cache" homepage widget, and the /api/cdn-purge route. The guide deletes CDN-only files, strips the CDN action from the Strapi revalidate controller, removes the route and the widget registration, and deletes the related environment variables. It also removes the CDN section from the cache revalidation doc.
The source says the core cache revalidation feature keeps working after the removal. It lists files and env vars that must be kept, and it ends with typechecks, tests and a docs build to confirm that core revalidation still passes. The guide is aimed at maintainers of this specific repository who need to uninstall the CDN integration cleanly.
Written from the project's SKILL.md and checked against it.
What it can do
- Delete CDN-only filesRemoves the CDN library folder, the cdn-purge API folder, the CDN cache widget and related test and doc files.
- Strip CDN action from revalidate controllerRemoves the purgeCdn handler, its import and its body schema from the Strapi revalidate controller.
- Remove CDN purge routeDeletes the /revalidate/cdn-purge route and the unused CDN config helper from the revalidate service.
- Unregister CDN cache widgetRemoves the cdn-cache widget registration and its icon import from the Strapi admin app.
- Remove CDN environment variablesRemoves CDN and Azure variables from the UI env schema, example env files and turbo.json, keeping core revalidation variables.
- Verify no dangling referencesRuns a grep for leftover CDN and Azure references, typechecks, targeted tests and a docs build.
What you need
- A project with the CDN purge integration installed
- pnpm
- git
- Strapi and Next.js workspace with the apps/ui and apps/strapi folders
Try asking
- Remove the CDN purge integration but keep cache revalidation working
- Uninstall the Azure Front Door provider from this project
- Drop the cdn-purge route and the CDN cache widget
Good to know
- Removes only the CDN purge layer, not the core cache revalidation feature.
- For full removal of revalidation, the source points to the separate remove-cache-revalidation skill.
- The manual steps are for intermixed code. If the CDN commits are isolated, the source suggests git revert instead.
- Core revalidation files such as cache-paths.ts and the shared bearer token helper must be kept.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/remove-cdn-purge/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to remove-cdn-purge
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
remove-cdn-purge: common questions
Does this skill remove cache revalidation too?
No. The source says it removes only the CDN purge layer, and core Strapi to Next.js revalidation keeps working. To remove the whole revalidation feature, the source points to the remove-cache-revalidation skill.
Which Azure variables does it remove?
The source lists AZURE_SUBSCRIPTION_ID, AZURE_RESOURCE_GROUP, AZURE_FRONT_DOOR_PROFILE, AZURE_MI_CLIENT_ID, IDENTITY_ENDPOINT and IDENTITY_HEADER, plus STRAPI_CDN_PURGE_SECRET.
How do I check that the removal worked?
The source says to grep for leftover CDN and Azure references, which should return no matches. It also says the typechecks, the targeted tests and the docs build must pass.
How do I install remove-cdn-purge?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is remove-cdn-purge free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is remove-cdn-purge safe to use?
It scores 73 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to remove-cdn-purge?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
