Best for
- Build or modify mini program pages and components
- Organize mini program project structure and configuration
- Debug, preview, or publish mini program projects
TencentCloudBase/CloudBase-AI-Toolkit/config/source/skills/miniprogram-development/SKILL.md
WeChat Mini Program development skill for building, debugging, previewing, testing, publishing, optimizing, and promoting mini program projects. This skill should be used when users ask to create, develop, modify, debug, preview, test, deploy, publish, launch, review, optimize, or promote WeChat Mini Programs, mini program pages, components, `tabBar`, routing, navigation, icon assets, project structure, project configuration, `project.config.json`, `appid` setup, device preview, real-device vali
Decision brief
Sibling CloudBase skills ship beside this skill. Use local relative paths such as ../auth-tool-cloudbase/SKILL.md.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/TencentCloudBase/CloudBase-AI-Toolkit --skill "config/source/skills/miniprogram-development"Inspect the Agent Skill "miniprogram-development" from https://github.com/TencentCloudBase/CloudBase-AI-Toolkit/blob/43b60e5cdee1bae336a00ed3a8cc7e5b85ae5dca/config/source/skills/miniprogram-development/SKILL.md at commit 43b60e5cdee1bae336a00ed3a8cc7e5b85ae5dca. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
1. Start with the general mini program workflow - Treat WeChat Mini Program development as the default scope - Do not assume the project uses CloudBase unless the user or codebase indicates it
Sibling CloudBase skills ship beside this skill. Use local relative paths such as ../auth-tool-cloudbase/SKILL.md.
The request is about WeChat Mini Program structure, pages, preview, publishing, or CloudBase mini program integration.
The request is about WeChat Mini Program structure, pages, preview, publishing, or CloudBase mini program integration.
The user mentions wx.cloud, CloudBase mini programs, OPENID, mini program deployment/debug workflows, Nightly DevTools, wechatide, or WeChat IDE Skills.
Permission review
The documentation includes network, browsing, or remote request actions.
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.The documentation includes network, browsing, or remote request actions.
[Mini Program SEO & WeChat Search Optimization](references/seo-search-optimization.md) — 小程序搜索优化 / page indexing / search promotion (`mpcrawler`, URL reachability, `navigator` jumps, titles & thumbnails)Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 95/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 1,082 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
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):
../cloudbase-platform/references/protocols/change-safety-protocol.md../cloudbase-platform/references/protocols/deployment-gate.mdwx.cloud, CloudBase mini programs, OPENID, mini program deployment/debug workflows, Nightly DevTools, wechatide, or WeChat IDE Skills.../auth-wechat-miniprogram/SKILL.md../cloudbase-document-database-in-wechat-miniprogram/SKILL.md../cloudbase-wechat-integration/SKILL.md (official docs: https://docs.cloudbase.net/integration/wechat-pay-miniprogram/index.md)../ui-design/SKILL.md firstcloudbase-wechat-integration for those scenarios.wx.cloud projects.wechatide (it may not).wechatide already works.wechatide tool names or flags instead of using --help / Nightly tools.yaml.cloud_*_msg_push is exposed (see message-push-customer-service.md).cloud.openapi.customerServiceMessage.send).cloudbase-platform/references/protocols/change-safety-protocol.md).cloudbase-platform/references/protocols/deployment-gate.md.Use this skill for WeChat Mini Program development when you need to:
Do NOT use for:
web-development)cloudrun-development or cloud-functions as appropriate)ui-design)Start with the general mini program workflow
Follow mini program project conventions
index.jsonproject.config.json before suggesting preview or IDE workflowsRoute by scenario
wechatide, read debug and preview reference firstwx.cloud, cloud functions, CloudBase database/storage, or CloudBase identity handling, read CloudBase integration referencetabBar, icon assets, or label spacing, prefer the text-only custom tabBar default below unless the user explicitly requires iconsUse CloudBase rules only when applicable
Recommend the right preview/debug/cloud-ops path
wechatide when available — see devtools-debug-preview.mdwechatide is unavailable, fall back to miniprogram-ci for preview/upload and CloudBase MCP for cloud resourcesProject Structure
project.config.json.json configuration filesConfiguration Checks
project.config.json before opening, previewing, or publishing a projectappid is available when a real preview, upload, or WeChat Developer Tools workflow is requiredminiprogramRoot and related path settings are correctResource Handling
tabBar, prefer a text-only custom tabBar by default when the user does not explicitly need icons. This avoids icon asset handling, removes reserved icon space, and makes the label area easier to align.iconPath / selectedIconPath when the user explicitly asks for tab icons or the design requires them.tabBarUse tabBar.custom = true, keep only pagePath and text in app.json, and render text-only items in the custom component so there is no icon slot and no extra blank area above the label.
app.json
{
"tabBar": {
"custom": true,
"list": [
{ "pagePath": "pages/index/index", "text": "首页" },
{ "pagePath": "pages/travel/travel", "text": "行程" },
{ "pagePath": "pages/my/my", "text": "我的" }
]
}
}
Keep the custom tabBar layout text-only, and use flex centering or matching height and line-height to remove the blank area above the label. Switch to downloaded local icons only when the user explicitly wants icon-based tabs.
wx.cloud, Tencent CloudBase, 腾讯云开发, or 云开发, follow the CloudBase integration referencewx.cloud APIs and CloudBase environment configuration appropriatelywechatide for open project, compile, simulator, console/network debug, preview, upload, and daily cloud ops (WeChat login — no separate Tencent Cloud login)-c <clientName>, absolute --project, valid appid, and cloud env when neededwechatide is not available, use miniprogram-ci as the fallback for preview/upload/npm, and CloudBase MCP for cloud resources; tell the user to install Nightly for full Skills/MCP微信生态专章:消息推送 / 客服自动回复细节以中文 reference 为准(术语保留英文 API 名)。
cloud_query_msg_push / cloud_manage_msg_push are not yet exposed (pending WeChat IDE CLI support).cloud_fn_deploy and --remote-npm-install; bind (MsgType, Event) → one cloud function in the IDE message-push panel until CLI tools land.cloud.openapi.customerServiceMessage.send plus config.json openapi permissions — function return values alone do not reply.app.js
App({
onLaunch() {
console.log("Mini Program launched");
},
});
pages/index/index.js
Page({
data: {
message: "Hello CloudBase Mini Program",
},
});
pages/index/index.wxml
<view class="page">
<text>{{message}}</text>
</view>
pages/index/index.json
{
"navigationBarTitleText": "Home"
}
project.config.json
{
"appid": "your-mini-program-appid",
"projectname": "cloudbase-mini-program",
"miniprogramRoot": "./",
"compileType": "miniprogram"
}
wechatide paths, required context, and no-Nightly fallbackscloud_*_msg_push)mpcrawler, URL reachability, navigator jumps, titles & thumbnails)Frequently asked questions
Sibling CloudBase skills ship beside this skill. Use local relative paths such as ../auth-tool-cloudbase/SKILL.md.
The source record exposes this install command: npx skills add https://github.com/TencentCloudBase/CloudBase-AI-Toolkit --skill "config/source/skills/miniprogram-development". Inspect the command and pinned source before running it.
Static rules flagged network in the source; the page lists the matching lines and excerpts.
Alternatives
TencentCloudBase/CloudBase-AI-Toolkit
WeChat Mini Program development skill for building, debugging, previewing, testing, publishing, optimizing, and promoting mini program projects. This skill should be used when users ask to create, develop, modify, debug, preview, test, deploy, publish, launch, review, optimize, or promote WeChat Mini Programs, mini program pages, components, `tabBar`, routing, navigation, icon assets, project structure, project configuration, `project.config.json`, `appid` setup, device preview, real-device vali
vasilyu1983/AI-Agents-public
Guides iOS testing with XCTest, XCUITest, Swift Testing, simctl, and xcresult. Use when choosing destinations, controlling flakes, or parsing test artifacts for native apps.
steipete/agent-scripts
REQUIRED before ANY `op` command or whenever a task needs an API key, token, password, credential, or secret (OPENAI_API_KEY, ANTHROPIC_API_KEY, deploy tokens, live-test keys). Prompt-free 1Password service-account reads; wrong invocations spam macOS dialogs.
microsoft/Sico
Execute Android UI workflows on a sandbox device, review results, and produce a structured execution report.