Lightlines
By sanity-io

sanity-best-practices

sanity-io23.1k installs

Build Sanity-powered sites with proven patterns.

What it does

Guides Sanity development with topic-specific practices and integration examples for building and improving content-powered applications.

When to use it

Use when setting up or improving Sanity projects, including schemas, queries, frontend integrations, previews, and content workflows.

How to use it

It changes how the agent develops Sanity applications by applying the framework or topic guidance that matches the work.

What you provide

  • An existing project

Uses

Latest review

What you need · 1

An API token enables the optional draft-content preview client; the guide does not explain how to obtain it.


Access · 8

This skill

Sanity documentation

Read

Checks Sanity Visual Editing documentation

npm create astro@latest

Execute

The latest Astro scaffolder

@sanity/astro

Execute

Installs the Sanity Astro integration