CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

cloudbase-declarative-deploy

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 for multi-environment deploys via mode / envOverrides. Covers the build-plan-apply flow (local build → dry-run plan → apply), 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. deployApply builds nothing: use deployBuild for hosting and build app yourself before applying; distinct from per-resource tcb CLI deploys.

Quality

90%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

81%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is highly actionable with exact MCP tool calls, error-code recovery paths, and a validated build→plan→apply workflow including a deployment gate and self-check. Its main weakness is token efficiency: the never-build contract is repeated many times and the reference listing is duplicated, which adds cost without adding information.

Suggestions

State the 'deployApply never builds; use deployBuild for hosting and build app yourself' contract once (e.g., in Core principles) and reference it elsewhere instead of restating it in the workflow, the Build & pipeline section, the table, and the self-check.

Remove the Reference index section that duplicates the Routing table verbatim, or replace the Routing table with it — one navigation map is enough.

Consider moving the detailed cloud-mode two-phase upload sequences (functions zip, CloudApp pipeline) into a reference file and keeping only the channel-selection decision inline.

DimensionReasoningScore

Conciseness

The "deployApply builds nothing / deployBuild does not cover app" contract is restated roughly five times (workflow step 2, the Build & pipeline prose, the table rows, the buildHint paragraph, and the self-check), and the Reference index duplicates the Routing table verbatim for the same three files. No padding with concepts Claude already knows, but the redundancy is more than the 'minor instances' of the level-4 anchor.

3 / 5

Actionability

Fully concrete guidance throughout: exact tool invocations (deployBuild({ cwd, mode? })), full parameter sets (mode, envId, only, skip, yes, concurrency, continueOnError), error codes with recovery actions (BUILD_OUTPUT_NOT_FOUND, DEPENDENCY_NOT_INSTALLED, BUILD_FAILED), the two-phase cloud upload with exact action names and fields (queryFunctions(action=getFunctionUploadUrl...), manageApps(action=deployApp, cosTimestamp=...)), and the machine-readable buildHint schema. The common cases are covered copy-paste ready.

5 / 5

Workflow Clarity

The six-step local workflow has explicit validation checkpoints (read plan action classification, check buildHint.artifactReady, present the plan + Deployment Gate declaration, pass confirm=true only after user confirmation) and feedback loops for error recovery (BUILD_OUTPUT_NOT_FOUND directs back to the build step, conflict entries stop the deploy, re-run deployPlan after building). A closing self-check checklist covers this destructive/batch flow end to end.

5 / 5

Progressive Disclosure

The Routing table maps user tasks to three real one-level-deep reference files (references/config-schema.md, plan-and-apply.md, multi-env.md, all present in the bundle), and cloud-mode parameter detail is correctly deferred to plan-and-apply.md. Minor gaps keep it below the level-5 anchor: the Reference index section redundantly duplicates the Routing table, and the long inline cloud-mode upload detail could be split out.

4 / 5

Total

17

/

20

Passed

Description

96%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

An exemplary description: concrete tool-level capabilities, explicit multi-scenario 'Use when' triggers with Chinese and English synonyms, and an explicit disambiguation against the sibling CLI skill. The only weakness is residual overlap risk with the closely related CloudBase sibling skills, mitigated but not eliminated.

DimensionReasoningScore

Specificity

Lists multiple concrete actions with comprehensive coverage: the three named MCP tools (deployBuild / deployPlan / deployApply), buildHint field reading (buildCommand / outputDir / artifactReady), envId resolution priority, only/skip filtering, concurrency, continueOnError, and BUILD_OUTPUT_NOT_FOUND recovery. Coverage of tools, flows, filters, and error paths is complete rather than having the minor gaps of the level-4 anchor.

5 / 5

Completeness

Explicitly answers both 'what' (declarative deployment of database/functions/app/hosting/gateway from cloudbaserc via three named MCP tools, with covered behaviors) and 'when' ("Use when deploying... when a user wants to build static hosting artifacts locally first... or wants a dry-run plan before applying... or for multi-environment deploys"). Both are concrete and explicit.

5 / 5

Trigger Term Quality

Natural trigger phrases in both English and Chinese (声明式部署, 配置式部署, cloudbaserc 部署, "deploy from cloudbaserc", "dry-run plan before applying", "multi-environment deploys") plus concrete tool names users would mention. Synonym coverage across two languages exceeds the 'a few natural terms missing' level-4 anchor.

5 / 5

Distinctiveness Conflict Risk

The cloudbaserc desired-state niche is clear and "distinct from per-resource tcb CLI deploys" explicitly disambiguates the closest sibling. However, the broader CloudBase family (cloudbase-cli, SDK skills) targets adjacent deploy tasks, leaving minor overlap risk with closely related skills — the level-4 anchor fits better than the minimal-conflict level-5 anchor.

4 / 5

Total

19

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository

TencentCloudBase/CloudBase-AI-Toolkit

Path

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

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.