Manages Sanity CMS schemas, GROQ queries, dataset exports/imports, and Studio configuration. Use when updating Sanity schemas, running GROQ or Vision queries, exporting datasets, modifying content models, or configuring a headless CMS with Sanity.io.
72
90%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Project config, schemas, plugins, document types, and GROQ examples: sanity-config.md. Docs: https://www.sanity.io/docs
get_schema before writing any GROQ. Field names and shapes are not guessable from the frontend code.author-> on an array field (or author[]-> on a single one) returns null with no error — the query just yields empty data.drafts. prefix. Unpublished documents live at drafts.<id>; queries and mutations that ignore it silently miss or clobber content.defineType / defineField for every schema — plain object literals lose type safety.sanity start surfaces schema errors immediately.sanity dataset export then sanity dataset import into a temporary dataset and re-run queries there.fa0c341
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.