sanity-io

content-modeling-best-practices

62
3
# Install this skill:
npx skills add sanity-io/agent-toolkit --skill "content-modeling-best-practices"

Install specific skill from multi-skill repository

# 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.

# SKILL.md


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.
license: MIT
metadata:
author: sanity
version: "1.0.0"


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

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.