Tooluck logoTooluck
SKILL.md

cloudbase-declarative-deploy

Agent skill fromTencentCloudBase/CloudBase-AI-Toolkit

CloudBase declarative deployment from a cloudbaserc config (声明式部署, 配置式部署, cloudbaserc 部署) through the deployBuild / deployPlan / deployApply MCP tools. Use when deploying database, functions, app, hosting, or gateway resources described in cloudbaserc.json/yaml as a single desired-state config, when a user wants to build static hosting artifacts locally first (deployBuild), or wants a dry-run plan before applying (deployPlan), or when handling multi-environment deploys via mode / envOverrides. Covers build-plan-apply flow (deployBuild local build → deployPlan dry-run → deployApply confirm=true), the deploy-but-never-build contract for app and hosting, reading buildHint (buildCommand / outputDir / artifactReady) from the plan, hosting build-output neutralization, BUILD_OUTPUT_NOT_FOUND recovery, envId resolution priority, only/skip filtering, concurrency, and continueOnError.

How to install cloudbase-declarative-deploy

install cloudbase-declarative-deploy
# 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-declarative-deploy/

# into

~/.claude/skills/cloudbase-declarative-deploy/ (all projects)

.claude/skills/cloudbase-declarative-deploy/ (one project)

config/source/skills/cloudbase-declarative-deploy/SKILL.md

MITFull file
1# CloudBase Declarative Deploy
2
3Deploy a whole CloudBase project from one `cloudbaserc` config as **desired state**,
4using the `deployBuild` (local hosting build), `deployPlan` (dry-run) and `deployApply`
5(apply) MCP tools. The orchestrator applies resources in a fixed dependency order:
6
7```
8database → functions → app → hosting → gateway
9```
10
11## Sibling skills (local only)
12
13Sibling CloudBase skills ship beside this skill. Use local relative paths such as
14`../cloudbase-cli/SKILL.md`.
15
16Cloud-hosted MCP mode does not guarantee access to a local workspace filesystem or
17stable relative paths. If a referenced sibling file is not available in cloud mode,
18use this skill's embedded guidance as source of truth and ask the user for any
19missing constraints (or to install the missing skill). Do **not** HTTP-fetch remote skill or protocol markdown into the agent context.
20
21**Cross-cutting protocols** (required before applying any deploy):
22- Change Safety Protocol: `../cloudbase-platform/references/protocols/change-safety-protocol.md`
23- Deployment Gate: `../cloudbase-platform/references/protocols/deployment-gate.md`
24
25## When to use this skill
26
27- The project has a `cloudbaserc.json` / `.yaml` / `.yml` / `.js` describing multiple
28 resources, and the user wants to deploy them together as one config.
29- The user asks for 声明式部署 / 配置式部署 / "deploy from cloudbaserc" / "deploy the whole project".
30- The user wants to preview what a deploy will change before applying (dry-run plan).
31…

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

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates