Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cloudbase

БесплатноБез исполняемых скриптовНе проверен

Use this skill when you develop, design, build, deploy, debug, migrate, or troubleshoot CloudBase (腾讯云开发, 云开发, TCB, 微信云开发) projects — Web, 微信小程序, 小程序…

TencentCloudBaseот TencentCloudBase★ 1 172 звезды на GitHub

Об этом скилле

CloudBase Development Guidelines

📁 Reference Files Location

All reference documentation files are located in the references/ directory relative to this file.

File Structure:

cloudbase/
├── SKILL.md              # This file (main entry)
└── references/           # All reference documentation
    ├── auth-web-cloudbase/SKILL.md              # Web authentication guide
    ├── auth-wechat-miniprogram/SKILL.md         # WeChat authentication guide
    ├── cloudbase-document-database-web-sdk/SKILL.md # NoSQL database for Web
    ├── ui-design/        # UI design guidelines
    └── ...               # Other reference docs

How to use: When this document mentions reading a reference file like references/auth-web-cloudbase/SKILL.md, simply read that file from the references/ subdirectory.


Step 0 — Confirm the site (domestic vs international)

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

Infer it when you can (console domain, envId, an existing error); otherwise ask the user once. Do not guess.

国内站 domestic 国际站 international
Remote MCP (preferred) https://tcb-api.cloud.tencent.com/mcp/v1 https://tcb-api.tencentcloud.com/mcp/v1
Local stdio MCP nothing to set (TCB_SITE is domestic by default) TCB_SITE=intl + TCB_REGION=ap-singapore
tcb CLI default TCB_IS_INTL=true (or tcb config set isIntl true)
Project record .cloudbase/project.json site omitted, or "domestic" "site": "intl", "region": "ap-singapore"
Console tcb.tencentcloud.com tcb.tencentcloud.com
Default region ap-shanghai ap-singapore
NoSQL / document DB tools available not available
  • Connect remote by default. Both hosts are first-class endpoints: OAuth covers the login and the hostname decides the site, so there is no site parameter to pass. International: https://tcb-api.tencentcloud.com/mcp/v1; domestic: https://tcb-api.cloud.tencent.com/mcp/v1.
  • Use local stdio only when something requires it — an account signing in with a CloudBase API key, one session that must cover both sites (a remote URL is bound to one), or a task that needs a tool the hosted endpoint does not register. Deploying functions or apps is not a reason: that works remotely through the two-step upload. Comparison: references/mcp-setup.md.
  • TCB_IS_INTL (CLI) and TCB_SITE (MCP) are different variable names for different tools. Set the one matching the tool in use; setting the wrong one silently does nothing.
  • On a first run, settle the site once and persist it — the CLI switch is machine-global, the MCP switch is per-client, and only .cloudbase/project.json is project-scoped and readable by MCP after a restart. Follow references/site-onboarding.md; do not re-ask on later sessions.

Details and copy-paste configs: references/mcp-setup.md. CLI specifics: references/tooling-fallback.md. First-run orchestration (trigger/skip, conflict arbitration, MCP-down fallback): references/site-onboarding.md.

Step 0.1 — Decide the project type before installing anything

Read the project root, or the user's own words (e.g. "我主要做微信小程序开发"). A WeChat mini program has project.config.json plus app.json / miniprogram/app.json. For a mini program project, generic CloudBase setup only connects the backend — it does not let the agent open the simulator or preview the mini program. Route to miniprogram-development first, recommend configuring the 微信开发者工具 Skill (WeChat DevTools Skill), and verify the simulator preview before taking business requests. The mini program tutorial is not a fallback-only step.

International site (intl) — read first

This connector is bound to the CloudBase international site, whose accounts, environments, and billing are separate from the China site. Before acting, read references/international-site.md for the international console and gateway hosts, the region to use, OAuth sign-in behaviour, and the capabilities that this site does not have.

Workflow

1. Exploration  →  Read the matching skill completely before writing any code.
                   Search with searchKnowledgeBase(mode="skill"), then Read full SKILL.md.
2. Implementation
   ├── 2a. Resource preparation → Prefer MCP; if MCP tools are missing in THIS session,
   │     configure MCP for next session and use `tcb` CLI now (see tooling-fallback.md)
   └── 2b. Frontend implementation → Write code, install deps, start server, test
3. Close-out  →  Run cloudbase-code-review, fix errors, declare done
                   (after a verified deploy: optionally offer
Полный SKILL.md на GitHub

Установить cloudbase в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

LICENSE.mdreferences/activation-map.yamlreferences/ai-model-nodejs/SKILL.mdreferences/ai-model-nodejs/references/api-reference.mdreferences/ai-model-nodejs/references/custom-onboarding.mdreferences/ai-model-web/SKILL.mdreferences/ai-model-wechat/SKILL.mdreferences/ai-model-wechat/references.mdreferences/ai-model-wechat/references/api-usage.mdreferences/ai-model-wechat/references/custom-onboarding.mdreferences/ai-model-wechat/references/multimodal.mdreferences/ai-model-wechat/references/type-definitions.mdreferences/auth-nodejs-cloudbase/SKILL.mdreferences/auth-tool-cloudbase/SKILL.mdreferences/auth-tool-cloudbase/checklist.mdreferences/auth-tool-cloudbase/references/extended-guide.mdreferences/auth-web-cloudbase/SKILL.mdreferences/auth-web-cloudbase/references/extended-guide.mdreferences/auth-wechat-miniprogram/SKILL.mdreferences/auth-wechat-miniprogram/references/extended-guide.mdreferences/cloud-api-operations/SKILL.mdreferences/cloud-api-operations/references/calling-methods.mdreferences/cloud-api-operations/references/recipes/README.mdreferences/cloud-api-operations/references/recipes/billing-charges-explained.mdreferences/cloud-api-operations/references/recipes/cloud-audit-operation-trace.mdreferences/cloud-api-operations/references/recipes/credits-exhaustion.mdreferences/cloud-api-operations/references/recipes/custom-domain.mdreferences/cloud-api-operations/references/recipes/enterprise-mcp-wrapper.mdreferences/cloud-api-operations/references/recipes/icp-filing-readiness.mdreferences/cloud-api-operations/references/recipes/pg-instance-spec.mdreferences/cloud-api-operations/references/recipes/pg-monitor-data.mdreferences/cloud-api-operations/references/recipes/pg-storage-alarm.mdreferences/cloud-api-operations/references/recipes/platform-agent-connect.mdreferences/cloud-api-operations/references/recipes/platform-agent-guardrails.mdreferences/cloud-api-operations/references/recipes/platform-onboarding.mdreferences/cloud-api-operations/references/recipes/platform-usage-and-recycle.mdreferences/cloud-api-operations/references/service-versions.mdreferences/cloud-functions/SKILL.mdreferences/cloud-functions/checklist.mdreferences/cloud-functions/references.md

FAQ

Что делает скилл cloudbase?

Use this skill when you develop, design, build, deploy, debug, migrate, or troubleshoot CloudBase (腾讯云开发, 云开发, TCB, 微信云开发) projects — Web, 微信小程序, 小程序, uni-app, mobile (iOS, Android, Flutter, React Native). Covers UI (页面, 界面, 表单, dashboard, prototype, 原型); auth (登录, 注册, OAuth, publishable key); databases (NoSQL 文档数据库, PostgreSQL/CloudBase PG, 已有 MySQL, app.rdb(), queryPgDatabase/managePgDatabase, CRUD, security rules); 云函数/cloud functions (serverless, scf_bootstrap); CloudRun (云托管, Dockerfile); 云存储; built-in AI (内置大模型, AI 对话, streaming, 流式输出, 图片生成, generateText, streamText, createModel, generateImage, TokenHub, Hunyuan, DeepSeek, GLM, Kimi, Token Credits 资源包, 小程序成长计划); third-party/custom model onboarding (第三方大模型接入, 大模型调用, LLM API); AI agent (智能体, AG-UI, LangGraph); ops troubleshooting (巡检, 诊断, 日志); spec workflow (需求文档, 技术方案, requirements, tasks.md). Do NOT use for non-CloudBase projects, pure frontend without CloudBase, or self-hosted backends without CloudBase.

Как установить скилл cloudbase?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cloudbase запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить cloudbase с