CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

cloudbase-document-database-in-wechat-miniprogram

Use CloudBase document database WeChat MiniProgram SDK to query, create, update, and delete data. Supports complex queries, pagination, aggregation, and geolocation queries.

Quality

68%

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 ./plugin/cloudbase/skills/cloudbase-document-database-in-wechat-miniprogram/SKILL.md

The canonical home for this skill is cloudbase-document-database-in-wechat-miniprogram in TencentCloudBase/CloudBase-AI-Toolkit

SKILL.md
Quality
Evals
Security

Quality

Content

57%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 well structured with a useful activation contract, executable initialization and query examples, and clearly labeled routing to per-topic references. It is dragged down by duplicated capability lists, generic best-practice padding, missing validation/feedback loops for destructive database writes, and routing targets that are absent from the bundle. Tightening the overview and ensuring the referenced files actually ship would move it up a full band.

Suggestions

Remove the duplication: the frontmatter description is restated almost verbatim in both the Overview paragraph and the "Use it for" list — keep one, and trim generic best-practice bullets like "Create clear collection naming conventions".

Add an explicit validation/feedback step for write and delete workflows (e.g. check the returned `_id` or `stats.updated`, and on permission errors re-check the security-rule/query shape and retry) to satisfy the database-operations feedback-loop requirement.

Ensure the six routed reference files (crud-operations.md, complex-queries.md, pagination.md, aggregation.md, geolocation.md, security-rules.md) actually ship in the skill bundle, or inline minimal executable guidance for each operation so navigation is never broken.

DimensionReasoningScore

Conciseness

The frontmatter description is restated nearly verbatim twice ("This skill covers Mini Program-side document database access..." and the "Use it for" list), and "Best practices" bullets like "Create clear collection naming conventions" are generic padding — more than minor trimming is needed, matching anchor 3 rather than 4.

3 / 5

Actionability

Canonical initialization, env targeting, and executable `.where().get()` / `.doc().get()` examples are copy-paste ready, and rules like "Never set or override `_openid` manually" are concrete; however common cases such as `.add()` and pagination are only delegated to reference files rather than shown, leaving minor gaps (anchor 4, not 5).

4 / 5

Workflow Clarity

The "Minimal checklist" provides pre-flight sequencing and the note that "Permission errors usually mean the rule/query relationship is wrong" gives error interpretation, but the skill covers destructive write/delete operations with no explicit validation step or fix-and-retry loop, which caps workflow clarity at 3 per the database-operations feedback-loop rule.

3 / 5

Progressive Disclosure

The "Quick routing" section is clearly signaled and one level deep (anchor-5 form), but none of the six routed files (crud-operations.md, complex-queries.md, pagination.md, aggregation.md, geolocation.md, security-rules.md) exist in the bundle — scored against the actual bundle structure, navigation does not resolve, fitting anchor 3 rather than 4.

3 / 5

Total

13

/

20

Passed

Description

66%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 domain-distinct, naming the platform, SDK, and a solid set of concrete database capabilities. Its main weakness is the complete absence of an explicit "Use when..." trigger clause, which both caps completeness and limits natural trigger-term coverage. Adding a when-to-use sentence with concrete trigger phrases would lift it to the strong tier.

Suggestions

Add an explicit trigger clause, e.g. "Use when a WeChat Mini Program must read or write CloudBase document database data via wx.cloud.database(), or when the request mentions Mini Program collections, pagination, aggregation, or geolocation queries."

Include natural synonyms users actually say — "collection", "wx.cloud", "Tencent CloudBase" — to broaden trigger-term coverage beyond the current wording.

DimensionReasoningScore

Specificity

"query, create, update, and delete data" plus "complex queries, pagination, aggregation, and geolocation queries" lists several concrete actions, but coverage has minor gaps (no real-time listeners, count, or index management), matching anchor 4 rather than the comprehensive anchor 5.

4 / 5

Completeness

The description clearly answers "what" with multiple concrete capabilities but contains no "Use when..." clause or equivalent explicit trigger guidance, which caps completeness at 3 per the judging guidelines; it is not a 4 because the "when" is wholly absent rather than merely implicit.

3 / 5

Trigger Term Quality

Natural terms like "CloudBase", "WeChat MiniProgram", "document database", "pagination", and "aggregation" are present, but common user phrasings such as "collection", "wx.cloud", and "Tencent CloudBase" are missing, so keyword coverage is good rather than comprehensive.

4 / 5

Distinctiveness Conflict Risk

"WeChat MiniProgram SDK" is a strong platform qualifier creating a clear niche, but the same CRUD/query operations exist in the closely related web-SDK sibling skill, leaving minor overlap risk with a closely related skill (anchor 4) rather than minimal conflict risk (anchor 5).

4 / 5

Total

15

/

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

plugin/cloudbase/skills/cloudbase-document-database-in-wechat-miniprogram/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.