From azure
Step-by-step guide for designing Azure Cosmos DB NoSQL data models. Captures application requirements, access patterns, volumetrics, and concurrency details into a cosmosdb_requirements.md file, then produces an optimized Cosmos DB NoSQL data model design using best practices and common patterns, saved to a cosmosdb_data_model.md file. Use when the user wants to design, model, or plan a Cosmos DB NoSQL database schema, partition strategy, or container layout, or when they need help with NoSQL data modeling for Azure Cosmos DB.
npx claudepluginhub atc-net/atc-agentic-toolkit --plugin azureThis skill uses the workspace's default tool permissions.
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:
Provides Azure Cosmos DB best practices for NoSQL performance optimization, data modeling, partitioning, queries, SDK usage, indexing, scaling, and vector search. Use when writing, reviewing, refactoring code or designing models.
Designs scalable database architectures from scratch, selects technologies like PostgreSQL or DynamoDB, models schemas, indexes, and plans migrations or re-architecting.
Designs scalable database architectures from scratch or re-architects existing systems. Selects SQL/NoSQL/TimeSeries technologies, models schemas, applies normalization, and plans migrations for performance.
Share bugs, ideas, or general feedback.
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 |