Agent skill · Security

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.

TencentCloudBasegithub.com/TencentCloudBaseGitHub ↗
claude-codecursorMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Version: 2.25.10
Path: config/.claude/skills/auth-wechat-miniprogram/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,066
Language: TypeScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## 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

What's inside
Steps it walks through
  1. Sibling skills (local only)
  2. Activation Contract
  3. Use this first when
  4. Read before writing code if
  5. Then also read
  6. Do NOT use for
  7. Common mistakes / gotchas
  8. When to use this skill
  9. How to use this skill (for a coding agent)
  10. Core concepts
  11. How WeChat Mini Program authentication works with CloudBase
  12. Extended guide
  13. Reference index
Ships with 1 file
  • references/extended-guide.md
More from CloudBase-AI-Toolkit
All skills →
About this skill
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.

Keep going