content-modeling-best-practices
Collection of resources to help AI agents build better with Sanity.
56 stars3 forksUpdated Jan 24, 2026
npx skills add https://github.com/sanity-io/agent-toolkit --skill content-modeling-best-practicesSKILL.md
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
- Content is data, not pages — Structure content for meaning, not presentation
- Single source of truth — Avoid content duplication
- Future-proof — Design for channels that don't exist yet
- Editor-centric — Optimize for the people creating content
Resources
See resources/ for detailed guidance on specific topics:
- Separation of content and presentation
- Reference vs embedding strategies
- Content reuse patterns
- Taxonomy and classification
Repository
sanity-io/agent-toolkitParent repository
Repository Stats
Stars56
Forks3
LicenseMIT License