Sanity

Work on Sanity content and schema from Claude, including authoring entries and developing GROQ queries.

How to install Sanity

Choose the project and content dataset before editing schema or drafts.

  1. Start Claude Code once to register Anthropic’s official marketplace. Then run the install command in your terminal.
  2. Open a new Claude Code session and check the Installed tab in /plugin before using plugin features.
Claude Code · Install in Claude Code
claude plugin install sanity@claude-plugins-official

Try a first task

Add a draft author record with a profile image and test the GROQ query used by the preview. Check that an article with no author still renders as expected.

Package components

  • content-experimentation-best-practices
  • content-modeling-best-practices
  • portable-text-conversion
  • portable-text-serialization
  • sanity-best-practices
  • sanity-migration
  • sanity-studio-upgrade
  • seo-aeo-best-practices
  • /deploy-schema
  • /sanity-review
  • /sanity
  • /typegen
  • Sanity

Publisher references

Homepage

content-experimentation-best-practices Content experimentation and A/B testing

content-modeling-best-practices Structured content modeling guidance for schema

portable-text-conversion Convert HTML and Markdown content into Portable Text

portable-text-serialization Render and serialize Portable Text to React, Svelte

Browse Plugins