Build Sanity projects with fewer costly mistakes.
content management
Guide Sanity development across schemas, queries, content workflows, integrations, and related frontend tooling.
When to use it
Use these guidelines when setting up, integrating, querying, modeling, previewing, migrating, or automating Sanity projects.
Apply the matching Sanity framework or topic guidance while working on a project; the resulting implementation lands in the project.
What you provide
This skill
npm create astro@latest
Scaffolds an Astro app
npx astro add @sanity/astro
Adds the Astro integration
npm install @sanity/client @sanity/image-url @portabletext/to-html
Installs Sanity packages
The Angular integration examples require @sanity/client and related Sanity packages to be installed in the Angular app.
The Astro integration requires the @sanity/astro package.
A preview API token enables draft-content preview and must remain server-side or be accessed through a backend proxy.