A Claude Code skill that audits and fixes how a Next.js site on Sanity revalidates its cache: which publish re-renders which routes, where one publish re-renders far too much, and where content is never refreshed.
About the skill: Revalidation Audit Skill: Fix Sanity Revalidation in Next.js.
As a Claude Code plugin, in a Claude Code session:
/plugin marketplace add focusreactive/revalidation-audit-skill
/plugin install revalidation-audit@revalidation-audit
Or as a skill only, with the skills CLI:
npx skills add focusreactive/revalidation-audit-skill # this project
npx skills add focusreactive/revalidation-audit-skill --global # all projectsThen, in a Claude Code session, run /revalidation-audit inside the project, or
/revalidation-audit [path to the project] if the skill is installed globally. What it does,
how to read the table and the access levels: skills/revalidation-audit/README.md.
How sync tags work, how GROQ query shapes change them, and the pitfalls found on real sites: Sanity Sync Tags: How GROQ Queries Affect Next.js Cache Revalidation.
The repository root is the plugin and its own marketplace (.claude-plugin/); the skill is
skills/revalidation-audit/. How to work on it: CLAUDE.md. Tests:
node --test.
MIT, FocusReactive. See LICENSE.
