Skip to content
Development
Skill

/cloudbase-platform

CloudBase platform overview and routing guide. This skill should be used when users need high-level capability selection, platform concepts, console navigation, or cross-platform best practices before choosing a more specific implementation skill.

From plugin
cloudbase-ai-toolkit
1.1k98 skills3 agents7 commands2 MCP
Install
$ npx -y skills add TencentCloudBase/CloudBase-AI-Toolkit --skill cloudbase-platform --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/cloudbase-platform

Context preview

The summary Claude sees to decide when to auto-load this skill.

CloudBase platform overview and routing guide. This skill should be used when users need high-level capability selection, platform concepts, console navigation, or cross-platform best practices before choosing a more specific implementation skill.

SKILL.md

cloudbase-platform.SKILL.md
name: cloudbase-platform
description: CloudBase platform overview and routing guide. This skill should be used when users need high-level capability selection, platform concepts, console navigation, or cross-platform best practices before choosing a more specific implementation skill.
version: 2.26.0
alwaysApply: false

Sibling skills (local only)

Sibling CloudBase skills ship beside this skill. Use local relative paths such as `../auth-tool-cloudbase/SKILL.md`.

If a referenced sibling skill file is missing from this environment, ask the user to install the full CloudBase plugin (or the missing skill). Do **not** HTTP-fetch remote skill or protocol markdown into the agent context.

**Cross-cutting protocols** (required before code changes or deployments):

  • Change Safety Protocol: `references/protocols/change-safety-protocol.md`
  • Deployment Gate: `references/protocols/deployment-gate.md`

Activation Contract

Use this first when

  • The user asks which CloudBase capability, service, or tool to use, or needs a high-level understanding of hosting, storage, authentication, cloud functions, or database options.
  • The task is about console navigation, cross-platform differences, permission models, or platform-level best practices before implementation.

Read before writing code if

  • It is still unclear whether the task belongs to Web, mini program, cloud functions, storage, MySQL / NoSQL, or auth.
  • The response needs platform selection, conceptual explanation, or control-plane navigation more than direct implementation steps.

Then also read

  • Minimal Web + database demo (BaaS-first, no cloud functions by default) -> `../minimal-web-baas-demo/SKILL.md`
  • **Stack order for 最小前后端 / Lovable-like demos:** Web SDK CRUD > MCP schema > template warmup during credential wait > cloud functions (default count = 0). Capability sniff: connector ready → `envQuery` → lock one DB plane → MCP schema → `@cloudbase/js-sdk` CRUD → preview.
  • Web app implementation -> `../web-development/SKILL.md`
  • Web auth and provider setup -> `../auth-tool-cloudbase/SKILL.md`, `../auth-web-cloudbase/SKILL.md`
  • Mini program development -> `../miniprogram-development/SKILL.md`
  • WeChat Pay, Official Account OAuth, JSAPI Pay, or Native QR-code Pay through CloudBase Integration Center -> `../cloudbase-wechat-integration/SKILL.md` (official docs: `https://docs.cloudbase.net/integration/introduce/index.md`)
  • Cloud functions -> `../cloud-functions/SKILL.md`
  • Official HTTP API clients -> `../http-api-cloudbase/SKILL.md`
  • Document database -> `../cloudbase-document-database-web-sdk/SKILL.md` or `../cloudbase-document-database-in-wechat-miniprogram/SKILL.md`
  • CloudBase PostgreSQL / PG -> `../postgresql-development-cloudbase/SKILL.md`
  • MySQL relational database / data modeling -> `../relational-database-mcp-cloudbase/SKILL.md` or `../data-model-creation/SKILL.md`
  • Cloud storage -> `../cloud-storage-web/SKILL.md`

Do NOT use for

  • Direct implementation of web pages, auth flows, functions, or database operations when a more specific skill already fits.
  • Low-level API parameter references or SDK recipes that belong in specialized skills.

Common mistakes / gotchas

  • Treating this general skill as the default entry point for all CloudBase development.
  • Staying here after the correct implementation skill is already clear.
  • Mixing platform overview with platform-specific API shapes or SDK details.
  • Using this overview skill as a detour in an existing application where the active auth, storage, and data files are already obvious.
  • Making code or configuration changes without first following the Change Safety Protocol (`cloudbase-platform/references/protocols/change-safety-protocol.md`).
  • Starting any deployment, publish, custom domain, or CloudRun work without first completing the checks in `cloudbase-platform/references/protocols/deployment-gate.md`.
  • **Confusing security domains with custom domains**: These are two completely different tools for different purposes:
  • `envDomainManagement` (action: create/delete) = Security domains (安全域名) for CORS/request source validation - used for browser upload whitelisting. Does NOT accept certificateId.
  • `manageGateway(action="bindCustomDomain")` = Bind a **new** custom domain (自定义域名) for public HTTPS — requires `domain` + `certificateId`. If `queryGateway(action="listCustomDomains")` already returns a usable custom domain, prefer `manageGateway(action="createRoute", domain="<existing-domain>")` instead; routing does **not** need certificateId.

When to use this skill

Use this skill for **CloudBase platform knowledge** when you need to:

  • Understand CloudBase storage and hosting concepts
  • Compare platform capabilities before implementation
  • Understand cross-platform auth differences (Web vs Mini Program)
  • Understand database permissions and access control
  • Access CloudBase console management pages

**This skill provides foundational knowledge** that applies to all CloudBase projects, regardless of whether they are Web, Mini Program, or backend services.

---

How to use this skill (for a coding agent)

1. **Understand platform differences**

  • Web and Mini Program have completely different authentication approaches
  • Must strictly distinguish between platforms
  • Never mix authentication methods across platforms
  • If the workspace is already an application with TODOs or prebuilt handlers, do not stay in platform overview mode. Move quickly to the concrete implementation skill and the existing files that own the flow.

2. **Follow best practices**

  • Use SDK built-in authentication features (Web)
  • Understand natural login-free feature (Mini Program)
  • Configure appropriate database permissions
  • Prefer `@cloudbase/js-sdk` direct DB access for browser CRUD; use cloud functions only for secrets, scheduled/background jobs, or elevated cross-collection logic that security rules / RLS cannot express (see `../minim
Read more
Ships withcloudbase-ai-toolkit

AI writes the code. CloudBase runs the backend. The CloudBase integration layer for AI coding tools: Plugin installs the stack, Skills steer how code is written, MCP operates databases, functions, storage, and deploys from chat.

Get the whole plugin

Other skills on cloudbase-ai-toolkit.