- name
- cloudbase-cli
- description
- 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 fallback when CloudBase MCP tools are not loaded yet (after install/config, before IDE restart). Also covers tcb login and site switching (国内站/国际站 via --intl or config isIntl), environment lifecycle (env create/modify/renew/delete/apikey/login/domain), tcb config and cloudbaserc.json sync, log search (logs search, CLS), metric monitoring (monitor), data model and PostgreSQL migrations (db model, db pg migration), sandbox/agent/integration management — do not default to tcb deploy.
- version
- 2.37.5
- license
- MIT
- alwaysApply
- false
CloudBase CLI
Manage CloudBase resources via tcb CLI — deterministic, scriptable, auditable.
Primary interface for CI/CD and batch ops; also the first-session fallback when MCP tools are not yet available in the conversation.
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.
Cross-cutting protocols (required before code changes or deployments):
- Change Safety Protocol:
../cloudbase-platform/references/protocols/change-safety-protocol.md - Deployment Gate:
../cloudbase-platform/references/protocols/deployment-gate.md - MCP vs CLI fallback:
../cloudbase/references/tooling-fallback.md(packaged beside this skill as thecloudbaseentry guideline)
Route, do not improvise — when a task belongs to another skill, hand over instead of guessing flags here:
- PostgreSQL schema / RLS /
pgstore→../postgresql-development-cloudbase/SKILL.md - Data-model design (ER / Mermaid) →
../postgresql-development-cloudbase/SKILL.md - In-app SDK code (web / miniprogram / node) → the matching SDK skill
Core Principles
-
--helpfirst — but its failure does NOT mean the command is missing. Runtcb <command> --helpto check parameters and find official doc links. On current CLI versions many second-level commands reject--help(error: unknown option '--help'), while some accept-h, andtcb help <cmd>only works one level deep. Try-h, thentcb help <cmd>, thentcb docs search "<keyword>"— never conclude a command does not exist from a help error.tcb --helpitself is a hand-maintained static list, so absence from it says nothing about lifecycle: , , , , , , , , , , and are all registered yet unlisted. , and — the statuses differ: / are (recommend normally), while and / are (product decision, no code marker). Full status table: .