Skip to content
Back to skills

Azure Cosmosdb Pattern

ASecurity

Design, implement, refactor, audit and debug Azure Cosmos DB for NoSQL access patterns in any language: partition/id routing, indexing/RUs, consistency/session tokens, transactions/ETags, TTL/change feed, Entra RBAC, service/customer-managed encryption, vectors/embeddings, ARM/CLI provisioning and continuous/periodic backup/restore. Select lazy command/feature routes and bounded performance plans. Other Cosmos APIs require their own workflow. Not authorization to access Azure, deploy, restore...

  • 24 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 12, 2026
devopspythongobashsqlazuregitapidatabaseperformance

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned November 12, 2026

npx -y skills add VincentChuWaiChow/vanguard-frontier-agentic --skill azure-cosmosdb-pattern --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Azure Cosmosdb Pattern?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Azure Cosmosdb Pattern
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vincentchuwaichow-azure-cosmosdb-pattern/badge)](https://www.skillsdirectory.com/skills/vincentchuwaichow-azure-cosmosdb-pattern)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: azure-cosmosdb-pattern
description: "Design, implement, refactor, audit and debug Azure Cosmos DB for NoSQL access patterns in any language: partition/id routing, indexing/RUs, consistency/session tokens, transactions/ETags, TTL/change feed, Entra RBAC, service/customer-managed encryption, vectors/embeddings, ARM/CLI provisioning and continuous/periodic backup/restore. Select lazy command/feature routes and bounded performance plans. Other Cosmos APIs require their own workflow. Not authorization to access Azure, deploy, restore or run load."
allowed-tools: Read Grep Glob Bash(python3 scripts/select_mode.py:*) Bash(python3 scripts/review_due.py:*)
metadata:
  author: "github: VincentChuWaiChow"
  version: "1.0.0"
  updated: "2026-11-09"
  category: data
---

# Azure Cosmos DB Pattern

| Always-on contract | Required behavior |
|---|---|
| API scope | Default **Azure Cosmos DB for NoSQL** only. MongoDB/vCore, Cassandra, Table, Gremlin, PostgreSQL and Fabric aren't interchangeable; route to their own verified docs/skill. |
| Safety | Loading/selection never executes Azure work. Confirm tenant/subscription/principal, account/database/container, region and permitted evidence before live reads. Exact approval separately covers every mutation, restore, deployment, backfill or load run. |
| Preserve | Keep existing IaC ownership and data. No reset, implicit createIfNotExists/adoption, broad item export, credentials inspection, key listing, feature activation or hidden scans. |
| Evidence | Separate sourced facts, assumptions, local checks, metadata readback and runtime proof. Return proportionate PASS/MISS/UNVERIFIED; no universal SDK or performance claims. |
| Lazy loading | Read the selected command and selected feature paths only. Links are indexes, not recursive preload instructions. Never bulk-read siblings, examples, source ledger or evals on load. |

## Commands

When supported by the host, ask `/azure-cosmosdb-pattern <command>`; `$azure-cosmosdb-pattern`
or plain language may be used instead. This package registers no host command.
Real local selector: `python3 scripts/select_mode.py <command>` emits JSON paths only.

| Command | Load selected procedure |
|---|---|
| help | [Help](references/commands/help.md); show commands and stop |
| select | [Feature selection](references/commands/select.md) |
| design | [Design](references/commands/design.md) |
| refactor | [Refactor](references/commands/refactor.md) |
| audit | [Audit](references/commands/audit.md), then only offline or authorized live variant |
| performance-test | [Bounded performance plan](references/commands/performance-test.md) |
| feature-plan | [Feature lifecycle plan](references/commands/feature-plan.md) |
| backup | [Protection plan](references/commands/backup.md), then continuous or periodic |
| restore | [Recovery plan](references/commands/restore.md), then selected native recovery method |

Audit defaults offline; features default core except recovery defaults backup.
Help stops without source/environment inspection. Unknown inputs fail closed.
No combo command or automatic command chaining; each manual step retains its gates.

## Domain routes

| Selected task / feature | Read only when relevant |
|---|---|
| End-to-end implementation sequence | [Workflow](references/workflow.md) |
| core: partition/id, tenant/access-pattern model | [Modeling](references/modeling.md), [runtime](references/runtime-contract.md) |
| indexes / capacity: range/composite/spatial, RUs/hot keys | [Indexing and capacity](references/indexing-and-capacity.md) |
| iam: control/data plane, Entra identities, keys | [Access control](references/access-control.md) |
| encryption: service-managed vs Key Vault CMK | [Encryption](references/encryption.md) |
| ttl: expiry, concurrency, migration | [Runtime](references/runtime-contract.md) |
| backup: protection overview | [Recovery](references/recovery.md), then only chosen method |
| replication: regional/consistency resilience | [Replication](references/replication.md) |
| change-feed: consumers, Functions, deletion limits | [Change feed](references/change-feed-and-integrations.md) |
| vectors: JSON types/native policy/search | [Types and vectors](references/data-types-and-vectors.md) |
| embeddings: model/precision, source refs, Azure integrations | [Embeddings](references/embedding-integrations.md) |
| monitoring: selected-domain observability | [Metrics](references/monitoring.md) |
| provisioning: ARM and az CLI assets | [Provisioning](references/provisioning.md), selected asset only |
| Existing language/SDK or REST | [Adapters](references/language-adapters.md), matching section only |
| CLI cookbook | [Azure CLI](references/commands/azure-cli.md) |
| Time-sensitive claims / research | [Dated sources](references/sources.md) |
| Due review / edits | [Maintenance](references/maintenance.md) / [eval contract](evals/eval.md) |

At substantive use (not help), run `scripts/review_due.py --as-of YYYY-MM-DD`
using the actual client-local date. Review every June/December, initially due
**2026-12-01**. If due/overdue, load Maintenance and remind the user. Never advance
the ledger on load or from a partial update. No calendar/background notification.

Files in this skill

  • CHANGELOG.md490 B
  • README.md7 KB
  • SKILL.md5.1 KB
  • assets/account.arm.json2.5 KB
  • assets/content-review.json315 B
  • assets/indexing-policy.json272 B
  • assets/order.json246 B
  • assets/provision.sh2.4 KB
  • assets/runtime.mjs5.6 KB
  • assets/vector-indexing-policy.json226 B
  • assets/vector-policy.json124 B
  • evals/eval.md2.1 KB
  • evals/fixtures/recovery-continuous.json1 KB
  • evals/prompts.json4.5 KB
  • evals/report.md3.9 KB
  • evals/runtime.test.mjs7.6 KB
  • evals/source-evidence.json2.6 KB
  • evals/test_package.py19.6 KB
  • references/access-control.md2.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in devops →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.