Back to skills

sanity-best-practices

development

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 i

Setup & Installation

npx skills add https://github.com/sanity-io/sanity-best-practices --skill sanity-best-practices
or paste the link and ask your coding assistant to install it
https://github.com/sanity-io/sanity-best-practices
View on GitHub

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

  • Working with sanity best practices functionality
  • Implementing sanity best practices features
  • Debugging sanity best practices related issues