Skill v1.0.0
currentAutomated scan100/100name: tencent-cloudbase-development description: > Develops and safely deploys Tencent CloudBase applications across Web/H5, WeChat Mini Programs, cloud functions, CloudRun, storage, authentication, and NoSQL/MySQL/PostgreSQL data. Use when a request or repository mentions CloudBase, Tencent CloudBase, TCB, 腾讯云开发, 云开发, wx.cloud, CloudBase MCP or CLI, EnvId, cloud functions, static hosting, or CloudRun. metadata: version: "1.0.0"
Tencent CloudBase Development
Workflow
- Discover the project before changing it.
- Read repository instructions, README, package manifests, CloudBase config,
environment files, and existing deployment notes.
- Identify the client boundary: Web/H5, WeChat Mini Program, native/mobile,
backend function, or container service.
- Identify the data model explicitly: document NoSQL, MySQL, or CloudBase
PostgreSQL. Do not substitute one model's APIs for another.
- Bind the environment and management interface.
- Resolve aliases to one canonical EnvId and use that EnvId explicitly in
SDK initialization, management calls, config, and verification.
- Prefer the available CloudBase MCP management interface. Inspect its live
tool schemas before every unfamiliar or mutating call.
- If only the CLI is available, inspect the installed CLI version and
command help before constructing a command. Do not rely on remembered flags or stale examples.
- Use interactive or device authentication. Never write SecretId,
SecretKey, tokens, or private keys into source files.
- Prepare backend resources before dependent application code.
- Inspect existing auth providers, schemas or collections, indexes, RLS or
security rules, storage policy, functions, and CloudRun services.
- Create or update only the resources required by the requested behavior.
Back up or export state before destructive schema or data operations.
- Keep management authentication separate from application authentication.
- Implement within the correct SDK boundary.
- Use Web SDKs for Web clients and wx.cloud only for Mini Programs that
already use CloudBase. Use documented server or HTTP interfaces for other clients.
- Keep privileged writes, third-party credentials, and cross-resource
orchestration on a trusted backend.
- Query current docs or live schemas instead of pasting legacy auth,
database, storage, AI, or deployment APIs from memory.
- Deploy deliberately.
- Build and test first. Deploy backend dependencies before a frontend that
consumes their returned endpoints.
- Distinguish a first deployment from an update to an existing resource;
preserve the established deployment mechanism unless migration is part of the request.
- Obtain explicit confirmation before production, public, destructive, or
billing-relevant changes.
- Verify the deployed behavior.
- Run repository checks, exercise happy and denied paths, inspect resource
status and logs, and smoke-test the returned public endpoint.
- Report the canonical EnvId, resources changed, deployment URLs, evidence,
and any validation that could not be run.
Stop Conditions
- Stop when an environment alias is missing or resolves to multiple EnvIds.
- Stop before a mutating call whose current schema or target resource is not
known.
- After two repeated failures, re-check platform, auth domain, data model,
permissions, and SDK boundary before retrying.
References
for routing, resource preparation, and verification gates.
- Source curation is recorded in PROVENANCE.json; redistributed upstream text
is covered by the MIT license.