CtrlK
BlogDocsLog inGet started
Tessl Logo

azure-cosmos-py

Azure Cosmos DB SDK for Python (NoSQL API). Use for document CRUD, queries, containers, and globally distributed data.

64

Quality

76%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./plugins/AI-Agents-Safe-Coding-Skills-claude/skills/azure-cosmos-py/SKILL.md

The canonical home for this skill is azure-cosmos-py in administrakt0r/AI-Agents-Safe-Coding-Skills

SKILL.md
Quality
Evals
Security

Quality

Content

78%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This is a solid SDK reference skill with excellent actionability — nearly every section contains executable, copy-paste ready Python code covering the full spectrum of Cosmos DB NoSQL operations. Conciseness is good but could be tightened slightly by removing a few unnecessary comments and the vacuous 'When to Use' section. The main weakness is progressive disclosure: the skill is long enough that query patterns and throughput management could be offloaded to the referenced files, and those references aren't actually provided in the bundle.

Suggestions

Remove the 'When to Use' section (it's a tautology that adds no value) and trim explanatory comments that Claude already knows (e.g., 'Cross-partition (more expensive, use sparingly)').

Move detailed query patterns (cross-partition, projection, read-all) and throughput management into the referenced references/query-patterns.md file, keeping only the basic query example inline with a clear link to the reference.

Actually provide the referenced bundle files (references/partitioning.md, references/query-patterns.md, scripts/setup_cosmos_container.py) or remove the references if they don't exist.

DimensionReasoningScore

Conciseness

Generally efficient with executable code examples and minimal fluff. Minor over-explanation exists (e.g., the 'Critical' note about partition keys, the comment '# Cross-partition (more expensive, use sparingly)' which Claude would know), and the 'When to Use' section is a meaningless tautology. But overall it's lean.

4 / 5

Actionability

Fully executable, copy-paste ready code examples covering authentication, CRUD operations, queries, async usage, error handling, throughput management, and partition key configuration. All common cases are covered with concrete, runnable Python code.

5 / 5

Workflow Clarity

The content follows a logical progression from setup → authentication → CRUD → queries → advanced topics. The client hierarchy table and sequential code examples make the workflow clear. However, there are no explicit validation checkpoints (e.g., verifying container creation succeeded before proceeding), though for a non-destructive SDK reference skill this is less critical.

4 / 5

Progressive Disclosure

The reference table at the bottom signals three supporting files (references/partitioning.md, references/query-patterns.md, scripts/setup_cosmos_container.py), which is good structure. However, no bundle files are actually provided, the references aren't linked inline where relevant (e.g., partition key section should link to partitioning.md), and the main file is quite long (~200 lines) with content like detailed query patterns that could be offloaded to the referenced files.

3 / 5

Total

16

/

20

Passed

Description

73%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

This is a reasonably good skill description that clearly identifies a specific technology niche (Azure Cosmos DB Python SDK, NoSQL API) and provides some concrete actions. Its main weaknesses are that the capability list could be more comprehensive and the trigger guidance could be more explicit with natural user phrases. The description's strongest aspect is its distinctiveness, making it very unlikely to conflict with other skills.

Suggestions

Expand the capability list with more specific actions such as 'manage partition keys, configure throughput, handle change feeds, set indexing policies'

Rephrase the 'Use for' clause to be more explicit, e.g., 'Use when the user asks about Cosmos DB, CosmosDB, azure-cosmos Python package, NoSQL document databases on Azure, or globally distributed data stores'

DimensionReasoningScore

Specificity

Names the domain (Azure Cosmos DB SDK for Python, NoSQL API) and lists a few concrete actions (document CRUD, queries, containers), but the actions are somewhat high-level and not fully comprehensive—missing specifics like indexing policies, stored procedures, change feed, throughput management, etc.

3 / 5

Completeness

Has a clear 'what' (Azure Cosmos DB SDK for Python, NoSQL API) and a 'when' clause ('Use for document CRUD, queries, containers, and globally distributed data'). The 'when' is present but could be more explicit with trigger phrases like 'Use when the user asks about...' or mention specific scenarios.

4 / 5

Trigger Term Quality

Includes good natural keywords like 'Cosmos DB', 'NoSQL', 'CRUD', 'queries', 'containers', 'globally distributed data', and 'Python'. Missing some natural variations users might say such as 'cosmosdb', 'partition key', 'database', 'azure-cosmos', or the pip package name.

4 / 5

Distinctiveness Conflict Risk

Highly distinctive—specifies Azure Cosmos DB, Python SDK, and NoSQL API, which creates a very clear niche. Unlikely to conflict with other database skills (e.g., MongoDB, SQL Server, DynamoDB) due to the precise technology stack identification.

5 / 5

Total

16

/

20

Passed

Validation

90%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

10

/

11

Passed

Repository
administrakt0r/AI-Agents-Safe-Coding-Skills
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.