Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
sanity-io avatar

Content Modeling Best Practices

  • 3.3k installs
  • 171 repo stars
  • Updated July 29, 2026
  • sanity-io/agent-toolkit

content-modeling-best-practices is an agent skill that guides structured headless CMS schema design, reuse patterns, reference versus embed choices, and taxonomy planning.

About

content-modeling-best-practices teaches structured content modeling for headless CMS projects, with Sanity-specific notes but principles that apply broadly. Core principles state content is data not pages, maintain a single source of truth, future-proof for channels that do not exist yet, and optimize for editors creating content. The skill applies when starting new projects, evaluating structured versus free-form content, choosing references versus embedded objects, planning multi-channel delivery, or refactoring schemas that are too page-shaped or presentation-driven. Reference topics include separation of concerns between content and presentation, reference versus embedding tradeoffs, content reuse patterns across the reuse spectrum, and flat hierarchical or faceted taxonomy classification. Developers use it to decide field shapes, debate reusable versus nested content, plan omnichannel models, and review whether a schema is presentation-driven. The references/ directory loads focused guidance per modeling decision instead of one monolithic document.

  • Four core principles: content as data, single source of truth, future-proofing, editor-centric design.
  • Applies when designing schemas, choosing references versus embeds, or refactoring page-shaped models.
  • references/ covers separation of concerns, reference vs embedding, reuse, and taxonomy classification.
  • Targets omnichannel headless CMS design with Sanity implementation notes where relevant.
  • Loads topic-specific reference files instead of dumping every modeling guide at once.

Content Modeling Best Practices by the numbers

  • 3,272 all-time installs (skills.sh)
  • +118 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #119 of 1,879 Documentation skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
At a glance

content-modeling-best-practices capabilities & compatibility

Capabilities
separation of content and presentation guidance · reference versus embedding decision framework · content reuse pattern catalog · taxonomy classification references
Use cases
documentation · planning
From the docs

What content-modeling-best-practices says it does

Deciding between references and embedded content
SKILL.md
references/reference-vs-embedding.md
SKILL.md
npx skills add https://github.com/sanity-io/agent-toolkit --skill content-modeling-best-practices

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs3.3k
repo stars171
Security audit3 / 3 scanners passed
Last updatedJuly 29, 2026
Repositorysanity-io/agent-toolkit

How should I model structured content for a headless CMS without baking presentation into the schema?

Design structured headless CMS schemas with separation of concerns, reference versus embed decisions, reuse patterns, and taxonomies.

Who is it for?

Developers designing or refactoring Sanity or other headless CMS content types and field shapes.

Skip if: Skip when you only need GROQ query syntax or frontend rendering without schema architecture decisions.

When should I use this skill?

User debates references versus embedded objects, plans omnichannel content models, or reviews page-shaped schemas.

What you get

Clear modeling principles plus reference guidance on separation of concerns, references, reuse, and taxonomies for schema design.

  • Schema modeling principles
  • Topic-specific modeling references

Files

SKILL.mdMarkdownGitHub ↗

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

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 presentation
  • references/reference-vs-embedding.md — When to use references vs embedded objects
  • references/content-reuse.md — Content reuse patterns and the reuse spectrum
  • references/taxonomy-classification.md — Flat, hierarchical, and faceted classification

Related skills

How it compares

CMS content architecture guidance, not a frontend rendering or GROQ query cheat sheet.

FAQ

What principles does content-modeling-best-practices teach?

Content is data not pages, single source of truth, future-proof channel design, and editor-centric modeling.

When should I load the reference guides?

When deciding field shapes, reference versus embed tradeoffs, reuse patterns, or taxonomy classification for a CMS schema.

Is Content Modeling Best Practices safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.