Agent Skills: Content Modeling Best Practices

General principles for structured content modeling that apply across CMSs, with Sanity-specific guidance. Use when designing content schemas, planning content architecture, or evaluating content reuse strategies.

UncategorizedID: sanity-io/agent-toolkit/content-modeling-best-practices

Install this agent skill to your local

pnpm dlx add-skill https://github.com/sanity-io/agent-toolkit/tree/HEAD/skills/content-modeling-best-practices

Skill Files

Browse the full folder contents for content-modeling-best-practices.

Download Skill

Loading file tree…

skills/content-modeling-best-practices/SKILL.md

Skill Metadata

Name
content-modeling-best-practices
Description
General principles for structured content modeling that apply across CMSs, with Sanity-specific guidance. Use when designing content schemas, planning content architecture, or evaluating content reuse strategies.

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

Resources

See resources/ for detailed guidance on specific topics:

  • Separation of content and presentation
  • Reference vs embedding strategies
  • Content reuse patterns
  • Taxonomy and classification