CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

cloudbase-document-database-web-sdk

Use CloudBase document database Web SDK only for confirmed NoSQL collection work. Query, create, update, and delete document data; if the task mentions PostgreSQL / CloudBase PG / app.rdb(), route to postgresql-development instead.

Quality

81%

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 cloudbase-document-database-web-sdk in TencentCloudBase/CloudBase-AI-Toolkit

SKILL.md
Quality
Evals
Security

Quality

Content

77%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 body is highly actionable with executable code, concrete security-rule patterns, and rare validation feedback loops for database writes. Its weaknesses are token-level redundancy (duplicated gotchas, generic best-practice filler) and a progressive-disclosure structure whose quick-routing targets are missing from the shipped bundle, leaving the navigation promises unfulfilled.

Suggestions

Ship the seven routed reference files (crud-operations.md, complex-queries.md, pagination.md, aggregation.md, realtime.md, geolocation.md, security-rules.md) in the bundle, or inline minimal stubs for each so the quick-routing table never dead-ends; the same applies to ../postgresql-development-cloudbase/references/pgdoc.md.

Deduplicate the content: the CMS CUSTOM-rule pattern (stated in both 'Common mistakes / gotchas' and 'Working rules' #3) and the result._id return-shape gotcha (in both 'Common mistakes' and 'Working rules' #5) each appear twice — state each once in the more authoritative section and cross-reference it.

Trim the generic 'Best practices' list (naming conventions, select required fields, add indexes) and the trivial try/catch 'Error handling' example, since they restate knowledge Claude already has; keep only the SDK-specific guidance such as checking updated/deleted result fields.

DimensionReasoningScore

Conciseness

Much of the body is high-value, non-obvious SDK knowledge (rule-cache 2-5 minute propagation, result._id return shape, get() on a missing role doc failing with HTTP 500), but the CMS CUSTOM rule pattern and the result._id gotcha are each stated twice, the PG routing bullet is a dense run-on, and the "Best practices" and "Error handling" sections restate generic database knowledge Claude already has. Not 4 because the duplication and padding are more than minor; not 2 because the majority of tokens earn their place.

3 / 5

Actionability

Copy-paste-ready code for canonical initialization, simple query, create-and-capture-_id, ordered pagination, and field selection, plus concrete executable security-rule expressions (e.g. the user_roles CMS pattern and the admin_registry alternative). Common cases are fully covered with executable examples.

5 / 5

Workflow Clarity

Sequenced activation contract ("Use this first when" / "Read before writing code if" / "Then also read"), a minimal checklist, and explicit validation feedback loops for database operations: retry after the 2-5 minute rule-cache window, read result.code/result.message on every write, get() round-trip on the just-written _id, and inspect the rule model on permission failures. The database-operations feedback-loop cap does not apply because validation is present.

5 / 5

Progressive Disclosure

The design follows the ideal pattern — a concise overview with a well-signaled one-level-deep quick routing table (crud-operations.md, complex-queries.md, pagination.md, aggregation.md, realtime.md, geolocation.md, security-rules.md) — but none of those seven files, nor ../postgresql-development-cloudbase/references/pgdoc.md, exist in the bundle (no references/, scripts/, or assets/ directories are present), so every routed path dead-ends. Not 4 because the gap is material rather than a minor organization issue; not 2 because structure and signaling are clear and no content that belongs in separate files is inlined.

3 / 5

Total

16

/

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.

The description is specific, distinct, and answers both what and when, with an unusually strong disambiguation clause for the PostgreSQL sibling skill. Its main weakness is that the "when" is phrased only as a restrictive condition plus a negative route, without positive trigger phrases, and it omits several of the skill's actual capabilities (realtime, aggregation, geolocation).

DimensionReasoningScore

Specificity

"Query, create, update, and delete document data" names the domain plus four concrete CRUD actions on the named SDK. Not 5 because realtime watch, aggregation, pagination, and geolocation capabilities are unmentioned; not 3 because it lists several specific actions rather than only 1-2.

4 / 5

Completeness

Answers "what" clearly (Query, create, update, delete document data via the Web SDK) and "when" explicitly but restrictively ("only for confirmed NoSQL collection work") plus a negative routing trigger. Not 5 because there is no positive "Use when..." clause with concrete trigger phrases; not 3 because the "when" is explicitly stated, not merely implied.

4 / 5

Trigger Term Quality

Includes natural terms users would say: "NoSQL collection", "CloudBase PG", "app.rdb()", "PostgreSQL", "document database". Not 5 because common SDK-specific triggers like db.collection(), .where(), @cloudbase/js-sdk, or CRUD synonyms are absent; not 3 because keyword coverage is good rather than merely "some relevant keywords".

4 / 5

Distinctiveness Conflict Risk

Names the exact SDK ("CloudBase document database Web SDK") and carves out an explicit escape hatch ("if the task mentions PostgreSQL / CloudBase PG / app.rdb(), route to postgresql-development instead"). Clear niche with distinct triggers and minimal conflict risk with sibling database skills.

5 / 5

Total

17

/

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/source/skills/cloudbase-document-database-web-sdk/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.