content-modeling-best-practices

द्वारा sanity-io

संरचित सामग्री मॉडलिंग मार्गदर्शन: स्कीमा डिज़ाइन, पुन: प्रयोज्यता और बहु-चैनल वितरण के लिए। मुख्य सिद्धांतों को शामिल करता है: सामग्री को पृष्ठों के बजाय डेटा के रूप में मानना, एकल स्रोत सत्य बनाए रखना, भविष्य के चैनलों के लिए डिज़ाइन करना और संपादक वर्कफ़्लो को अनुकूलित करना। संदर्भ बनाम एम्बेडेड ऑब्जेक्ट, चिंताओं का पृथक्करण और सामग्री पुन: उपयोग पैटर्न के लिए निर्ण

npx skills add https://github.com/sanity-io/agent-toolkit --skill content-modeling-best-practices

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

sanity-io की और Skills

Agent Development
sanity-io
यह कौशल तब उपयोग किया जाना चाहिए जब उपयोगकर्ता "एजेंट बनाएं", "एजेंट जोड़ें", "सबएजेंट लिखें", "एजेंट फ्रंटमैटर", "विवरण का उपयोग कब करें", "एजेंट…
code-review-and-quality
sanity-io
बहु-आयामी कोड समीक्षा करता है। किसी भी बदलाव को मर्ज करने से पहले उपयोग करें। अपने, किसी अन्य एजेंट या मानव द्वारा लिखे गए कोड की समीक्षा करते समय उपयोग करें। जब आपको आवश्यकता हो तब उपयोग करें...
code-simplification
sanity-io
कोड को स्पष्टता के लिए सरल बनाता है। कोड के व्यवहार को बदले बिना स्पष्टता के लिए रीफैक्टर करते समय उपयोग करें। जब कोड काम करता है लेकिन पढ़ने, बनाए रखने या विस्तार करने में कठिन हो…
Command Development
sanity-io
इस कौशल का उपयोग तब किया जाना चाहिए जब उपयोगकर्ता "एक स्लैश कमांड बनाएं", "एक कमांड जोड़ें", "एक कस्टम कमांड लिखें", "कमांड आर्गुमेंट्स परिभाषित करें", "कमांड का उपयोग करें…" के लिए पूछता है।
content-experimentation-best-practices
sanity-io
सामग्री प्रयोगों को डिज़ाइन करने, निष्पादित करने और विश्लेषण करने के लिए संरचित मार्गदर्शन, जो रूपांतरण और जुड़ाव को बेहतर बनाने में सहायक हो। इसमें परिकल्पना ढाँचे, मीट्रिक चयन, नमूना आकार गणना, और A/B तथा बहुभिन्नरूपी प्रयोगों में सांख्यिकीय महत्व परीक्षण शामिल है। p-मान, विश्वास अंतराल, शक्ति विश्लेषण, और परिणामों की व्याख्या के लिए बायेसियन विधियों पर विस्तृत संसाधन प्रदान करता है। फ़ील्ड स्तर पर वे
create-agent-with-sanity-context
sanity-io
Sanity Context के माध्यम से Sanity सामग्री तक संरचित पहुँच के साथ AI एजेंट बनाएँ। Sanity-संचालित चैटबॉट सेट करते समय, AI सहायक को Sanity से जोड़ते समय उपयोग करें…
dial-your-context
sanity-io
इंटरैक्टिव सत्र, Sanity Context MCP सर्वर के लिए Instructions फ़ील्ड सामग्री बनाने हेतु। इस कौशल का उपयोग तब करें जब उपयोगकर्ता एजेंट संदर्भ को ट्यून करने का उल्लेख करें,…
find-skills
sanity-io
उपयोगकर्ताओं को एजेंट कौशल खोजने और स्थापित करने में मदद करता है जब वे ऐसे प्रश्न पूछते हैं जैसे "मैं X कैसे करूं", "X के लिए कोई कौशल खोजें", "क्या कोई ऐसा कौशल है जो...", या व्यक्त करते हैं...