Skill: Sanity Best Practices
by Sanity
Sanity's official agent skill — schema design, GROQ, TypeGen, Visual Editing, Portable Text, Studio structure, localization, Functions and Blueprints, plus integration guides for eight frontend frameworks.
Sanity's official CMS-agnostic skill for structured content modelling — separation of concerns, references versus embedding, content reuse and taxonomy design, with Sanity-specific notes.
The most expensive mistake in a headless CMS project is modelling content the way the first page looks. Six months later the same copy has to appear in an email, an app and a voice assistant, and every field is named after a slot in a hero component. This skill is Sanity's attempt to get an agent to make the durable choice at the moment the schema is being written, when it is still cheap.
It is deliberately not Sanity-specific. The principles apply to any headless CMS; Sanity implementation notes are added where relevant. Four ideas anchor it: content is data, not pages, so structure it for meaning rather than presentation; a single source of truth, so the same fact is not duplicated across documents; future-proofing for channels that do not exist yet; and editor-centricity, optimising for the people who actually create the content.
Four reference files carry the detail, and the skill tells the agent to open the one that matches the decision in front of it rather than loading all of them:
separation-of-concerns.md — keeping content independent of presentationreference-vs-embedding.md — when a reference beats an embedded object, and when it does notcontent-reuse.md — reuse patterns and the reuse spectrumtaxonomy-classification.md — flat, hierarchical and faceted classificationWhen to reach for it: starting a new project's content model, deciding whether something should be structured or free-form, planning multi-channel delivery, or refactoring an existing model that has drifted page-shaped. It pairs naturally with sanity-best-practices, which covers the implementation side once the model is settled — but it is genuinely useful on a Contentful, Storyblok or Payload project too.
MIT licensed, part of sanity-io/agent-toolkit.
Once installed, ask your agent something like:
Review this schema — it looks like it was modelled around our landing page. Restructure it so the same content can drive an email and a mobile app.
The instructions your agent loads, as published by Sanity.
by Sanity
Sanity's official agent skill — schema design, GROQ, TypeGen, Visual Editing, Portable Text, Studio structure, localization, Functions and Blueprints, plus integration guides for eight frontend frameworks.
Official WordPress skill for Gutenberg block work: block.json, attributes and serialization, dynamic rendering, and the deprecation path that keeps existing content valid.
by Google Cloud
Google's official Spanner skill: provision instances, design primary keys that do not hotspot, write SQL and client-library code, and diagnose slow queries — with DDL and DML gated behind your approval.
by Convex
Convex's official skill for changing the schema of a deployed app without breaking it — add the field optional, backfill with @convex-dev/migrations, verify, then tighten the validator.