cloudbase-miniprogram SKILL.md skillA

cloudbase-miniprogram from tencentcloudbase/cloudbase-ai-toolkit is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add tencentcloudbase/cloudbase-ai-toolkit/cloudbase-miniprogram@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
tencentcloudbase/cloudbase-ai-toolkit
Path
connectors/cloudbase/qianwen/entry/cloudbase-miniprogram/SKILL.md
Versions recorded
1
Latest version
v1.0.0, committed Oct 28, 2026
Size
7,154 bytes
Repository stars
1,163
License
MIT

Use when building a WeChat Mini Program (微信小程序 / 小程序) with a real backend on 腾讯云开发 CloudBase — from an idea to a published release. Triggers on: 小程序, 微信小程序, wx.cloud, 云开发, 云函数, 数据库, 集合, 云存储, 上传图片, 登录, openid, 订阅消息, 支付, 体验版, 预览, 上传代码, 提交审核, 发布, 合法域名, 真机调试, 分包. Covers project scaffolding, project.config.json / appid / miniprogramRoot, the wx.cloud data path, cloud functions, storage, auth, subscription messages, and the preview → upload → review → release chain. Do NOT use for Web/H5 frontends…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# CloudBase 全栈小程序开发

一个小程序要真正跑起来,缺的从来不是页面,是后端那一半:数据存哪、登录怎么做、图片传到哪、消息怎么发、审核怎么过。这个技能按「从想法到上架」的顺序组织,每一步告诉你调哪个工具、去哪取细节。

配方正文不打包,用 CloudBase MCP 的知识库按需检索(见文末)。这样内容永远跟线上最新版一致。

## 第 0 步:先问清三件事,别急着写代码

| 要确认 | 为什么 |
| --- | --- |
| 小程序 **appid** 与主体类型 | 个人 / 个体工商户 / 企业主体决定能用哪些能力(支付、部分类目)。**测试号不支持云开发** |
| 后端是否用 **云开发(CloudBase)** | 不用云开发就走另一条路,本技能不适用 |
| 云开发环境是**国内站还是国际站** | 两套账号体系互不相通,选错的表现是「登录了但环境列表空」 |

还有一个高频坑:DevTools 里「云开发」入口是灰的,或者看不到环境——**先诊断,不要当成工具 bug**。常见原因就是上表第三条(主体不支持 / 绑定账号不一致 / 站点错)。诊断路径:`searchKnowledgeBase({ mode: "skill", skillName: "miniprogram-development" })` 的 Common Pitfalls 一节。

## 第 1 步:接上 CloudBase MCP

技能包不能携带 MCP 配置,这一步必须显式做。三条路径按客户端能力选:

```bash
# A. 能跑命令的客户端
claude mcp add --transport http cloudbase https://tcb-api.cloud.tencent.com/mcp/v1

# B. 本地 stdio(需要 API Key,或要用远程缺的工具)
claude mcp add cloudbase -- npx -y @cloudbase/cloudbase-mcp@latest

# C. 客户端不支持 MCP 但有终端(走 mcporter 桥)
npx -y mcporter@0.16.1 call --stdio "npx -y @cloudbase/cloudbase-mcp@latest" auth action=status
```

图形客户端(Cursor、Qoder)只能让用户手动加:类型 HTTP / Streamable HTTP,地址填 `/mcp/v1`。

验证:调 `auth action=status`,返回 `auth_status: READY` 且带 `current_env_id` 就通了。

## 第 2 步:先跑通一个最小闭环,再谈功能

顺序固定,不要跳:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add tencentcloudbase/cloudbase-ai-toolkit/cloudbase-miniprogram@sha256:b7728f276f8f2089

The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_hgayvj5beztsnox6.svg)](https://markdownregistry.com/a/art_hgayvj5beztsnox6)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 28, 2026.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-10-28 3682525 7,154 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7154 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

tencentcloudbase/cloudbase-ai-toolkit · 1,163 stars · license MIT · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_hgayvj5beztsnox6
GET https://markdownregistry.com/api/v1/resolve?ref=tencentcloudbase/cloudbase-ai-toolkit/cloudbase-miniprogram
GET https://markdownregistry.com/api/v1/blob/b7728f276f8f2089e8114f9b8a9fbf18759982cddf518decd20d1c9d647200db

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from tencentcloudbase/cloudbase-ai-toolkit

project Cursor rule
tencentcloudbase/cloudbase-ai-toolkit · .cursor/rules/project.mdc
git:20250814.0b2a2ca · audit A · 1,163 stars
AGENTS.md AGENTS.md file
tencentcloudbase/cloudbase-ai-toolkit · AGENTS.md
git:20261016.77be12e · audit A · 1,163 stars
CLAUDE.md CLAUDE.md file
tencentcloudbase/cloudbase-ai-toolkit · CLAUDE.md
git:20260625.bd0be5f · audit B · 1,163 stars
ai-model-nodejs SKILL.md skill
tencentcloudbase/cloudbase-ai-toolkit · config/.claude/skills/ai-model-nodejs/SKILL.md · Use this skill for Node.js backend AI via @cloudbase/node-sdk (>=3.16.0) — cloud functions, CloudRun…
v2.35.2 · audit A · 1,163 stars
ai-model-web SKILL.md skill
tencentcloudbase/cloudbase-ai-toolkit · config/.claude/skills/ai-model-web/SKILL.md · Use this skill when a browser/Web app (React, Vue, Next, Nuxt, static sites, SPAs, dashboards, AI chat UI, 页面, 前端, 网页)…
v2.36.0 · audit A · 1,163 stars
ai-model-wechat SKILL.md skill
tencentcloudbase/cloudbase-ai-toolkit · config/.claude/skills/ai-model-wechat/SKILL.md · Use this skill for WeChat Mini Program AI via wx.cloud.extend.AI (小程序, wx.cloud apps). Covers generateText and…
v2.36.0 · audit A · 1,163 stars
auth-nodejs-cloudbase SKILL.md skill
tencentcloudbase/cloudbase-ai-toolkit · config/.claude/skills/auth-nodejs-cloudbase/SKILL.md · CloudBase Node SDK auth guide for server-side identity, user lookup, and custom login tickets. This skill should be…
v2.36.0 · audit A · 1,163 stars
auth-tool-cloudbase SKILL.md skill
tencentcloudbase/cloudbase-ai-toolkit · config/.claude/skills/auth-tool-cloudbase/SKILL.md · CloudBase auth provider configuration and login-readiness guide. This skill should be used when users need to inspect…
v2.36.0 · audit A · 1,163 stars
auth-web-cloudbase SKILL.md skill
tencentcloudbase/cloudbase-ai-toolkit · config/.claude/skills/auth-web-cloudbase/SKILL.md · CloudBase Web Authentication Quick Guide for frontend integration after auth-tool has already been checked. Provides…
v2.36.0 · audit B · 1,163 stars
auth-wechat-miniprogram SKILL.md skill
tencentcloudbase/cloudbase-ai-toolkit · config/.claude/skills/auth-wechat-miniprogram/SKILL.md · CloudBase WeChat Mini Program native authentication guide. This skill should be used when users need mini program…
v2.36.0 · audit A · 1,163 stars
cloud-api-operations SKILL.md skill
tencentcloudbase/cloudbase-ai-toolkit · config/.claude/skills/cloud-api-operations/SKILL.md · Operate Tencent Cloud control-plane resources (monitoring/alarms, CLB, CAM roles, COS, MySQL, SCF) via cloud APIs when…
v2.36.0 · audit A · 1,163 stars
cloud-functions SKILL.md skill
tencentcloudbase/cloudbase-ai-toolkit · config/.claude/skills/cloud-functions/SKILL.md · CloudBase function runtime guide for building, deploying, and debugging your own Event Functions or HTTP Functions…
v2.36.0 · audit C · 1,163 stars

Every file in tencentcloudbase/cloudbase-ai-toolkit

Browse by kind, by grade A, or by owner.