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

94%

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

The canonical home for this skill is cloudbase-declarative-deploy in TencentCloudBase/CloudBase-AI-Toolkit

SKILL.md
Quality
Evals
Security

Quality

Content

88%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.

A high-quality operational skill body: the workflows are precisely sequenced with strong validation gates and error-recovery loops, and the guidance is executable at the parameter level. The weaknesses are repetition of the never-build contract across nearly every section and inline cloud-mode detail that duplicates the dedicated reference file.

Suggestions

Consolidate the 'deployApply never builds / deployBuild does not cover app' contract into one authoritative statement (plus the checklist entry) and cut the remaining ~5 restatements in the intro, workflow, build section, table, and deployBuild notes.

Move the cloud-mode two-phase zip and CloudApp upload steps (lines ~59-101) into references/plan-and-apply.md's existing 'Cloud-hosted upload pipeline path' section, keeping only a short channel-switch summary and the pointer in SKILL.md.

Merge the 'Local workflow' and 'Build & pipeline execution' sections, which cover the same build-executor-by-resource ground, into a single flow with the executor table inline.

DimensionReasoningScore

Conciseness

The body is information-dense with non-obvious operational content (error codes, envId priority formulas, channel-switch semantics) and no basic-concept padding, but the 'deployApply never builds / deployBuild does not cover app' contract is restated roughly eight times across the intro, workflow, build section, table, notes, and checklist — trimmable over-emphasis that fits the 4 anchor ('minor instances of over-explanation') rather than 5.

4 / 5

Actionability

Fully executable guidance throughout: exact MCP calls with parameters (e.g. 'queryFunctions(action=getFunctionUploadUrl)' → PUT with uploadHeaders → 'manageFunctions(action=createFunction|updateFunctionCode, code={cosBucketName, cosObjectName, cosBucketRegion?})'), a machine-readable buildHint jsonc example, error-code-specific recovery steps, and declaration-priority formulas — matching the 5 anchor for an instruction-only skill.

5 / 5

Workflow Clarity

The build → plan → apply flow is a numbered 6-step sequence with explicit validation checkpoints (read plan classification, stop on conflict, check buildHint.artifactReady, Deployment Gate declaration, confirm=true guard, self-check checklist) and feedback loops (BUILD_OUTPUT_NOT_FOUND → return to build; DEPENDENCY_NOT_INSTALLED → install; re-run deployPlan after building) — the 5 anchor, including required validation for this destructive/batch operation.

5 / 5

Progressive Disclosure

Good structure: a routing table maps user tasks to three real, one-level-deep reference files (all verified on disk) plus a reference index. However, the ~50-line cloud-mode upload-channel section inlines two-phase zip/pipeline detail that also lives in references/plan-and-apply.md's 'Cloud-hosted upload pipeline path', so the split is imperfect — the 4 anchor ('minor organization gaps'), not 5.

4 / 5

Total

18

/

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 exceptionally strong description: it states the capability concretely, gives explicit bilingual trigger phrases and file formats, and explicitly separates itself from the per-resource tcb CLI path. The only criticism is density — it packs near-operational detail (buildHint fields, error codes) into a single long block — but this is information-rich rather than padded, so no dimension is reduced.

DimensionReasoningScore

Specificity

The description names the three concrete MCP tools (deployBuild / deployPlan / deployApply) and enumerates specific capabilities such as 'reading buildHint (buildCommand / outputDir / artifactReady)', 'BUILD_OUTPUT_NOT_FOUND recovery', 'envId resolution priority, only/skip filtering, concurrency, and continueOnError' — comprehensive concrete coverage with no vague filler, matching the 5 anchor; the 4 anchor requires coverage gaps that are not present.

5 / 5

Completeness

It explicitly answers 'what' ('CloudBase declarative deployment from a cloudbaserc config ... through the deployBuild / deployPlan / deployApply MCP tools') and 'when' with a concrete 'Use when' clause covering resource types, local builds, dry-run plans, and multi-environment deploys — the 5 anchor's exact pattern.

5 / 5

Trigger Term Quality

Natural trigger terms are comprehensive and include synonyms and file formats: '声明式部署, 配置式部署, cloudbaserc 部署' (bilingual variants), 'cloudbaserc.json/yaml', 'dry-run plan', and 'multi-environment deploys' — matching the 5 anchor's requirement for synonyms and file extensions; nothing a target user would naturally say is missing.

5 / 5

Distinctiveness Conflict Risk

A clear niche (declarative cloudbaserc desired-state deploy) with distinct triggers, explicitly differentiated from sibling tooling via 'distinct from per-resource tcb CLI deploys' — minimal conflict risk per the 5 anchor.

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

connectors/cloudbase-intl/skills/references/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.