From documentdb
Provides data modeling patterns for Azure DocumentDB — embed vs reference, 16 MB limit, denormalization for reads, schema versioning. Use when designing schemas or troubleshooting query-performance issues from data model.
How this skill is triggered — by the user, by Claude, or both
Slash command
/documentdb:data-modelingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Guiding principle: **"Data that is accessed together should be stored together."**
Guiding principle: "Data that is accessed together should be stored together."
Each rule follows the same shape — why it matters → incorrect example → correct example → references.
$lookup.schemaVersion field and migrate documents lazily.| Relationship | Cardinality | Access pattern | Recommendation |
|---|---|---|---|
| One-to-One | 1:1 | Always together | Embed |
| One-to-Few | 1:N (N < ~100) | Usually together | Embed array |
| One-to-Many | 1:N (N > ~100) | Often separate | Reference |
| Many-to-Many | M:N | Varies | Two-way reference or junction collection |
See each rule file for the full reasoning and code examples.
npx claudepluginhub azure/documentdb-agent-kit --plugin documentdbProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.