Giverny

Sanity Best Practices

Sanity development best practices for schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text, Studio structure, localization, migrations, Sanity Functions…

by Sanity★ 203FrontendOfficialUpdated 2026-11-30

What Sanity Best Practices does

Sanity development best practices for schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text, Studio structure, localization, migrations, Sanity Functions, webhooks, Blueprints, and framework integrations such as Next.js, Nuxt, Astro, Remix, SvelteKit, Angular, Hydrogen, the App SDK, and Studios or apps running in the Sanity Dashboard (defineApplication). Use this skill whenever working with Sanity schemas, defineType or defineField, GROQ or defineQuery, content modeling, Presentation or preview setups, Sanity-powered frontend integrations, event-driven content automation,

How to install Sanity Best Practices in Claude Code

Giverny gives you a ready prompt with the exact install command from sanity-io/agent-toolkit. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone sanity-io/agent-toolkit and copy the skills/sanity-best-practices folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Sanity Best Practices on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the sanity-best-practices skill on my current project.”

More Claude skills for frontend