Setup & Installation
What This Skill Does
Best practices and integration guides for Sanity development, maintained by the Sanity team. Covers schema design, GROQ queries, TypeGen, Visual Editing, Portable Text, localization, migrations, and integrations with Next.js, Nuxt, Astro, Remix, SvelteKit, Hydrogen, and the App SDK.
Instead of hunting across scattered docs and GitHub issues, this skill gives you opinionated, correct patterns for the exact Sanity topic you're working on, with wrong-vs-right code examples included.
When to use it
- Writing type-safe GROQ queries with defineQuery and TypeGen
- Setting up Visual Editing and live preview in a Next.js App Router project
- Modeling a page builder schema with Portable Text and block components
- Migrating HTML content into Portable Text using block-tools
- Configuring Sanity Studio structure for singletons and custom navigation