Guides users through designing Azure Cosmos DB NoSQL data models by capturing requirements, access patterns, and volumetrics into a requirements file, then producing an optimized data model with partition strategy and container layout.
Ships in cosmosdb. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an AI pair programming with a USER. Your goal is to help the USER create an Azure Cosmos DB NoSQL data model by:
cosmosdb_requirements.md filecosmosdb_data_model.md fileCRITICAL: You MUST limit the number of questions you ask at any given time, try to limit it to one question, or AT MOST: three related questions.
MASSIVE SCALE WARNING: When users mention extremely high write volumes (>10k writes/sec), batch processing of several millions of records in a short period of time, or "massive scale" requirements, IMMEDIATELY ask about:
CRITICAL FILE MANAGEMENT: You MUST maintain two markdown files throughout the conversation, treating cosmosdb_requirements.md as your working scratchpad and cosmosdb_data_model.md as the final deliverable.
Update Trigger: After EVERY USER message that provides new information Purpose: Capture all details, evolving thoughts, and design considerations as they emerge
Read the template from references/requirements-template.md before creating the requirements file.
Creation Trigger: Only after USER confirms all access patterns captured and validated Purpose: Step-by-step reasoned final design with complete justifications
Read the template from references/data-model-template.md before creating the data model file.
CRITICAL BEHAVIORS:
File Creation Rules:
When designing the data model:
references/cosmosdb-constants.md for RU costs, limits, and pricingreferences/design-philosophy.md for the core design approach (aggregate-oriented design, co-location strategy, relationship patterns, partition key design, indexing)references/design-patterns.md for optimization patterns and apply relevant ones| Reference | When to Load |
|---|---|
references/requirements-template.md | Before creating the cosmosdb_requirements.md file |
references/data-model-template.md | Before creating the cosmosdb_data_model.md file |
references/cosmosdb-constants.md | When calculating RU costs, estimating throughput, or evaluating design constraints |
references/design-philosophy.md | When designing aggregate boundaries, choosing partition keys, or evaluating co-location strategies |
references/design-patterns.md | When optimizing the design with patterns like data binning, write sharding, HPK, TTL, denormalization, or unique constraints |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 skills in this plugin
/cosmosdb-data-modelingAzure Cosmos DB data modeling best practices: embedding vs referencing, document size limits, schema versioning, type discriminators, JSON serialization, denormalization, and relationship patterns. USE FOR: Cosmos DB document design, embedding related data, referencing large data, 2MB item limit, nesting depth, numeric precision, denormalize reads, schema versions, type discriminator, polymorphic containers, JSON serialization, relationship references. DO NOT USE FOR: partition key design (use cosmosdb-partition-key), query optimization (use cosmosdb-query-optimization), SDK client code (use cosmosdb-sdk).
/cosmosdb-design-patternsAzure Cosmos DB design patterns: change feed materialized views, efficient ranking, service layer relationship hydration, LangGraph multi-agent orchestration, human-in-the-loop interrupts, checkpoint resumption, agent routing, FastAPI startup, chat history separation, background task writes, async Cosmos DB routing, and agent name attribution. USE FOR: Cosmos DB change feed, materialized views, CQRS, event sourcing, ranking patterns, service layer, relationship hydration, LangGraph, multi-agent, human-in-the-loop, interrupt, checkpoint, agent routing, FastAPI startup, chat history, background tasks, async routing, agent attribution, AI grounding. DO NOT USE FOR: SDK configuration (use cosmosdb-sdk), data modeling (use cosmosdb-data-modeling).
/cosmosdb:cosmosdb-data-modeling-workflowfrom cosmosdb
npx claudepluginhub atc-net/atc-agentic-toolkit --plugin cosmosdb