Use CloudBase document database WeChat MiniProgram SDK to query, create, update, and delete data. Supports complex queries, pagination, aggregation, and geolocation queries.
SkillScore95Maintained
Automatic
◆Coding pack
Last verified 8/9/2026
What it changes
Passed 21 of 22 test cases with the skill, and 20 of 22 without it.
Without skill91%
With skill95%
Checks it passed that the model alone missed
Excludes `_openid` from the payload passed to `.set()`.
1 fixed20 passed either way1 still failing0 broke
Pass-rate lift
+5 pp
Tokens
+12%
Agent turns
0%
Response time
-44%
Model gemini-3.6-flashMeasured 8/9/2026v221 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
A test case the skill fixed. Same model, same prompt, with and without the skill.
Prompt
I am replacing a user configuration record in the 'settings' collection using `.set()`. Should I write `_openid` into the document body to preserve record ownership?
What was checked, without and with the skill
Checked
Without skill
With skill
Excludes `_openid` from the payload passed to `.set()`.
Missed
Passed
case-09 · gemini-3.6-flash · 8/9/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md129 linessingle file
Sibling skills (local only)
Sibling CloudBase skills ship beside this skill. Use local relative paths such as ../auth-tool-cloudbase/SKILL.md.
If a referenced sibling skill file is missing from this environment, ask the user to install the full CloudBase plugin (or the missing skill). Do not HTTP-fetch remote skill or protocol markdown into the agent context.
CloudBase Document Database WeChat Mini Program SDK
Activation Contract
Use this first when
A WeChat Mini Program must access CloudBase document database through wx.cloud.database().
The request mentions Mini Program collection CRUD, pagination, aggregation, or geolocation queries.
Read before writing code if
The task is Mini Program database work but you still need to separate it from Web SDK, cloud functions, or SQL tasks.
The request depends on built-in user identity, _openid, or Mini Program-side permissions.
Then also read
Mini Program project rules and CloudBase integration -> ../miniprogram-development/SKILL.md
Mini Program auth and identity flow -> ../auth-wechat-miniprogram/SKILL.md