/db-cosmosdb:cosmosdb-project-structurefrom db-cosmosdb
Use when scaffolding or reviewing Azure Cosmos DB project layout — container definition files, custom migration layout, model organization, and partition key documentation
Ships in db-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.
None: SKILL.md is the whole skill.
database/
├── containers/
│ ├── orders.json # Container definition (partition key, indexing policy, TTL)
│ ├── customers.json
│ └── leases.json # Change feed lease container
├── models/
│ ├── Order.cs # Document model with type discriminator
│ ├── OrderItem.cs
│ ├── Customer.cs
│ └── BaseDocument.cs # Base class with id, type, schemaVersion, _etag
├── migrations/
│ ├── 001_AddStatusField.cs
│ ├── 002_AddCompositeIndex.cs
│ └── MigrationRunner.cs
├── stored-procedures/
│ ├── bulkCreateItems.js
│ └── updateOrderStatus.js
├── udfs/
│ └── calculateDiscount.js
├── triggers/
│ ├── pre/
│ │ └── validateOrder.js
│ └── post/
│ └── updateAggregates.js
├── seed/
│ ├── lookup/
│ │ └── orderStatuses.json
│ └── dev/
│ └── sampleOrders.json
├── tests/
│ ├── OrderRepository.Tests.cs
│ └── MigrationRunner.Tests.cs
├── infrastructure/
│ ├── cosmos-account.bicep # Or Terraform
│ └── indexing-policies/
│ ├── orders-policy.json
│ └── customers-policy.json
└── docs/
└── partition-key-decisions.md # Document partition key rationale
containers/type discriminator and schemaVersion for safe migrationsmigrations/ for versioned data migrations (not schema — Cosmos DB is schemaless)stored-procedures/, udfs/, triggers/ for server-side code (JavaScript)infrastructure/ for IaC definitions (Bicep or Terraform)docs/partition-key-decisions.md — REQUIRED: document why each partition key was chosenseed/lookup/ for reference dataseed/dev/ for development-only sample dataid, type, schemaVersion, createdAt, _etagWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub gagandeepp/software-agent-teams --plugin db-cosmosdb4 skills in this plugin
/cosmosdb-codingUse when writing or reviewing Azure Cosmos DB code — enforces partition key design, document modeling, RU estimation, TTL, change feed patterns, stored procedures (JavaScript), and cross-partition query avoidance/cosmosdb-frameworksUse when implementing Azure Cosmos DB code with SDKs — enforces patterns for .NET SDK (CosmosClient, LINQ, bulk), Node.js SDK (@azure/cosmos), Python SDK (azure-cosmos), and custom versioned migration scripts/cosmosdb-testingUse when writing tests for Azure Cosmos DB code — Cosmos DB Emulator for integration tests, xUnit/.NET patterns, Jest/Node.js patterns, mock strategies, and RU budget validation