cloudbase-wechat-integration
БесплатноБез исполняемых скриптовНе проверенCloudBase WeChat integration guide for Mini Program WeChat Pay, Mini Program virtual payment (虚拟支付, wx.requestVirtualPayment), Official Account JSAPI Pay…
от infometa★ 475 звёзд на GitHubОб этом скилле
CloudBase WeChat Integration
This skill routes WeChat payment and official-account work through CloudBase Integration Center. It gives the agent the stable execution contract and points to the official Markdown docs for console details that may change.
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.
Official CloudBase Integration Center docs (human reference — do not treat as skill markdown to fetch into agent context as a sibling skill substitute):
- CloudBase Integration Center overview:
https://docs.cloudbase.net/integration/introduce.md - CloudBase Integration Center usage:
https://docs.cloudbase.net/integration/usage.md - When cloud function deployment or log operations are needed and no sibling skill is available, use the current platform's CloudBase MCP tools or CloudBase console instead of guessing unsupported APIs.
Activation Contract
Use this first when
- The user asks about WeChat Pay, 小程序支付, 微信支付, JSAPI 支付, 公众号支付, Native 扫码支付, 二维码支付, refund callbacks, payment callbacks,
wx.requestPayment,WeixinJSBridge,openid, or Official Account OAuth in a CloudBase app. - The user asks about 虚拟支付 (virtual payment) for virtual goods: 道具直购, 代币充值,
wx.requestVirtualPayment, OfferID, AppKey 签名,xpay_*callbacks (发货推送/查单/退款), or MP 后台虚拟支付开通与配置. - The task mentions CloudBase Integration Center, 集成中心, generated payment functions,
pay-common,offiaccount-common, or callback routing for WeChat payment. - The user needs to extend a CloudBase Integration Center generated function with order persistence, idempotency, fulfillment, or payment-status sync.
Then also read
- Mini Program structure and preview work ->
../miniprogram-development/SKILL.md(if unavailable, use the current mini program platform docs and the mini-program payment reference in this skill) - Web frontend work ->
../web-development/SKILL.md(if unavailable, use the JSAPI or Native references in this skill) - Cloud function runtime, logs, deployment, or gateway work ->
../cloud-functions/SKILL.md(if unavailable, use CloudBase console/MCP function tools and the generated-function guidance in this skill)
Do NOT use for
- Generic CloudBase Web Auth or Mini Program native identity work that does not involve WeChat payment or official-account OAuth.
- General CloudBase cloud function development unrelated to Integration Center generated functions.
- Creating or managing Integration Center instances through guessed MCP tools, guessed Manager SDK methods, or undocumented Cloud API actions.
- Storing merchant secrets, private keys, APIv3 keys, AppSecret values, or certificates in app source code, generated examples, README files, commits, or prompts.
Operating Rules
- Treat Integration Center creation as a console-first workflow unless a public Manager SDK or Cloud API contract is confirmed in official docs.
- Use official
index.mddocs for console UI steps and credential fields; do not copy stale console screenshots or invent field names. - Never ask the user to paste secrets into chat. Tell them to configure merchant and official-account credentials in the CloudBase console Integration Center form.
- Do not assume generated function names are fixed.
pay-commonandoffiaccount-commonare examples; ask for or inspect the actual function name before writing calls. - Treat frontend payment success as UI feedback only. The authoritative payment state must come from server-side query results or payment callbacks.
- When extending generated functions, preserve credential environment variables and generated callback verification/decryption logic. Add business logic around order checks, persistence, idempotency, and fulfillment.
- Before changing payment or callback code, identify the target scenario and load only the matching reference file.
- For 虚拟支付 inbound callbacks, do not reuse outbound
pay_sigas the notify authenticator. Cloud function and Integration Center deliveries are already verified. A self-hosted HTTP receiver follows mini program message-push verification inreferences/virtual-payment.md. Match the ack to the configured XML or JSON push format.refund_ordersuccess only means the refund task was accepted. A refund notify counts as success only when itsRetCodeis0and the refund id matches; do not invent unpublished idempotency or query-parameter mappings.
Routing
| Task | Read | Why |
|---|---|---|
| Capability selection, console-first boundaries, independent distribution | references/overview.md |
Establishes the Integration Center model and safety rules |
Mini Program WeChat Pay, wx.cloud.callHTTPFunction, wx.requestPayment |
`re |
Установить cloudbase-wechat-integration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл cloudbase-wechat-integration?
CloudBase WeChat integration guide for Mini Program WeChat Pay, Mini Program virtual payment (虚拟支付, wx.requestVirtualPayment), Official Account JSAPI Pay, Native QR-code Pay, Official Account OAuth, openid handling, payment callbacks, and CloudBase Integration Center generated functions. This skill should be used when users ask to add, debug, or extend WeChat payment, virtual payment, or official-account flows on CloudBase.
Как установить скилл cloudbase-wechat-integration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cloudbase-wechat-integration запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic