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 when handling multi-environment deploys via mode / envOverrides. Covers build-plan-apply flow (deployBuild local build → deployPlan dry-run → deployApply confirm=true), hosting build-output neutralization, envId resolution priority, only/skip filtering, concurrency, and continueOnError. Prefer deployBuild (when hosting declares a buildCommand) and deployPlan before deployApply; do not confuse with per-resource tcb CLI deploy or single-function deploy.

Quality

91%

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.

Strong operational content: the workflows are unambiguous, validated, and recoverable, with exact tool-call syntax and error-code handling for both local and cloud channels, and references are real and well-signaled by task. The main weaknesses are token efficiency — repeated error-code explanations, duplicated reference listings, and conversational meta-commentary — and the cloud-mode detail that could live in a reference file.

Suggestions

Explain BUILD_OUTPUT_NOT_FOUND and DEPENDENCY_NOT_INSTALLED once (either in the Local workflow step or the Build & pipeline section) and cross-reference the other mention, cutting a duplicated paragraph.

Merge the Reference index into the Routing table (or drop the Routing table) so the three reference files are listed once, and delete the conversational 'So the answer to...' sentence in Build & pipeline execution, which restates the preceding bullets.

Move the detailed cloud-mode two-phase upload steps (function zip, CloudApp pipeline) into references/plan-and-apply.md, keeping only the channel-selection rules and a pointer in the body, which the body already cites for parameter details.

DimensionReasoningScore

Conciseness

The body is mostly dense, non-generic guidance, but contains several instances of redundancy: BUILD_OUTPUT_NOT_FOUND and DEPENDENCY_NOT_INSTALLED are each explained twice (Local workflow step 2 and Build & pipeline execution), the three reference files are listed twice (Routing table plus Reference index), and 'So the answer to "can cloud mode run local CLI commands" is: execution authority is moved...' restates the preceding bullets. This fits the 3 anchor (mostly efficient but could be tightened) rather than 4 because the repetition is systematic, not a single trimmable passage.

3 / 5

Actionability

Guidance is copy-paste ready for MCP tool calls: 'deployBuild({ cwd, mode? })', 'deployApply with confirm=true (plus yes / concurrency / continueOnError)', and the cloud two-phase flows spell out exact action names and parameter keys ('manageFunctions(action=createFunction|updateFunctionCode, code={cosBucketName, cosObjectName, cosBucketRegion?})') with error codes and recovery paths. Both the local and cloud common cases are covered specifically, matching the 5 anchor.

5 / 5

Workflow Clarity

The local workflow is a clear 6-step sequence with explicit validation for a destructive operation: dry-run plan with per-resource action classification, 'If any entry is conflict, stop and resolve it before applying', the Deployment Gate declaration before apply, a feedback loop ('fails with BUILD_OUTPUT_NOT_FOUND and directs you back to this step — call deployBuild first, then retry'), and a Minimum self-check checklist. This matches the 5 anchor including error-recovery loops and a checklist.

5 / 5

Progressive Disclosure

A Routing table maps user tasks to the three real, one-level-deep reference files (config-schema.md, plan-and-apply.md, multi-env.md, all verified present), and an index repeats them with links. However, the ~55-line cloud-mode upload pipeline and the Build & pipeline execution details are inlined in the body where a reference split would fit better, which is the minor organization gap of the 4 anchor rather than the clean overview split of the 5 anchor.

4 / 5

Total

17

/

20

Passed

Description

100%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: it states the what with named MCP tools, gives an explicit 'Use when...' clause with concrete triggers (including Chinese synonyms and file formats), and actively disambiguates from sibling CLI/SDK skills. All four dimensions sit at the top anchor with no padding despite the length, since every clause carries trigger or capability information.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions with comprehensive coverage: 'through the deployBuild / deployPlan / deployApply MCP tools' plus 'hosting build-output neutralization, envId resolution priority, only/skip filtering, concurrency, and continueOnError'. It matches the 5 anchor (multiple specific concrete actions, comprehensive coverage) rather than 4 because no meaningful capability gaps remain.

5 / 5

Completeness

It explicitly answers both what ('CloudBase declarative deployment from a cloudbaserc config ... through the deployBuild / deployPlan / deployApply MCP tools') and when ('Use when deploying database, functions, app, hosting, or gateway resources ... or wants a dry-run plan before applying ... or when handling multi-environment deploys via mode / envOverrides') with concrete trigger phrases, exactly matching the 5 anchor.

5 / 5

Trigger Term Quality

Natural trigger terms are covered comprehensively with synonyms and file formats: '声明式部署, 配置式部署, cloudbaserc 部署', 'cloudbaserc.json/yaml', 'dry-run plan before applying', 'multi-environment deploys'. This matches the 5 anchor (synonyms and file extensions included), not 4, since common phrasings users would say are present in both English and Chinese.

5 / 5

Distinctiveness Conflict Risk

It occupies a clear niche (declarative cloudbaserc deploy via specific MCP tools) and explicitly disambiguates: 'do not confuse with per-resource tcb CLI deploy or single-function deploy'. Minimal conflict risk, matching the 5 anchor rather than 4 because adjacent skills are actively ruled out.

5 / 5

Total

20

/

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.