CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

azure-cosmos-ts

Azure Cosmos DB JavaScript/TypeScript SDK (@azure/cosmos) for data plane operations. Use for CRUD operations on documents, queries, bulk operations, and container management.

Quality

80%

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-ts/SKILL.md

The canonical home for this skill is azure-cosmos-ts 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 highly actionable, well-sectioned API reference with excellent executable TypeScript examples, but it is a monolithic single file: bulk, partition-key, and type-reference detail should be split into reference files, and it prescribes retry/validation loops for batch and destructive database operations without implementing them.

Suggestions

Split the bulk operations catalog, hierarchical partition key guide, TypeScript types reference, and service-layer pattern into reference files (e.g., references/bulk.md, references/partition-keys.md), keeping SKILL.md as a concise overview with clearly signaled links.

Implement the 429 retry feedback loop (exponential backoff with error.retryAfterInMs) instead of only listing it as a best practice, and show verification for delete/batch outcomes.

Remove the filler 'When to Use' closing section and the bare import-list 'TypeScript Types Reference', and move the pinned version (4.9.0) out of the main body or into a maintenance/versions note.

DimensionReasoningScore

Conciseness

The body is code-heavy and largely lean, but includes unnecessary padding: the "TypeScript Types Reference" is a bare import dump, the closing "When to Use" section ("This skill is applicable to execute the workflow or actions described in the overview.") is pure filler, and the time-sensitive "Current Version: 4.9.0" is inline rather than in a deprecated/old-patterns section. Mostly efficient with some sections to trim — anchor 3, not 4, because the filler and version-pin padding are more than minor.

3 / 5

Actionability

Every section provides complete, copy-paste-ready TypeScript: client construction, createIfNotExists setup, CRUD/upsert/patch, parameterized SqlQuerySpec queries, pagination via fetchNext, executeBulkOperations with per-operation status checks, ETag access conditions, and a full service-layer class. Code covers the common cases and is executable — anchor 5.

5 / 5

Workflow Clarity

Sections follow a logical order (install → auth → setup → operations) and the bulk example validates results via result.statusCode with an error-code switch for 404/409/412/429. However, this is a database skill with destructive and batch operations, and the 429 feedback loop is only prescribed ("Implement retry logic with exponential backoff") without an implemented retry, and deletes have no verification — so workflow clarity is capped at 3 per the batch/destructive validation rule.

3 / 5

Progressive Disclosure

The ~475-line single file has clear section headers, but API-reference-level content that belongs in separate bundle files — the bulk operation catalog, hierarchical partition key details, the types import reference, and the common-patterns service layer — is fully inlined with no reference files at all. This matches anchor 3 (some structure, but content that should be separate is inline), not 4, since no offloading or navigation to detail files exists.

3 / 5

Total

14

/

20

Passed

Description

87%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: it names a specific SDK, states its plane of operation, lists concrete capabilities, and includes an explicit 'Use for...' trigger clause. Only minor gains available from adding synonyms (e.g., NoSQL) and mentioning stored procedure support.

DimensionReasoningScore

Specificity

"Use for CRUD operations on documents, queries, bulk operations, and container management" lists several concrete, specific actions with minor gaps — stored procedures/triggers and conflict handling from the body are absent from the description. It sits between anchor 4 (several specific actions, minor gaps) and anchor 5 (comprehensive), closer to 4 since coverage is not exhaustive.

4 / 5

Completeness

It explicitly answers both: what ("Data plane SDK... for data plane operations" with named capabilities) and when ("Use for CRUD operations on documents, queries, bulk operations, and container management") with concrete trigger phrases. This matches the anchor-5 exemplar structure exactly; not 4, because the 'when' clause is explicit and specific rather than improvable.

5 / 5

Trigger Term Quality

Natural terms users would say are present: "Azure Cosmos DB", "documents", "queries", "bulk operations", "container", plus the package name "@azure/cosmos". A few natural variations ("NoSQL", "Cosmos" alone, "items") are missing, matching anchor 4 (good coverage, a few natural terms missing) rather than 5.

4 / 5

Distinctiveness Conflict Risk

Naming the exact package (@azure/cosmos) and scoping to "data plane operations" carves a clear niche distinct from the management SDK (@azure/arm-cosmosdb) and generic database skills — minimal conflict risk, matching anchor 5.

5 / 5

Total

18

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

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

Warning

Total

15

/

16

Passed

Repository

administrakt0r/AI-Agents-Safe-Coding-Skills

Path

plugins/AI-Agents-Safe-Coding-Skills-claude/skills/azure-cosmos-ts/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.