In short.
cosmosdb-datamodeling is an AI assistant skill for developers planning Azure Cosmos DB NoSQL models, but inconsistent examples and unsupported service claims limit reliance on its recommendations. It provides a detailed path from application access patterns to container layouts, partition keys, indexes and throughput estimates. Its strongest apparent value is organizing design decisions; assistant behavior, generated documents and database performance remain untested.
Researched and written by an AI model and checked by a second AI model. How it works
The supplied manifest identifies skills/cosmosdb-datamodeling/SKILL.md as the complete selected folder scope. The repository-level LICENSE is included as a related notice outside that folder. Other repository skills and external Azure documentation are outside this scope. The original skill file is eligible for unchanged distribution with its license notice. Assistant loading, file updates, code examples, generated designs and live database behavior are untested.
The overview
identity
The resource is skills/cosmosdb-datamodeling/SKILL.md in github/awesome-copilot. It contains instructions for an AI pair-programming assistant to gather application requirements and produce an Azure Cosmos DB NoSQL data model.
The supplied implementation is a Markdown instruction file with templates and illustrative code. It does not provide an executable modeling application or an automated database deployment tool.
assessment
The skill offers a substantial planning framework: it asks for both reads and writes, workload sizes, traffic estimates, relationships and operational constraints before finalizing a design. Numbered access patterns connect requirements to proposed database operations.
It is best approached as a planning aid requiring technical review. Its detailed presentation does not establish that its pricing assumptions, service statements or recommended layouts are correct for a particular workload.
users
Application developers and solution architects considering Azure Cosmos DB NoSQL are the clearest audience. Beginners receive explanations and concrete document examples; experienced developers receive prompts about partition distribution, indexing, update amplification and operational coupling.
Useful input includes expected traffic, document sizes, retention, latency targets and regional requirements. Users without measurements will need explicit estimates; the skill instructs the assistant to help estimate missing traffic rather than invent it.
capabilities
The instructions cover entity relationships, aggregate boundaries, container consolidation, partition keys, selective indexing, denormalization, write sharding, data chunking and expiration through time to live.
The intended final document includes representative JSON documents, container-specific indexes, read/write mappings, throughput planning, hot-partition analysis and regional strategies. Requests per second describe traffic; request units are the Cosmos DB consumption units used in its cost estimates.
Using it
requirements
Following the intended process requires an assistant that can use the instructions and maintain two Markdown files. The user must supply application context and review major design decisions.
The file provides no supported-host list, minimum model version, SDK dependencies or database connection procedure. Compatibility with a particular assistant environment is unknown. A live database connection is not specified for the planning conversation.
mechanism
The assistant is instructed to ask one question at a time where possible, with at most three related questions. It records new information in cosmosdb_requirements.md and continues gathering requirements until the user confirms that access patterns are complete.
It then reasons about which entities belong together, using joint access frequency, size, update behavior and operational needs. cosmosdb_data_model.md is intended to contain the final justified design after confirmation and checklist completion. These are instructions to the assistant, not demonstrated enforcement mechanisms.
setup
Obtain the original SKILL.md and use an assistant environment that supports loading such instructions and editing the intended files. Begin with the application domain, entities and principal read/write operations.
The source does not document an installation command, host-specific activation steps or a loading verification procedure. Exact installation details therefore depend on the chosen environment and are not established here.
example
Its User + Recent Orders example places a user document and an order document in one container with partitionKey set to user_123. Their type fields distinguish the entities.
The example proposes reading an individual document using its ID and partition key, or retrieving related documents with SELECT * FROM c WHERE c.partitionKey = "user_123". This illustrates the proposed layout; no measured request charges or latency results accompany it.
Assessment & evidence
limitations
Its aggregation heuristics vary across sections. One rule directs entities with below-50% joint access toward separate containers, while the Product + Reviews example chooses a multi-document container at 30%. Applying these instructions requires judgment about the other constraints.
The chunking example calls a change from 90 million records to 900,000 documents a 95.7% reduction; the count reduction is 99%. A reduction in document count does not establish the claimed request-unit savings. Its separate 1-RU chunk-read claim lacks a corresponding document size or measurement.
Statements about uniqueness enforcement, expiration timing and hierarchical partition key availability lack corroborating service documentation here. The uniqueness code interpolates an email directly into SQL and operates within one partition; safe handling of input and wider uniqueness requirements are not demonstrated.
reasoning
The expected planning benefit follows from the separation of evolving requirements and final design rationale. Mapping every numbered read and write to containers and indexes should help expose omissions and make trade-offs easier to discuss.
That benefit is inferred from the instruction structure. There are no demonstrated assistant sessions or completed outputs establishing adherence, accuracy or improved design outcomes.
alternatives
The templates could also serve as a manual modeling worksheet for a developer or architect. Whether assistant guidance improves that process is unknown.
For the database design itself, the skill compares embedding related data in one document, keeping separate documents in a shared container, and using separate containers. It discusses size, update frequency and independent scaling as decision factors. No competing modeling resource is documented sufficiently for a comparative recommendation.
evidence
The original skill source is pinned to revision a06ba06d11f41b996f8c246e2a452e1bf3a17950 at [https://raw.githubusercontent.com/github/awesome-copilot/a06ba06d11f41b996f8c246e2a452e1bf3a17950/skills/cosmosdb-datamodeling/SKILL.md]. It supplies instructions, templates and illustrative SQL, JSON and JavaScript, without execution or benchmark results.
The corresponding repository license is available at [https://raw.githubusercontent.com/github/awesome-copilot/a06ba06d11f41b996f8c246e2a452e1bf3a17950/LICENSE].
Access & freshness
costs
The supplied material states no purchase price for the skill or compatible assistant. Assistant usage costs and a workload-specific Azure bill are unknown.
The skill includes request-unit estimates and storage and throughput prices, but gives no pricing region, offer or pricing-specific date. These figures are assumptions rather than a current quote. Its claimed chunking savings also lack supporting workload measurements.
rights
The accompanying repository LICENSE uses the MIT License and names GitHub, Inc. It permits use, modification, distribution, sublicensing and sale, subject to retaining the copyright and permission notices in copies or substantial portions.
The license disclaims warranties and limits liability. The supplied skill file contains no additional license notice.
freshness
SKILL.md declares version 1.0 and a last-updated date of 2025-09-17. The supplied source snapshot was captured on 2026-11-17 at the pinned revision.
The capture date does not establish that service limits, feature restrictions or prices were updated then. Subsequent source changes and current platform compatibility are unknown.
actions
Start with one bounded workload and supply explicit traffic estimates, document sizes and latency targets. Check that the requirements file covers every read and write and that the final model explains the corresponding partition keys and indexes.
Before implementation, reconcile the aggregation heuristics and verify pricing, service limits, uniqueness, expiration and hierarchical partition key behavior against current Azure documentation. Measure representative operations using the intended data sizes and indexing configuration before relying on cost or throughput estimates.
