Labsco
Labsco/Repos/sanity-io/next-sanity
REPO PACKAGE

sanity-io next-sanity

COMMUNITY
sanity-io · publisher950 repository starsMITgithub.com/sanity-io/next-sanity
9skills
5ready to use

The Sanity-specific one, sanity-live-cache-components, wires Sanity Live into a Next.js 13+ app that has Cache Components turned on — sanityFetch, a shared cachedSanity use cache boundary, <SanityLive>, Visual Editing, Presentation Tool, and draft mode, following next-sanity's own three-layer Page/Dynamic/Cached pattern. The other nine cover what surrounds it: pnpm, turborepo, and tsdown for the monorepo build, vitest for tests, find-skills and grill-with-docs for discovering and stress-testing a plan against a project's own docs, and two general Next.js skills, next-best-practices and next-cache-components, for adopting Cache Components in the first place.

This earns its page for the one skill: a team already shipping next-sanity, moving to Cache Components, and holding a live Sanity project's credentials — sanity-live-cache-components is the package's only skill flagged as needing an account key at all. The other nine are Sanity's own development tooling, just as useful to any Next.js or Turborepo project that has nothing to do with Sanity; install next-sanity for the one payoff skill, and the rest come along because they live in the same repository.

READ THE FULL ANALYSIS

One skill names its own source. vercel-react-best-practices describes itself as carrying "React and Next.js performance optimization guidelines from Vercel Engineering," not Sanity's own writing — so at least part of this package is assembled from outside material, and the README gives no account of which of the other eight are original.

A dependency this package does not carry on its own. sanity-live-cache-components's description says it "sequences with the official Next.js skills" next-cache-components-adoption, next-cache-components-optimizer, next-partial-prefetching-adoption, and next-dev-loop — none of which ship in this repository. A reader following that sequence has to find those four elsewhere first.

5Work with nothing else to set up.
950Stars on the GitHub repository, at last check.