Tooluck logoTooluck
SKILL.md

cloudbase-document-database-in-wechat-miniprogram

Agent skill fromTencentCloudBase/CloudBase-AI-Toolkit

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

How to install cloudbase-document-database-in-wechat-miniprogram

install cloudbase-document-database-in-wechat-miniprogram
# install the CloudBase-AI-Toolkit pack with the skills CLI
npx skills add TencentCloudBase/CloudBase-AI-Toolkit

# or add only this skill to Claude Code: copy the folder

config/source/skills/cloudbase-document-database-in-wechat-miniprogram/

# into

~/.claude/skills/cloudbase-document-database-in-wechat-miniprogram/ (all projects)

.claude/skills/cloudbase-document-database-in-wechat-miniprogram/ (one project)

config/source/skills/cloudbase-document-database-in-wechat-miniprogram/SKILL.md

MITFull file
1## Sibling skills (local only)
2
3Sibling CloudBase skills ship beside this skill. Use local relative paths such as `../auth-tool-cloudbase/SKILL.md`.
4
5If 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.
6
7# CloudBase Document Database WeChat Mini Program SDK
8
9## Activation Contract
10
11### Use this first when
12
13- A WeChat Mini Program must access CloudBase document database through `wx.cloud.database()`.
14- The request mentions Mini Program collection CRUD, pagination, aggregation, or geolocation queries.
15- Moving that Mini Program app's data onto CloudBase PG while keeping `wx.cloud.database()` is pgdoc — read `../postgresql-development-cloudbase/references/pgdoc.md` before changing any SDK call. CUSTOM security rules do not apply after pgdoc takes over.
16
17### Read before writing code if
18
19- The task is Mini Program database work but you still need to separate it from Web SDK, cloud functions, or SQL tasks.
20- The request depends on built-in user identity, `_openid`, or Mini Program-side permissions.
21
22### Then also read
23
24- Mini Program project rules and CloudBase integration -> `../miniprogram-development/SKILL.md`
25- Mini Program auth and identity flow -> `../auth-wechat-miniprogram/SKILL.md`
26- Browser-side document database code -> `../cloudbase-document-database-web-sdk/SKILL.md`
27
28### Do NOT use for
29…

Excerpt shown under the repository's MIT license.

More skills in CloudBase-AI-Toolkit

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

pbakaus /

impeccable
108k

The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.

2 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates