CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

azure-cosmos-py

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

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

65%Weight 40%Scale 1-5

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

A solid, action-oriented SDK reference with genuinely executable examples and good header organization. The two real weaknesses are the missing validation/retry loops for database operations and a progressive-disclosure structure whose referenced files are absent from the bundle, leaving advanced content inlined.

Suggestions

Add the actual references/partitioning.md, references/query-patterns.md, and scripts/setup_cosmos_container.py files (or remove the Reference Files table) so the documented split is real rather than dangling.

Add validation and retry feedback loops: verify writes (e.g., read-back after create/upsert) and implement retry-after handling for 429 responses instead of just printing the retry interval.

Fix the copy-paste gaps: show 'from azure.cosmos import PartitionKey' in the first workflow example, and either use the declared COSMOS_* env vars in the code or drop the unused Environment Variables section; trim the boilerplate 'When to Use' sentence and redundant 'Read All Items' section.

DimensionReasoningScore

Conciseness

The body is mostly lean, executable code with terse purposeful comments ('# Required: unique within partition', '# Cross-partition (more expensive, use sparingly)'). Minor trimmable content remains: the filler 'When to Use' sentence ('This skill is applicable to execute the workflow or actions described in the overview'), the redundant 'Read All Items' section, and partition-key setup demonstrated twice — fits 'efficient; minor instances of over-explanation' rather than 'every token earns its place'.

4 / 5

Actionability

Code is copy-paste-ready across install, auth, CRUD, queries, throughput, async, and error handling — close to fully executable. Minor gaps: 'PartitionKey(path="/category")' is used in the first workflow block before its import appears 125 lines later, and the declared env vars (COSMOS_ENDPOINT, COSMOS_DATABASE, COSMOS_CONTAINER) are never consumed in code — anchor 4 ('mostly executable; minor gaps') rather than 5.

4 / 5

Workflow Clarity

The 'Core Workflow' sequences setup → create → read → replace → upsert → delete and includes an Error Handling section, but no validation checkpoints exist: no verify-after-write, and the 429 handler only prints rather than retrying. Database operations are in the cap list, so workflow_clarity cannot exceed 3; the sequence-present-but-checkpoints-implicit anchor fits.

3 / 5

Progressive Disclosure

Section headers are clear and the 'Reference Files' table is well-signaled, but none of the three referenced bundle files (references/partitioning.md, references/query-patterns.md, scripts/setup_cosmos_container.py) actually exist in the bundle — the disclosure split never happens. Roughly 280 lines of reference-grade content (throughput, async, error handling) sit inline in SKILL.md, fitting 'some structure but could be better organized' rather than good structure with functional references.

3 / 5

Total

14

/

20

Passed

Description

78%Weight 40%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.

A strong description: concise, third-person, domain-specific, with concrete capability nouns and an explicit 'Use for...' trigger clause. The main gap is that the when-clause restates the capabilities rather than naming user scenarios or synonyms, which keeps completeness and trigger coverage just below excellent.

DimensionReasoningScore

Specificity

Names the domain ('Azure Cosmos DB SDK for Python (NoSQL API)') and several concrete actions ('document CRUD, queries, containers, and globally distributed data'), matching the 'several specific actions; minor gaps' anchor. Not 5 because coverage omits capabilities like throughput, async, and change feed; not 3 because more than 1-2 actions are listed.

4 / 5

Completeness

Both what ('SDK for document CRUD, queries, containers') and when ('Use for document CRUD, queries, containers, and globally distributed data') are explicitly present. Falls short of 5 because the when-clause mirrors the what rather than providing user-scenario trigger phrasing like 'when working with Cosmos DB' or 'when the user mentions Cosmos DB'.

4 / 5

Trigger Term Quality

Natural user terms are present: 'Azure Cosmos DB', 'Python', 'NoSQL API', 'documents', 'queries', 'containers', 'globally distributed data'. A few natural synonyms are missing ('document database', 'partition key', 'upsert'), so it fits 'good keyword coverage; a few natural terms missing' rather than comprehensive.

4 / 5

Distinctiveness Conflict Risk

'Azure Cosmos DB SDK for Python (NoSQL API)' carves a clear niche with distinct triggers (Cosmos DB, NoSQL API) and minimal overlap risk with other skills — matches the anchor-5 example pattern of a niche skill with concrete triggers.

5 / 5

Total

17

/

20

Passed

Validation

87%

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

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

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

Warning

referenced_paths_exist

Referenced path issues: 3 missing

Warning

Total

14

/

16

Passed

Repository

administrakt0r/AI-Agents-Safe-Coding-Skills

Path

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

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.