auth-wechat-miniprogram
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.
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill auth-wechat-miniprogram --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
## 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. ## Activation Contract ### Use this first when - The task is about WeChat Mini Program auth behavior, `wx.cloud` identity, `OPENID` / `UNIONID`, or how a mini program caller is identified in CloudBase. - The project is a CloudBase mini program and the auth question is about native mini program identity rather than provider configuration. ### Read before writing code if - The request mentions mini program login, user identity in cloud functions, or `wx.cloud` auth assumptions. - The user expects a Web-style login page or explicit token exchange in a mini program; route them back to native mini program auth behavior. ### Then also read - Mini program project implementation -> `../miniprogram-development/SKILL.md` - Cloud function implementation -> `../cloud-functions/SKILL.md` ### Do NOT use for - Web-based WeChat login
- Sibling skills (local only)
- Activation Contract
- Use this first when
- Read before writing code if
- Then also read
- Do NOT use for
- Common mistakes / gotchas
- When to use this skill
- How to use this skill (for a coding agent)
- Core concepts
- How WeChat Mini Program authentication works with CloudBase
- Extended guide
- Reference index
What does the auth-wechat-miniprogram skill do?
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.
How do I install it?
Run `npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill auth-wechat-miniprogram --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From TencentCloudBase/CloudBase-AI-Toolkit, a repository with 1,066 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
