
sanity-best-practices
Sanity development best practices for schema design, GROQ queries, TypeGen
by sanity-ioFree
Description
sanity-best-practices is an agent skill from Sanity's agent toolkit that gives best-practice guidance for building with Sanity, the content platform. It covers schema design, GROQ queries, TypeGen for typed code, Visual Editing, images, Portable Text, Studio structure, localisation and migrations. The skill is a set of topic files maintained by Sanity, and it uses a quick reference so the agent loads only the one or two topic files that match the task, which keeps its context small. Each topic gives the recommended way to do a job, so schema changes, queries and content editing follow the platform's own patterns. The skill is part of the agent-toolkit repository on GitHub and is added to a compatible agent with the skills command. Its audits show Gen Agent Trust Hub and Snyk passed, with Socket showing a warning. It suits developers building a Sanity project who want an agent to follow Sanity's conventions rather than invent its own.…
Highlights
- Schema design and GROQ queries
- TypeGen, Visual Editing and Portable Text
- Localisation and migrations
- Loads only the topic files needed
Ratings & Reviews
No ratings yet
Be the first to rate sanity-best-practices.
People also visit
sanity-best-practices FAQ
What does sanity-best-practices cover?
Schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text, Studio structure, localisation and migrations.
How does it keep context small?
A quick reference points the agent to only the topic files that match the task.
Who maintains it?
Sanity, according to the skill page.
How do I install it?
Run: npx skills add https://github.com/sanity-io/agent-toolkit --skill sanity-best-practices
What security audits has it passed?
Gen Agent Trust Hub and Snyk passed. Socket shows a warning.
What are the best sanity-best-practices alternatives?
Popular alternatives to sanity-best-practices include sanity-io/sanity-best-practices, contentful-custom-app-from-scratch and sanity-migration. See all sanity-best-practices alternatives

















