content-modeling-best-practices
Installation
Summary
Structured content modeling guidance for schema design, reusability, and multi-channel delivery.
- Covers core principles: treating content as data rather than pages, maintaining single sources of truth, designing for future channels, and optimizing for editor workflows
- Includes decision frameworks for references versus embedded objects, separation of concerns, and content reuse patterns
- Provides taxonomy and classification guidance for flat, hierarchical, and faceted approaches
- Applies to Sanity and other headless CMSes, with Sanity-specific implementation notes included
SKILL.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
References
Start with the reference that matches the modeling decision in front of you, instead of loading every topic at once. See references/ for detailed guidance on specific topics:
references/separation-of-concerns.md— Separating content from presentationreferences/reference-vs-embedding.md— When to use references vs embedded objectsreferences/content-reuse.md— Content reuse patterns and the reuse spectrumreferences/taxonomy-classification.md— Flat, hierarchical, and faceted classification
Weekly Installs
1.4K
Repository
sanity-io/agent-toolkitGitHub Stars
115
First Seen
Jan 24, 2026
Security Audits
Installed on
opencode1.2K
codex1.2K
gemini-cli1.2K
github-copilot1.1K
cursor1.1K
kimi-cli1.1K