CtrlK
BlogDocsLog inGet started
Tessl Logo

azure-cosmos-java

Azure Cosmos DB SDK for Java. NoSQL database operations with global distribution, multi-model support, and reactive patterns.

44

Quality

46%

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 ./skills/azure-cosmos-java/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

57%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 competent SDK reference skill with solid executable code examples covering the main Cosmos DB operations. Its main weaknesses are moderate verbosity from inlined conceptual content that Claude already knows (consistency levels, partition key advice, best practices), and a workflow that lacks explicit validation checkpoints for database operations. The parameterized query example is also incomplete.

Suggestions

Remove or drastically shorten the conceptual sections (consistency levels table, partition key guidance, best practices list) — Claude already knows these concepts and they consume significant tokens.

Add validation checkpoints to the core workflow, e.g., checking response status codes after database/container creation before proceeding to CRUD operations.

Complete the parameterized query example by showing SqlQuerySpec with SqlParameter binding instead of the raw string approach.

Remove the 'When to Use' section at the bottom — it's a tautological placeholder that adds no value.

DimensionReasoningScore

Conciseness

The skill includes some unnecessary explanations Claude would already know (partition key selection advice, consistency level definitions, best practices list). The BOM dependency example adds bulk. However, the code examples themselves are reasonably tight.

3 / 5

Actionability

Provides concrete, executable Java code for authentication, CRUD operations, queries, and error handling. Minor gaps include using `LATEST` as a version placeholder and the parameterized query not showing how to bind the `@status` parameter via SqlQuerySpec.

4 / 5

Workflow Clarity

The core workflow section shows a logical sequence (create database → create container → CRUD), but there are no validation checkpoints or error recovery steps within the workflow. For database operations that could fail (e.g., partition key misconfiguration, RU exhaustion), the lack of inline validation/verification steps is a gap.

3 / 5

Progressive Disclosure

The content is structured with clear sections and a reference links table, but at ~200 lines it inlines conceptual content (consistency levels table, partition key guidance, best practices) that could be separated. No bundle files exist to offload this content, and the structure is flat rather than layered.

3 / 5

Total

13

/

20

Passed

Description

36%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.

The description identifies the technology stack (Azure Cosmos DB SDK for Java) but fails to describe concrete actions or provide trigger guidance for when Claude should select this skill. It reads more like a tagline than a functional description, listing features (global distribution, multi-model support) rather than actionable capabilities.

Suggestions

Add a 'Use when...' clause with trigger terms like 'Cosmos DB', 'CosmosDB', 'Azure NoSQL', 'document database', 'Java SDK', or 'com.azure.cosmos'.

Replace vague 'NoSQL database operations' with specific actions such as 'create and query containers, perform CRUD operations on documents, configure throughput and partitioning, implement change feed processing'.

Include common synonyms and variations users might use, such as 'CosmosDB' (no space), 'SQL API', 'document store', and relevant file/package references.

DimensionReasoningScore

Specificity

Names the domain (Azure Cosmos DB SDK for Java) but actions are minimal and generic — 'NoSQL database operations' is vague, and 'global distribution, multi-model support, and reactive patterns' describe features/characteristics rather than concrete actions like 'query documents', 'create containers', or 'manage partitions'.

2 / 5

Completeness

Has a vague 'what' (NoSQL database operations) but completely lacks a 'when' clause. There is no 'Use when...' guidance, which per the rubric should cap completeness at 3, and the weak 'what' brings it down to 2.

2 / 5

Trigger Term Quality

Includes relevant keywords like 'Azure Cosmos DB', 'Java', 'NoSQL', and 'reactive patterns', but misses common user phrases like 'CosmosDB', 'document database', 'partition key', 'SQL API', 'Spring Data Cosmos', or specific SDK class names users might reference.

3 / 5

Distinctiveness Conflict Risk

Specifying 'Azure Cosmos DB SDK for Java' provides some distinctiveness from generic database skills, but 'NoSQL database operations' could overlap with MongoDB, DynamoDB, or other NoSQL skills. The lack of specific actions or triggers increases conflict risk.

3 / 5

Total

10

/

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.