content-modeling-best-practices
Structured content modeling guidance for schema design, content architecture, content reuse, references versus embedded objects, separation of concerns, and taxonomies across Sanity and other headless CMSes. Use this skill when designing or refactoring content types, deciding field shapes, debating reusable versus nested content, planning omnichannel content models, or reviewing whether a schema is too page-shaped or presentation-driven.
Security Assessment
About content-modeling-best-practices
The content-modeling-best-practices skill provides structured guidance for designing, evaluating, and refactoring content models in headless CMS environments. Its primary purpose is to help teams create content architectures that are flexible, reusable, and maintainable over time. Rather than treating content as page-specific structures, the skill promotes modeling content as structured data, enabling organizations to avoid duplication, establish a single source of truth, and support future content delivery needs across multiple channels. The guidance is applicable to Sanity as well as other headless CMS platforms.
The skill focuses on foundational content modeling decisions and architectural best practices. It covers schema design, content architecture, content reuse strategies, and the tradeoffs between references and embedded content. It also provides guidance on separating content from presentation, designing for omnichannel delivery, and organizing information through taxonomies and classification systems. Additional reference materials address key topics such as separation of concerns, reference-versus-embedding decisions, content reuse patterns, and approaches to flat, hierarchical, and faceted classification.
This skill is intended for content architects, CMS implementers, developers, technical leads, and teams responsible for structured content design. It is particularly useful when starting a new project, reviewing an existing schema, planning content for multiple delivery channels, or determining whether content should be structured or free-form. The guidance helps stakeholders make informed modeling decisions while keeping editor workflows, maintainability, and long-term scalability in mind.
FAQ
When should I use this skill?
Use this skill when designing a new content model, refactoring existing schemas, deciding between references and embedded content, planning for multi-channel delivery, or evaluating whether content should be structured or free-form.
Is this skill specific to Sanity?
No. The principles apply broadly to headless CMS platforms, although the guidance includes Sanity-specific implementation considerations.
What topics does the skill cover?
The skill covers schema design, content architecture, content reuse, references versus embedded objects, separation of concerns, and taxonomy and classification strategies.
Does this skill provide implementation code or APIs?
No. The available information describes modeling principles and decision-making guidance rather than specific APIs, code examples, or implementation details.
What are the main requirements for applying these practices?
The guidance assumes that content is modeled as structured data, emphasizes avoiding duplication through a single source of truth, plans for future delivery channels, and considers the needs of content editors.
Install content-modeling-best-practices
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
sanity-io/agent-toolkit