CtrlK
BlogDocsLog inGet started
Tessl Logo

azure-postgres-ts

Connect to Azure Database for PostgreSQL Flexible Server from Node.js/TypeScript using the pg (node-postgres) package.

56

Quality

64%

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

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

SKILL.md
Quality
Evals
Security

Quality

Content

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

The content is a strong, executable reference with copy-paste TypeScript across the main Azure PostgreSQL workflows and solid transaction error handling. Its weaknesses are repetition-driven verbosity and a monolithic single-file structure with no progressive disclosure into separate reference files.

Suggestions

De-duplicate the connection setup (host/database/user/port/ssl config) by defining it once and reusing, to reduce repeated blocks across the single-client, pool, and Entra ID sections.

Move the bulkier reference material (Azure-specific config tables, Key Types, Reference Links, the AzurePostgresPool token-refresh class) into a references/ file (e.g., references/advanced.md) and link to it from SKILL.md to enable one-level-deep progressive disclosure.

Trim obvious inline comments (e.g., 'Always close connection', 'Required for Azure') where the surrounding code already makes the intent clear.

DimensionReasoningScore

Conciseness

The body is largely code-driven with tight tables and best-practice bullets, but connection-setup code is repeated across several sections and a few comments restate obvious facts, fitting 'mostly efficient but includes some unnecessary explanation or could be tightened' rather than the leaner anchor 4.

3 / 5

Actionability

It provides fully executable, copy-paste-ready TypeScript covering the common cases (single client, pool, parameterized queries, transactions, typed queries, Entra ID token refresh, error handling), matching the anchor for fully executable specific examples.

5 / 5

Workflow Clarity

Sections are clearly sequenced by topic and the transaction examples include explicit try/BEGIN/COMMIT/ROLLBACK error-recovery, giving most checkpoints; minor validation gaps remain for batch/migration-style flows, so it sits at 'clear sequence with most checkpoints present' rather than the full validate-fix-retry anchor 5.

4 / 5

Progressive Disclosure

The file has good section headers but no bundle files exist and all content (Azure config tables, reference links, type reference, advanced token-refresh class) is inlined in one ~470-line SKILL.md, matching 'some structure but content that should be separate is inline' rather than the well-split anchor 4.

3 / 5

Total

15

/

20

Passed

Description

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

The description is specific and distinctive, clearly naming the target service, language stack, and library, but it lacks an explicit 'Use when...' trigger clause and broader natural-keyword coverage. It reads as a precise what-statement rather than a complete what-and-when statement.

Suggestions

Add an explicit trigger clause, e.g. 'Use when connecting a Node.js/TypeScript app to Azure Database for PostgreSQL Flexible Server, or when the user mentions Azure Postgres, node-postgres, or passwordless/Entra ID database auth.'

Broaden natural trigger keywords and synonyms (e.g., 'Postgres', 'Flexible Server', 'connection string', 'Entra ID/passwordless') so users' phrasings match more reliably.

Optionally list 1-2 more concrete capabilities (e.g., connection pooling, parameterized queries, Entra ID token auth) to lift specificity above a single action.

DimensionReasoningScore

Specificity

Names the domain (Azure PostgreSQL Flexible Server, Node.js/TypeScript, pg/node-postgres) and one concrete action ('Connect to'), but offers no broader list of capabilities, matching the anchor that lists 1-2 concrete actions without comprehensive coverage.

3 / 5

Completeness

It gives a clear 'what' (connect to Azure PostgreSQL Flexible Server from Node/TS via pg) but has no 'Use when...' trigger guidance; per the judging guidelines a missing explicit 'when' clause caps completeness at 3.

3 / 5

Trigger Term Quality

Relevant product keywords like 'Azure Database for PostgreSQL Flexible Server' and 'pg (node-postgres)' are present, but common natural variations/synonyms (e.g., 'Postgres', connection-string phrasing) are missing, so it does not reach full keyword coverage.

3 / 5

Distinctiveness Conflict Risk

The scope is tightly bound to Azure PostgreSQL Flexible Server with node-postgres in Node.js/TypeScript, a distinct niche with minimal overlap risk against other skills.

5 / 5

Total

14

/

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.

Validation15 / 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
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.