- name
SKILL.md
技能文件保留在发布者的仓库中。
在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill auth-wechat-miniprogram -a cursor -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill auth-wechat-miniprogram -a claude-code -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill auth-wechat-miniprogram -a codex -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill auth-wechat-miniprogram -a grok -y在 Grok Bot 聊天中发送复制的消息。Bot 会从 GitHub 获取这个 SKILL.md,并添加到你所有 Bot 共享的技能中。
Install this skill: https://github.com/TencentCloudBase/CloudBase-AI-Toolkit/tree/HEAD/config/.claude/skills/auth-wechat-miniprogram来自发布者
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.
wx.cloud identity, OPENID / UNIONID, or how a mini program caller is identified in CloudBase.wx.cloud auth assumptions.../miniprogram-development/SKILL.md../cloud-functions/SKILL.mdwx.cloud mini program.Use this skill for WeChat Mini Program (小程序) authentication in a CloudBase project.
Use it when you need to:
Key advantage: WeChat Mini Program authentication with CloudBase is seamless and automatic - no complex OAuth flows needed. When a Mini Program calls a cloud function, the user's openid is automatically injected and verified by WeChat.
Do NOT use for:
Confirm CloudBase environment
env – CloudBase environment IDUnderstand the authentication flow
Pick a scenario from this file
Follow CloudBase API shapes exactly
wx-server-sdk in cloud functionswx.cloud in Mini Program client codeIf you're unsure about an API
Automatic authentication:
User identifiers:
OPENID – Unique identifier for the user in this specific Mini ProgramAPPID – The Mini Program's App IDUNIONID – (Optional) Unique identifier across all apps under the same WeChat Open Platform account
Security:
openid, appid, and unionid are verified and trustworthyNo explicit login required:
For detailed scenarios, examples, and patterns, read extended-guide.md.
All packaged reference files (required for skill lint reachability):
CloudBase WeChat Mini Program native authentication guide. This skill should be used when users need mini program identity handling, OPENID/UNIONID access, or `wx.cloud` auth behavior in projects wher
---name: auth-wechat-miniprogramdescription: CloudBase WeChat Mini Program native authentication guide. This skill should be used when users need mini…---# 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 identity handling, OPENID/UNIONID access, or `wx.cloud` auth behavior in projects where login is native and automatic.
常见问题
从发布者处下载 config/.claude/skills/auth-wechat-miniprogram/SKILL.md,或复制路径后打开仓库。PlugMCP 只收录该技能,不托管文件。
发布者将它存放在 https://github.com/TencentCloudBase/CloudBase-AI-Toolkit。
Claude、Cursor、Codex 和 Grok Build 可以读取你从发布者仓库添加的 SKILL.md。在聊天中发送技能的 GitHub 文件夹链接,Grok Bot 就会安装它。