Communityコーディング&開発github.com

tencentcloudbase/auth-wechat-miniprogram

CloudBase 微信小程序原生认证指南。当用户需要小程序身份处理、获取 OPENID/UNIONID,或在登录为原生且自动的项目中处理 `wx.cloud` 认证行为时,应使用此技能。

auth-wechat-miniprogram とは?

此技能为开发者和 AI 代理提供了一份全面的指南,用于在微信小程序中集成 CloudBase 原生认证。它涵盖了获取 OPENID 和 UNIONID、处理小程序自动登录行为以及使用 `wx.cloud` API 进行身份认证的核心流程。该技能适用于需要在小程序中实现安全、无缝身份验证的场景,无需额外的自定义登录界面。支持平台包括 CloudBase 环境下的微信小程序,并基于 `wx.cloud` 和 `wx.login` 等微信原生 API 运行。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/tencentcloudbase/skills/tree/main/skills/auth-wechat-miniprogram

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

auth-wechat-miniprogram は何をしますか?

CloudBase 微信小程序原生认证指南。当用户需要小程序身份处理、获取 OPENID/UNIONID,或在登录为原生且自动的项目中处理 wx.cloud 认证行为时,应使用此技能。

Individual skills in this repo

This repo contains 8 individual skills — each has its own dedicated page.

tencentcloudbase/ai-model-wechat

Use this skill for WeChat Mini Program AI via wx.cloud.extend.AI (小程序, 企业微信小程序, wx.cloud apps). Features generateText and streamText with callbacks (onText, onEvent, onFinish). Models via wx.cloud.extend.AI.createModel with groups hunyuan-exp (小程序成长计划), cloudbase (main managed), or custom-*. Model IDs (deepseek-v4-flash, deepseek-v3.2, hunyuan-2.0-instruct-20251111, glm-5, kimi-k2.6) go in the data wrapper model field. API differs from JS/Node SDK — streamText needs data wrapper, generateText returns raw response. MUST run two-step preflight before code — see body. Keywords: Mini Program AI, wx.cloud.extend.AI, 小程序成长计划, ai_miniprogram_inspire_plan, Token Credits 资源包, generateText, streamText, createModel, hunyuan-exp, TokenHub, Hunyuan, DeepSeek, GLM, Kimi, MiniMax. NOT for browser/Web (use ai-model-web), Node.js backend (use ai-model-nodejs), or image generation (use ai-model-nodejs).

tencentcloudbase/cloudbase-document-database-in-wechat-miniprog

Use CloudBase document database WeChat MiniProgram SDK to query, create, update, and delete data. Supports complex queries, pagination, aggregation, and geolocation queries.

tencentcloudbase/cloudbase-platform

CloudBase platform overview and routing guide. This skill should be used when users need high-level capability selection, platform concepts, console navigation, or cross-platform best practices before choosing a more specific implementation skill.

tencentcloudbase/cloud-functions

CloudBase function runtime guide for building, deploying, and debugging your own Event Functions or HTTP Functions. This skill should be used when users need application runtime code on CloudBase, not when they are merely calling CloudBase official platform APIs.

tencentcloudbase/miniprogram-development

WeChat Mini Program development skill for building, debugging, previewing, testing, publishing, and optimizing mini program projects. This skill should be used when users ask to create, develop, modify, debug, preview, test, deploy, publish, launch, review, or optimize 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 validation, WeChat Developer Tools workflows, `miniprogram-ci` preview/upload flows, or mini program release processes. It should also be used when users explicitly mention CloudBase, `wx.cloud`, Tencent CloudBase, 腾讯云开发, or 云开发 in a mini program project.

tencentcloudbase/spec-workflow

Use when medium-to-large changes need explicit requirements, technical design, and task planning before implementation, especially for multi-module work, unclear acceptance criteria, or architecture-heavy requests.

tencentcloudbase/ui-design

Use when users need visual direction, interface hierarchy, layout decisions, design specifications, or prototypes before implementing a Web or mini program UI.

tencentcloudbase/web-development

Use when users need to implement, integrate, debug, build, deploy, or validate a Web frontend after the product direction is already clear, especially for React, Vue, Vite, browser flows, or CloudBase Web integration.

関連スキル