skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

sanity-best-practices

Best practices for Sanity Studio, GROQ queries, and content workflows

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/sanity-io/agent-toolkit --skill sanity-best-practices

Overview

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.

Application

When to use this Skill

Documentation

Show Skills.md file

Sanity Best Practices

Comprehensive best practices and integration guides for Sanity development, maintained by Sanity. Use the quick reference below to load only the one or two topic files that match the task.

When to Apply

Reference these guidelines when:

  • Setting up a new Sanity project or onboarding
  • Integrating Sanity with a frontend framework (Next.js, Nuxt, Astro, Remix, SvelteKit, Hydrogen)
  • Writing GROQ queries or optimizing performance
  • Designing content schemas
  • Implementing Visual Editing and live preview
  • Working with images, Portable Text, or page builders
  • Configuring Sanity Studio structure
  • Setting up TypeGen for type safety
  • Implementing localization
  • Migrating content from other systems
  • Building custom apps with the Sanity App SDK
  • Managing infrastructure with Blueprints
  • Automating content workflows with Sanity Functions

Quick Reference

Integration Guides

Lines 1 - 25 of 68

Recommendations

Explore other random skills

All skillsMy patterns