sanity-io/content-modeling-best-practices
Guidelines for designing scalable content models in Sanity
Description
The content modeling skill gives a coding agent structured guidance for designing content schemas in Sanity and other headless CMSes. It explains when an author field should be a reference or an embedded object, how to avoid page-shaped schemas that are built around layouts rather than the meaning of the content, and how to design one content model that works across web, mobile and email. It also covers content reuse patterns and taxonomy design, including when flat tags are better than hierarchical categories. The guidance applies to new projects and to refactoring existing schemas, and it helps with auditing a schema that has drifted toward presentation. The skill is published by Sanity. Install it with the npx skills command in the skill's install section.…
Highlights
- Reference versus embedded object guidance
- Avoids page-shaped schemas
- Content models for web, mobile and email
- Tags versus hierarchical categories
- Works for new projects and refactors
Ratings & Reviews
No ratings yet
Be the first to rate sanity-io/content-modeling-best-practices.
People also visit

content-modeling-best-practices
Structured content modeling guidance for schema design, content architecture

sanity-best-practices
Sanity development best practices for schema design, GROQ queries, TypeGen
sanity-io/sanity-best-practices
Best practices for Sanity Studio, GROQ queries, and content workflows

content-modeling
Use this when you are building new AEM Edge Delivery Services blocks or changing

information-architecture
Design content structure, hierarchy, labelling, and the navigation model
sanity-io/content-modeling-best-practices FAQ
What does this skill do?
It gives a coding agent guidance for designing content schemas in Sanity and other headless CMSes.
What questions does it answer?
Whether a field should be a reference or an embedded object, how to structure taxonomies, and how to reuse content across channels.
How do I install it?
Run npx skills add https://github.com/sanity-io/agent-toolkit --skill content-modeling-best-practices, or paste the repository link into your coding assistant.
Can it audit an existing schema?
Yes. The skill covers auditing an existing schema and refactoring one built around page layouts.
What are the best sanity-io/content-modeling-best-practices alternatives?
Popular alternatives to sanity-io/content-modeling-best-practices include content-modeling-best-practices, sanity-best-practices and sanity-io/sanity-best-practices. See all sanity-io/content-modeling-best-practices alternatives












