sanity-development
CommunityShip faster with safe Sanity operations.
System Documentation
What problem does it solve?
This skill helps you avoid broken Sanity queries and unsafe content updates by enforcing a schema-first workflow and pairing the right Sanity tool to the right task.
Core Features & Use Cases
- Schema-first querying: Always verify workspaces and document schemas before writing GROQ or assuming fields exist.
- Correct GROQ patterns: Build robust filters, projections (including quoted computed fields), joins/dereferencing, and modern text search using
match text::query(). - Safe document operations: Choose between
query_documents,create_document,patch_document(precise edits),update_document(AI rewrites),transform_document(format-preserving rich text edits), and release-based coordination.
Use this when you need to write or debug GROQ, create/update/query Sanity documents, design content models, or coordinate multi-document publish workflows with releases.
Quick Start
Ask for the exact GROQ query you need for a specific Sanity document type after first retrieving the workspace schema, including the correct projection and any dereferenced fields.
Dependency Matrix
Required Modules
None requiredComponents
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: sanity-development Download link: https://github.com/kmelve/sanity-developer-skill/archive/main.zip#sanity-development Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.