CtrlK
BlogDocsLog inGet started
Tessl Logo

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.

71

Quality

88%

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

88%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 dense, highly actionable skill body with genuinely valuable gotchas (permission-rule propagation delay, result._id shape, get()-on-missing-doc HTTP 500 behavior) and strong validation/retry feedback loops. The main costs are duplicated passages across "Common mistakes" and "Working rules", and quick-routing targets that don't resolve to real files in this environment.

Suggestions

Deduplicate the CMS CUSTOM-rule pattern and the result._id gotcha: keep one-line pointers in 'Common mistakes' and put the full pattern once in security-rules.md (which is already routed to).

Ensure the seven quick-routing companion files (crud-operations.md, complex-queries.md, pagination.md, aggregation.md, realtime.md, geolocation.md, security-rules.md) ship with the skill, or note — as the body already does for sibling skills — how to obtain them when missing.

The 'Best practices' list (naming conventions, indexes, field selection) largely restates guidance already given in 'Working rules' and 'Quick examples'; consider merging it into one section.

DimensionReasoningScore

Conciseness

The body assumes Claude's competence (no concept explanations, no library comparisons) and every section carries operational value. Not 5 because content is duplicated: the CMS CUSTOM-rule pattern appears in full in both "Common mistakes" and Working rule 3, and the result._id gotcha is stated in "Common mistakes", Working rule 5, and the Quick examples; not 3 because these are trimmable repetitions rather than padded explanation.

4 / 5

Actionability

All examples are executable, copy-paste-ready JavaScript: canonical init, where().get(), add() with "const articleId = result._id", orderBy/skip/limit pagination, field selection, and try/catch error handling. Non-code guidance is equally concrete (e.g. the exact CUSTOM rule expression and the get() round-trip verification). This matches the anchor-5 'fully executable, covers common cases' example; 4 would require gaps in the covered cases, and the CRUD/query/pagination/error set is complete for the skill's scope.

5 / 5

Workflow Clarity

The sequence is clear: Activation Contract (use-first / read-before / do-not-use) → minimal checklist → sequenced working rules, and the database-operation feedback loops the rubric demands are all explicit: "wait a few minutes and retry the same write before assuming the rule is wrong", "verify the rule is live by reading result.code / result.message on every write and by doing a get() round-trip on the just-written _id", and "If the task fails with permission issues, inspect the rule model rather than assuming the query syntax is wrong." Not 4 because validation checkpoints are present and explicit, not merely implied.

5 / 5

Progressive Disclosure

The "Quick routing" section cleanly maps each operation to a one-level-deep companion file (CRUD -> ./crud-operations.md, Security rules -> ./security-rules.md, etc.), which is exemplary signaling. Not 5 because those companion files (crud-operations.md, complex-queries.md, pagination.md, aggregation.md, realtime.md, geolocation.md, security-rules.md) are not present in this bundle — the routing points at files a reader cannot open here — and the deep CMS rule detail duplicated in Working rule 3 arguably belongs in security-rules.md. Not 3 because the overview/reference split itself is well organized and easy to navigate.

4 / 5

Total

18

/

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 tight, third-person description with concrete CRUD actions and an explicit bidirectional routing rule (NoSQL in, PG out). Trigger phrase coverage is strong but omits several operation-level terms (aggregation, watch, pagination, CRUD, SDK package name) that appear in the skill body.

Suggestions

Add one or two operation-level trigger terms that the body already supports (e.g. 'aggregation', 'realtime watch()') so users asking for those operations match the description naturally.

Consider naming the SDK package '@cloudbase/js-sdk' or 'db.collection()' as a trigger, since users often paste code identifiers when asking for help.

DimensionReasoningScore

Specificity

"Query, create, update, and delete document data" lists several concrete actions scoped to "CloudBase document database Web SDK", but coverage has minor gaps — aggregation, realtime watch(), pagination, and geolocation (all covered in the body) are absent from the description. Not 5 because the action list is not comprehensive; not 3 because four concrete CRUD actions plus explicit routing guidance exceed a 1-2 action listing.

4 / 5

Completeness

Both questions are answered explicitly: what — "Query, create, update, and delete document data" via the CloudBase Web SDK; when — "only for confirmed NoSQL collection work" plus the concrete negative trigger "if the task mentions PostgreSQL / CloudBase PG / app.rdb(), route to postgresql-development instead". This matches the anchor-5 pattern of concrete positive and negative trigger phrases; a 4 would require the 'when' to be less explicit, which it is not.

5 / 5

Trigger Term Quality

Natural terms users would say are present: "CloudBase", "document database", "Web SDK", "NoSQL collection", "PostgreSQL", "app.rdb()", "query/create/update/delete". Not 5 because common variations like "CRUD", "@cloudbase/js-sdk", "db.collection()", "collection", "aggregation", or "realtime" are missing; not 3 because keyword coverage goes well beyond a single generic phrase and includes the key disambiguating terms.

4 / 5

Distinctiveness Conflict Risk

The niche is sharply delimited: "only for confirmed NoSQL collection work" with explicit conflict resolution routing PostgreSQL/PG/app.rdb() work to postgresql-development. "Web SDK" additionally separates it from server-side and Mini Program siblings. Not 4 because the one conflict it does not name explicitly (the Mini Program sibling) is still excluded by the "Web SDK" qualifier, leaving minimal realistic overlap.

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
TencentCloudBase/CloudBase-AI-Toolkit
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.