sanity-io avatar

Content Modeling Best Practices

Structured content modeling guidance for schema design, reuse, and taxonomy across Sanity and other headless CMSes.

CCM score
62 of 100
skills.sh installs
5.3K
GitHub stars
201
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers core principles: content as data rather than pages, single source of truth, future-proofing, and editor-centric design
  • Includes four reference guides on separation of concerns, references versus embedded objects, content reuse patterns, and taxonomy classification
  • Guides decisions on field shapes, nested versus reusable content, and whether a schema is too presentation-driven
  • Designed for teams designing or refactoring content types and planning omnichannel content delivery in headless CMSes

Install

$ npx -y skills add sanity-io/agent-toolkit --skill content-modeling-best-practices -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Content Modeling Best Practices

Principles for designing structured content that's flexible, reusable, and maintainable. These concepts apply to any headless CMS but include Sanity-specific implementation notes.

When to Apply

Reference these guidelines when:

  • Starting a new project and designing the content model
  • Evaluating whether content should be structured or free-form
  • Deciding between references and embedded content
  • Planning for multi-channel content delivery
  • Refactoring existing content structures

Core Principles

  1. Content is data, not pages — Structure content for meaning, not presentation
  2. Single source of truth — Avoid content duplication
  3. Future-proof — Design for channels that don't exist yet
  4. Editor-centric — Optimize for the people creating content

References

Details

Repository
github.com/sanity-io/agent-toolkit
Categories
Backend & APIs, Databases

More from sanity-io/agent-toolkit

All 7

Similar to Content Modeling Best Practices

More Backend & APIs