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

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

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 strong operational skill body: concrete, executable guidance for both local and cloud channels with validation checkpoints and error-recovery loops at every destructive step. Its weaknesses are modest duplication (error codes explained twice, cloud-mode detail repeated between body and references) that costs tokens without adding information.

Suggestions

Explain BUILD_OUTPUT_NOT_FOUND / DEPENDENCY_NOT_INSTALLED once and reference the other occurrence (e.g., keep the error-recovery detail only in the Local workflow step), and cut the rhetorical Q&A sentence in 'Build & pipeline execution' to its conclusion about execution authority.

Move the cloud-mode two-phase zip and CloudApp upload step details into references/plan-and-apply.md's 'Cloud-hosted upload pipeline path' section, keeping only a brief channel-switch summary and routing link in SKILL.md.

Consolidate the 'Cloud mode' section's per-resource sub-sections into the existing reference flow to reduce the body's length and near-duplicate coverage of the build/plan/apply split.

DimensionReasoningScore

Conciseness

The body is dense and operational — tables, terse bullets, exact tool calls and error codes — with almost no explanation of concepts Claude already knows. Minor over-explanation keeps it from 5: BUILD_OUTPUT_NOT_FOUND and DEPENDENCY_NOT_INSTALLED are each explained twice (Local workflow and Build & pipeline execution), and the rhetorical "So the answer to 'can cloud mode run local CLI commands' is..." passage could be trimmed to its conclusion.

4 / 5

Actionability

Guidance is fully executable: exact tool invocations with parameters (`deployBuild({ cwd, mode? })`, `deployApply` with `confirm=true`, `manageApps(action=deployApp, cosTimestamp=<unixTimestamp>, installCmd?, buildCmd?, deployCmd?)`), exact MCP action names, the strict schema warning for the COS triple, and named error codes with remediation. Not 4 because the concrete detail covers the common local and cloud cases completely.

5 / 5

Workflow Clarity

The Local workflow is a clear 6-step build→plan→apply sequence with explicit validation checkpoints and feedback loops: read the plan's action classification before apply, stop on `conflict`, Deployment Gate declaration before any apply, and error-recovery loops (BUILD_OUTPUT_NOT_FOUND → run deployBuild then retry; DEPENDENCY_NOT_INSTALLED → run install first). The 'Minimum self-check' checklist reinforces it — this destructive/batch skill has validation throughout, satisfying the cap rule.

5 / 5

Progressive Disclosure

Good structure: a Routing table maps user tasks to the three real one-level-deep reference files (all verified to exist, including the cited 'Cloud-hosted upload pipeline path' section in plan-and-apply.md), plus a Reference index. Not 5 because the SKILL.md itself inlines substantial detail that also lives in the references — the cloud-mode two-phase zip/CloudApp upload steps and build-executor tables could largely move to plan-and-apply.md, leaving the body a leaner overview.

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 exemplary description: concrete tools and actions, explicit multi-clause 'Use when' triggers with synonyms in two languages, and explicit boundary guidance against the nearest competing skill. Dense but every clause is functional rather than padded.

DimensionReasoningScore

Specificity

The description names the concrete executor tools ("through the deployBuild / deployPlan / deployApply MCP tools") and enumerates specific capabilities: building static hosting artifacts locally, dry-run planning, multi-environment deploys via mode/envOverrides, envId resolution priority, only/skip filtering, concurrency, and continueOnError — comprehensive concrete coverage, in third-person voice.

5 / 5

Completeness

Both questions are explicitly answered: what it does (declarative deployment from a cloudbaserc config via deployBuild/deployPlan/deployApply, with a coverage list) and when to use it ("Use when deploying database, functions, app, hosting, or gateway resources... 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"). This matches the anchor-5 example structure exactly.

5 / 5

Trigger Term Quality

It covers natural terms and synonyms users would say — 声明式部署, 配置式部署, cloudbaserc 部署, "deploying database, functions, app, hosting, or gateway resources described in cloudbaserc.json/yaml", "dry-run plan before applying", "multi-environment deploys" — including file extensions and both Chinese and English phrasings. Not score 4 because synonym and extension coverage is essentially complete.

5 / 5

Distinctiveness Conflict Risk

It carves out a clear niche (whole-project cloudbaserc desired-state deploy) and actively disambiguates: "do not confuse with per-resource tcb CLI deploy or single-function deploy" — minimal conflict risk with sibling CloudBase CLI/SDK skills.

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.