Skills

From TencentCloudBase/CloudBase-AI-Toolkit · View interactive version

Skills is an AI agent skill from the GitHub repository TencentCloudBase/CloudBase-AI-Toolkit. Unified CloudBase execution guide for all-in-one skill installs. Use this first for CloudBase app tasks, especially existing apps with TODOs, fixed pages, or active handlers. Routes PostgreSQL / CloudBase PG / app.rdb() / queryPgDatabase / managePgDatabase work away from legacy NoSQL and old auth pa

How to use this skill

Skill file

CloudBase All-In-One

Step 0 — Confirm the site (domestic vs international)

CloudBase runs 国内站 (domestic, cloud.tencent.com) and 国际站 (international, tencentcloud.com) as two independent account systems — environments, consoles, API keys, and login state do not cross over. A wrong-site login looks like "logged in, but no environments" rather than a clear error, so settle the site before logging in or configuring MCP.

Workflow

Every CloudBase task follows this three-stage process:

1. Exploration  →  Read the matching skill completely before writing any code.
                   Search for it if needed, then Read the full SKILL.md content.
                   Only start implementing after understanding the API patterns,
                   pitfalls, and correct usage from the skill document.
2. Implementation
   ├── 2a. Resource preparation → Prefer MCP to prepare backend resources
   │     (enable auth providers, create database tables, configure storage domains,
   │      set up security rules — before writing frontend code).
   │     If MCP tools are missing in THIS session, run the readiness check in
   │     `./cloudbase-mcp/SKILL.md` first — missing tools are often wiring
   │     (connector unbound or in need of a reconnect), not configuration.
   │     Then configure for next time and use `tcb` CLI now (`./cloudbase-cli/SKILL.md`).
   └── 2b. Frontend implementation → Write code, install deps, start server, test
3. Close-out  →  Run cloudbase-code-review, fix all errors, declare done

Key constraints:

Scope

Only handle tasks that are part of building, integrating, or maintaining a CloudBase application — including UI design, spec planning, and other development activities when they are in service of a CloudBase app. If the request has no CloudBase application context at all, stop and tell the user this skill only covers CloudBase-based development.

Activation Contract

Use this first when

Do this before broad exploration

Route quickly to the minimum needed skills

High-yield guardrails

Do NOT use this as

Working rules

  1. BaaS-first, functions as last resort:
  1. Existing application with TODOs:
  1. Auth tasks:
  1. Database and storage tasks:
  1. Targeted repair tasks:

Open source

The MCP server, skills, and CLI live in one public repo:

A bug in those surfaces should be a pull request. Connection steps and CONTRIBUTING.md are in ./cloudbase-mcp/SKILL.md. A cloud platform, permission, or account problem should be an issue, and the text must not include an environment ID or a secret. Pull requests are how fixes land in the project.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.