Next.js Cache Components
Use this skill when
Use when changing Next.js 16 Cache Components, PPR, cacheComponents, use cache, cacheLife, cacheTag, updateTag, revalidateTag, or Suspense boundaries around dynamic runtime data.
Workflow
- Confirm whether
cacheComponentsis enabled innext.config.*. - Classify content as static, cached, or dynamic runtime data.
- Keep
cookies(),headers(), andsearchParamsout of cached functions unless using a documented private cache pattern. - Pair mutations with the correct invalidation primitive.
- Validate with
bun run buildwhen local toolchain permits.
Skill graph
Read references/graph.md for routing. Related skills: next-best-practices, testing-infra, vercel-deployment.
References
- references/workflow.md: detailed workflow imported from Vercel's Next skills and adapted for Seed.
- references/graph.md: related skills and handoff boundaries.
Scripts
See scripts/README.md. Run the inspector before broad changes.
Assets
See assets/README.md for checklists and evals.