cloudbase
/cloudbase
Use when building, deploying, or debugging Tencent CloudBase (腾讯云开发 / TCB) apps in Trae — Web, WeChat Mini Program, cloud functions, CloudRun, auth, NoSQL/PostgreSQL, storage, and built-in AI. Prefer CloudBase MCP tools first, then load published CloudBase skills for scenario details.
- Author
- trae-community ↗
- Repository
- trae-skills ↗
- Licence
- MIT
- Last repository change
- 10.09.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 5
No signals detected. Repository changed on 10.09.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when building, deploying, or debugging Tencent CloudBase (腾讯云开发 / TCB) apps in Trae — Web, WeChat Mini Program, cloud functions, CloudRun, auth, NoSQL/PostgreSQL, storage, and built-in AI. Prefer CloudBase MCP tools first, then load published CloudBase skills for scenario details.
Original author description
Use when building, deploying, or debugging Tencent CloudBase (腾讯云开发 / TCB) apps in Trae — Web, WeChat Mini Program, cloud functions, CloudRun, auth, NoSQL/PostgreSQL, storage, and built-in AI. Prefer CloudBase MCP tools first, then load published CloudBase skills for scenario details.
How it works
- Description
- Usage Scenario
- Preconditions
- Instructions
- Examples
- References
- Constraints
SKILL.md preview
---
name: cloudbase
description: Use when building, deploying, or debugging Tencent CloudBase (腾讯云开发 / TCB) apps in Trae — Web, WeChat Mini Program, cloud functions, CloudRun, auth, NoSQL/PostgreSQL, storage, and built-in AI. Prefer CloudBase MCP tools first, then load published CloudBase skills for scenario details.
---
# CloudBase (Tencent Cloud Development)
## Description
Guide Trae to develop on **Tencent CloudBase** with the correct order of operations: environment binding → MCP management tools → scenario skill → implementation → review/deploy.
CloudBase covers Web / H5, WeChat Mini Program, cloud functions, CloudRun, document DB / PostgreSQL / MySQL, cloud storage, auth, and built-in AI models.
## Usage Scenario
Use this skill when the user:
- Mentions CloudBase, 云开发, TCB, 腾讯云开发, or WeChat Mini Program cloud development
- Asks to scaffold, deploy, or debug a CloudBase Web / Mini Program / CloudRun app
- Needs auth, database, storage, cloud functions, or CloudBase AI model integration
- Wants Trae wired to `@cloudbase/cloudbase-mcp`
Do **not** use for non-CloudBase backends or pure frontend work with no CloudBase dependency.
## Preconditions
- Trae can run terminal commands and edit project files
- Prefer enabling CloudBase MCP (see below) before management API work
- User should have a Tencent Cloud / CloudBase account (browser login is prompted by MCP)
## Instructions
1. **Confirm scenario** — Web, WeChat Mini Program, CloudRun, database-only, auth-only, or AI model. State which scenario you will follow.
2. **Ensure CloudBase MCP is available in Trae**
- Settings → MCP → Add → Manual:
```json
{
"mcpServers": {
"cloudbase-mcp": {
"command": "npx",
"args": ["-y", "@cloudbase/cloudbase-mcp@latest"],
"env": {}
}
}
}
```
- On first use, complete browser login / environment selection.
3. **Bind environment explicitly**
- Call `envQuery` (or equivalent) to resolve the canonical `EnvId`.
- Never pass aliases/nicknames directly into SDK init or deploy configs — resolve to full `EnvId` first.
4. **Prefer MCP tools for management work**
- Auth providers, DB schema, functions, hosting, CloudRun, storage, security rules: use MCP first.
- Inspect tool schemas before calling; do not invent parameters.
5. **Load the matching published CloudBase skill before coding**
- Main entry: https://github.com/TencentCloudBase/skills (or `npx skills add tencentcloudbase/cloudbase-skills`)
- Common ids: `web-development`, `miniprogram-development`, `auth-tool-cloudbase`, `auth-web-cloudbase`, `cloud-functions`, `cloudrun-development`, `postgresql-development-cloudbase`, `ui-design`, `cloudbase-platform`
- Read the skill fully before writing application code.
6. **Implementation order**
- Resource prep via MCP (providers, collections/tables, permissions) → then frontend/backend code → local verify → deploy.
7. **Close-out**
- Run a CloudBase-aware review when available (`cloudbase-code-review` skill).
- Report EnvId, resources touched, and preview/deploy URLs.
## Examples
### Example 1 — Web app with username/password auth
**User:** “用云开发做一个带登录的 Web 管理后台”
**Agent should:**
1. Enable CloudBase MCP and bind `EnvId`
2. Use auth MCP tools to enable username/password (and publishable key) before writing login UI
3. Follow `auth-tool-cloudbase` then `auth-web-cloudbase` / `web-development`
4. Deploy static hosting only after auth providers are confirmed
### Example 2 — WeChat Mini Program CRUD
**User:** “小程序云开发读写文档数据库”
**Agent should:**
1. Confirm Mini Program + CloudBase scenario
2. Use NoSQL MCP tools / `cloudbase-document-database-in-wechat-miniprogram` guidance
3. Avoid Web SDK auth patterns in Mini Program code
## References
- Docs: https://docs.cloudbase.net/ai/cloudbase-ai-toolkit/ai-agent-plugins
- Toolkit source: https://github.com/TencentCloudBase/CloudBase-AI-Toolkit
- Open Plugin / skills package: https://github.com/TencentCloudBase/cloudbase-plugin
- Published skills: https://github.com/TencentCloudBase/skills
## Constraints
- Do not invent CloudBase API paths or MCP tool arguments
- Do not expose API keys / `service_role` credentials in frontend code
- After 2–3 failed attempts on the same path, stop and reroute (env, auth domain, permission model, or skill)
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · trae-community/trae-skills | 100 | MIT |
| tencentcloudbase/cloudbase-skills | 100 | MIT |
| tencentcloudbase/cloudbase-ai-toolkit | 100 | MIT |
| tencentcloudbase/skills | 100 | MIT |
| tencentcloudbase/cloudbase-ai-toolkit | 100 | MIT |
| LeoYeAI/openclaw-master-skills | 100 | MIT |
| TencentCloudBase/CloudBase-MCP | 95 | MIT |
| tencentcloudbase/cloudbase-ai-toolkit | 95 | MIT |
| tencentcloudbase/cloudbase-ai-toolkit | 95 | MIT |
Database snapshot: 13.11.2026 · package version 2d3737f5c578 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90cloudbase-cli
CloudBase CLI (tcb, 云开发CLI, Tencent CloudBase命令行) resource management skill. Use when deploying cloud functions, CloudRun, storage, NoSQL/MySQL, static hosting, permissions, CORS/domains via tcb; for CI/CD and batch ops; when the user prefers CLI; or as the first-session… - 100cloud-functions
CloudBase function runtime guide for building, deploying, and debugging your own Event Functions or HTTP Functions. This skill should be used when users need application runtime code on CloudBase, not when they are merely calling CloudBase official platform APIs. - 100cloudbase-miniprogram
Use when building a WeChat Mini Program (微信小程序 / 小程序) with a real backend on 腾讯云开发 CloudBase — from an idea to a published release. Triggers on: 小程序, 微信小程序, wx.cloud, 云开发, 云函数, 数据库, 集合, 云存储, 上传图片, 登录, openid, 订阅消息, 支付, 体验版, 预览, 上传代码, 提交审核, 发布, 合法域名, 真机调试, 分包. Covers project… - 98miniprogram-development
WeChat Mini Program development rules. Use this skill when developing WeChat mini programs, integrating CloudBase capabilities, and deploying mini program projects. - 100cloudbase-wechat-integration
CloudBase WeChat integration guide for Mini Program WeChat Pay, Official Account JSAPI Pay, Native QR-code Pay, Official Account OAuth, openid handling, payment callbacks, and CloudBase Integration Center generated functions. This skill should be used when users ask to add,… - 100cloudbase-platform
CloudBase platform knowledge and best practices. Use this skill for general CloudBase platform understanding, including storage, hosting, authentication, cloud functions, database permissions, and data models.