
nextjs-cache-architecture
Design or implement caching in a Next.js 16+ App Router project
by mohamed-hossam1Free
Description
Next.js Cache Architecture is an agent skill for designing caching in a Next.js 16 or newer App Router project. It goes beyond adding a use cache directive where it happens to fit. The skill asks the agent to set up a structure that keeps the cache correct as the codebase grows, including a tag registry, revalidation utilities, Suspense boundaries, and mutation wiring so that writes invalidate the right cached data. Before writing any code, the agent is told to replace placeholders such as an entity or collection name with the names from your own project, so the result fits your codebase rather than a generic example. The skill is meant for teams that are setting up or reworking caching in a Next.js app, and for anyone who wants the use cache directive applied in a planned way rather than scattered across components. It is written as a set of rules and templates the agent applies to your actual project, and it links to further reference material inside its repository for the topics it covers. The skill is published in the mohamed-hossam1/nextjs-skills repository on GitHub.…
Highlights
- Tag registry for cached data
- Revalidation utilities
- Suspense boundary placement
- Mutation wiring that invalidates cache
- Built for Next.js 16 and newer App Router
Ratings & Reviews
No ratings yet
Be the first to rate nextjs-cache-architecture.
People also visit
nextjs-cache-architecture FAQ
What is this skill?
An agent skill for designing caching in a Next.js 16 or newer App Router project.
Does it only add the use cache directive?
No. It asks for a structure with a tag registry, revalidation utilities, Suspense boundaries and mutation wiring so the cache stays correct as the project grows.
Does it adapt to my project?
Yes. It tells the agent to replace placeholders such as [Entity] and [collection] with names from your codebase before writing code.
Which Next.js version is it for?
Next.js 16 and newer, using the App Router.
How do I install it?
Run npx skills add https://github.com/mohamed-hossam1/nextjs-skills --skill nextjs-cache-architecture.
What security audits does it have?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
Where is the source?
On GitHub at mohamed-hossam1/nextjs-skills.
What are the best nextjs-cache-architecture alternatives?
Popular alternatives to nextjs-cache-architecture include next-cache-components-adoption, vercel-labs/next-cache-components and next-cache-components-optimizer. See all nextjs-cache-architecture alternatives










