CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

postgresql-best-practices-cloudbase

CloudBase PostgreSQL access-pattern and slow-query quality guidance. Use when designing how tables are read and written, eliminating per-row database calls, adding indexes for filters or joins, reviewing high-traffic data access, or explaining a slow SQL query. Not for first-time PG SDK setup, login UI, or NoSQL collections.

Quality

93%

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

The canonical home for this skill is postgresql-best-practices-cloudbase in TencentCloudBase/CloudBase-AI-Toolkit

SKILL.md
Quality
Evals
Security

Quality

Content

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

Excellent body structure: lean overview with a checkpoint-driven workflow, a final self-check, and clean routing to four verified reference files. The only weakness is minor — a few common cases (index DDL, keyset pagination) lack inline executable examples.

DimensionReasoningScore

Conciseness

The body is lean and assumes competence: no re-teaching of known concepts, tight code snippets, and the few explanatory sentences carry non-obvious constraints (migration versioning tradeoff, "do not represent autoscaling as guaranteed"). Every section earns its tokens.

5 / 5

Actionability

Provides copy-paste-ready SQL policy, a concrete TS batching snippet, and a specific `queryEnv(action="info", envId=...)` call, but a couple of common cases lack inline examples (index DDL, keyset-pagination RPC), which are only routed out to reference files.

4 / 5

Workflow Clarity

The four-step workflow is clearly sequenced and every step has an explicit "**Complete when:**" validation checkpoint, capped by a "Minimum self-check" checklist. Validation is present throughout, so the missing-validation cap does not apply.

5 / 5

Progressive Disclosure

A routing table maps each branch (access patterns, indexes/EXPLAIN, schema/RLS, capacity) to one of four real one-level-deep reference files, with the instruction "Load only the references required by the current branch" — clear overview, well-signaled navigation, appropriate split.

5 / 5

Total

19

/

20

Passed

Description

92%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: concrete capability list, explicit use-when triggers, and clear negative boundaries that disambiguate sibling skills. The only gap is modest synonym coverage for trigger terms (e.g., "query performance", "N+1").

DimensionReasoningScore

Specificity

The description lists multiple concrete actions — "designing how tables are read and written, eliminating per-row database calls, adding indexes for filters or joins, reviewing high-traffic data access, or explaining a slow SQL query" — giving comprehensive coverage of the skill's capabilities rather than vague domain language.

5 / 5

Completeness

It explicitly answers both what ("CloudBase PostgreSQL access-pattern and slow-query quality guidance") and when ("Use when designing how tables are read and written, eliminating per-row database calls...") with concrete trigger phrases, plus negative boundaries ("Not for first-time PG SDK setup, login UI, or NoSQL collections").

5 / 5

Trigger Term Quality

Natural phrases users would say are present ("slow SQL query", "adding indexes", "per-row database calls", "high-traffic"), but common synonyms such as "query performance", "optimize", or "N+1 queries" are missing. Coverage is good but not comprehensive.

4 / 5

Distinctiveness Conflict Risk

It occupies a clear niche (CloudBase PG access-pattern and slow-query review) and the explicit "Not for..." clause separates it from sibling setup, auth, NoSQL, and ops skills, minimizing wrong-skill triggering.

5 / 5

Total

19

/

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

TencentCloudBase/CloudBase-AI-Toolkit

Path

config/.claude/skills/postgresql-best-practices-cloudbase/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.