remove-cache-revalidation
Skill by notum-cz
Removes the Next.js cache revalidation feature from a project, including the optional CDN purge layer. It is for developers who want Strapi publishes to stop invalidating the Next.js cache on demand.
Install remove-cache-revalidation
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-cache-revalidation ~/.claude/skills/remove-cache-revalidationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install remove-cache-revalidation in Claude Code
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-cache-revalidation ~/.gemini/antigravity-cli/skills/remove-cache-revalidationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install remove-cache-revalidation in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill uninstalls the cache revalidation feature from a Next.js and Strapi project. It covers the Strapi document middleware, the revalidate API, the on-demand UI route, cache tagging, the admin revalidate button and the optional CDN purge layer. It deletes the feature-owned files, then reverts the edits the feature made to shared files such as the Strapi bootstrap, the admin app, the hierarchy service, the UI content fetchers, env files, docs and turbo.json.
The skill ends with a grep check for leftover references, then runs typechecks, tests, lint and a docs build, and commits the result. After removal, pages rely only on their ISR revalidate TTL. The source says the hierarchy validation helper must be kept because the hierarchy feature still uses it. It is written for developers maintaining this specific repository.
Written from the project's SKILL.md and checked against it.
What it can do
- Delete feature filesRemoves the revalidate API, middleware, admin extension, CDN widget, UI routes and related tests and docs.
- Revert shared editsRestores edited shared files such as the Strapi bootstrap, admin app, hierarchy service and env files.
- Verify no leftoversRuns a grep for revalidation and CDN purge identifiers and expects no matches related to the feature.
- Run checksRuns typechecks, Strapi and UI tests, lint and the docs build to confirm the project still works.
- Commit changesStages all changes and commits them with a chore message about removing the feature.
- Fast path with git revertNotes that git revert is simpler if the feature was added in a contiguous set of commits.
What you need
- Node.js and pnpm
- Git
- A repository that contains the cache revalidation feature
- Postgres, to run the Strapi app.test.ts suite
Try asking
- Remove the cache revalidation feature from this project and commit it
- Remove only the CDN purge layer but keep on-demand revalidation
- Check the repo for leftover references to revalidate and CDN purge code
Good to know
- Removes the CDN purge layer too. Use the remove-cdn-purge skill to keep on-demand revalidation.
- Keeps validate-admin-token.ts because the hierarchy controller still imports it.
- The Strapi app.test.ts suite needs a running Postgres and is excluded from the removal check.
- Written for one specific project layout with paths under apps/strapi and apps/ui.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/remove-cache-revalidation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to remove-cache-revalidation
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
remove-cache-revalidation: common questions
Does this skill remove the CDN purge layer as well?
Yes. The source says the skill removes the core revalidation pipeline and the CDN purge integration together. To keep on-demand revalidation, the source points to the remove-cdn-purge skill.
Will the hierarchy feature still work after removal?
The source says the hierarchy feature survives. Its controller still imports validate-admin-token.ts, so that file is kept, and the service keeps its update and redirect logic.
What do pages use for caching after revalidation is removed?
According to the source, pages rely solely on their ISR revalidate TTL. Strapi publishes no longer invalidate the Next.js cache on demand.
How do I install remove-cache-revalidation?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is remove-cache-revalidation free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is remove-cache-revalidation 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-cache-revalidation?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
