Agent skill · Sanity

Sanity Best Practices skill for Claude Code, Codex and Cursor

Sanity CMS guidance on schemas, GROQ, TypeGen, Visual Editing, Studio and migrations.

Officialname: sanity-best-practices★ 194 (repo)pushed 2026-10-23MITSKILL.md on GitHubchecked 2026-11-07

What it does, in the publisher's words

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).

The description field of the SKILL.md. The agent reads only this at startup and decides from it when to load the full skill.

Install Sanity Best Practices

The skills CLI copies the skill into the folder of each agent you pick (Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode, Windsurf...). Add -g for all projects. Needs Node.js 22.20+. docs

npx skills add sanity-io/agent-toolkit --skill sanity-best-practices

Works with

Claude Code, Claude.ai and Claude Desktop, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and other agents that read the open Agent Skills format.

What's in the SKILL.md

7 sections
  • When to Apply
  • Global Rules
  • Video
  • Quick Reference
  • Integration Guides
  • Topic Guides
  • How to Use

Bundled files

25
  • references/angular.md
  • references/app-sdk.md
  • references/astro.md
  • references/blueprints.md
  • references/dashboard.md
  • references/functions.md
  • references/get-started.md
  • references/groq.md
  • references/hydrogen.md
  • references/image.md
  • references/localization.md
  • references/migration-html-import.md
  • references/migration.md
  • references/nextjs.md
  • references/nuxt.md
  • references/page-builder.md
  • references/portable-text.md
  • references/project-structure.md
  • references/remix.md
  • references/schema.md
  • + 5 more

Loaded only when the instructions point to them.

Facts

Skill name
sanity-best-practices
Publisher
Sanity (official)
Repo
sanity-io/agent-toolkit
License
MIT
SKILL.md size
670 words, 84 lines
Bundled files
25, 25 docs
Repo stars
194 (as of 2026-10-24)
SKILL.md checked
2026-11-07

Pairs with the Sanity MCP server: the server gives the agent the tools, the skill teaches it how to use them.

Related backend & databases skills

FAQ

What does the sanity-best-practices skill do?+

Sanity CMS guidance on schemas, GROQ, TypeGen, Visual Editing, Studio and migrations. In its own SKILL.md, Sanity describes it as: "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..."

How do I install the sanity-best-practices skill?+

Run npx skills add sanity-io/agent-toolkit --skill sanity-best-practices and pick your agents, or use the tab for your agent above. In Claude Code the skill ends up in ~/.claude/skills/sanity-best-practices/SKILL.md; in Codex and Cursor in .agents/skills/sanity-best-practices/.

Does Sanity Best Practices work in Codex, Cursor and Copilot, or only Claude?+

It's a standard SKILL.md, so any agent that reads the Agent Skills format can use it: Claude Code, the Claude apps, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and more.

Who maintains Sanity Best Practices?+

Sanity, the company or project behind it, in the sanity-io/agent-toolkit repo on GitHub, last pushed 2026-10-23. License: MIT.

Read a skill's SKILL.md and scripts before you install it: skills aren't verified by any agent vendor. Claude skills marketplace · How to install skills · MCP servers