WeChat Pay Integration Skill: Agent Guide to Merchant Full-Scenario Integration

Foreword

When integrating WeChat Pay, the common difficulty lies not in “whether the API can be called,” but in product selection: using JSAPI in Official Accounts, Mini Program payment in Mini Programs, or Native payment via App, H5, and scan-to-pay, Payment Codes for counters. The documentation is scattered, and callback or signature rules are easy to get wrong. Consulting the merchant platform documentation often requires repeatedly cross-referencing specific scenarios. Below is an introduction to the community Skill “WeChat Pay Integration” on SkillHub, which consolidates selection and integration key points across all scenarios into a SKILL.md guide that Agents can follow.

What is This

“WeChat Pay Integration” is a community Skill (community) located at the SkillHub coordinate @user_8509461a/wechat-pay-integration. The current version is 1.0.0, categorized under business-ops, and published by user_8509461a; the SkillHub page lists the author as Shu Qi Tou Guan (Sichuan Province) Enterprise Management Co., Ltd.

One-sentence positioning: Centered on the access best practices of the WeChat Pay Merchant Platform, it covers the selection and integration guidance for products such as JSAPI, Mini Program, APP, H5, Native, and Payment Code. The Skill tag includes requires_api_key=true, indicating that actual integration requires merchant-side API keys and other credentials, which you must configure yourself in a secure environment. The Skill itself does not replace the merchant platform account opening and compliance processes.

Core Features

The following capabilities are derived from the official SkillHub description; no interface names or configuration items not present in the source material are included:

  1. Full-Scenario Product Coverage: JSAPI Payment, Mini Program Payment, APP Payment, H5 Payment, Native Payment, and Payment Code Payment.
  2. Selection & Integration Guidance: In Agent conversations, it aligns the payment products to be used based on the business form (Official Accounts, Mini Programs, Native Apps, Mobile Browsers, PC Scanning, Offline Cashiering, etc.) and organizes steps following the merchant platform access approach.
  3. Community Distribution Form: Standard SKILL.md format, facilitating loading in clients that support Skills (such as Cursor, Claude Code, Codex), allowing the model to answer integration questions according to the guidelines within the Skill.

SkillHub Statistics (based on retrieved data): Rating 100000, 2716 Downloads, 169 Installations.

Installation & Activation

There are two ways to install: let the AI execute the installation based on the official instructions, or install via command line after installing the SkillHub CLI on your local machine.

Method 1: Prompt the AI

The installation prompt provided by the SkillHub page is: Please instruct the Agent to install @user_8509461a/wechat-pay-integration based on SkillHub Installation & Priority Source Configuration.

Simply send the above request to the Coding Agent you are currently using; the Agent will check for the skillhub CLI, select the correct skills directory, and complete the installation according to the documentation.

Method 2: SkillHub CLI

First, check if the CLI is installed:

command -v skillhub && skillhub --version

If not installed, you can execute the full installation (including CLI and default Skills) according to the official documentation:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

When installing this Skill, you must use --dir to point to the current Agent’s skills directory; otherwise, if it defaults to ./skills/, it might not be recognized by the client. Example:

skillhub install @user_8509461a/wechat-pay-integration --dir <Current Agent's skills directory>

Common paths (excerpted from SkillHub installation docs; choose the one corresponding to your actual client):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

After installation, refresh or restart according to the requirements of each client to make the Skill available in the list.

Typical Usage

The official page does not provide separate copyable code examples; the typical usage is to describe the business scenario in a conversation where the Skill is enabled, and the Agent will output the integration path combined with the guidelines within the Skill. Reproducible questioning methods include:

  1. Describe the carrier: “We only have a WeChat Mini Program, and need users to pay after placing an order.”
  2. Describe the constraints: “We already have a WeChat Pay Merchant ID, and need to distinguish which path to take for JSAPI vs. Mini Program payment.”
  3. Describe the stage: “What is the sequence to watch out for in Native scan-to-pay from order placement to callback verification?”

Because requires_api_key=true, when dealing with sensitive information such as AppIDs, Merchant IDs, API Keys, and certificates, you should configure them in a local environment or a key management service, and avoid pasting full keys into chat records. The Agent should only reference field meanings and configuration locations, and must not fabricate parameter names not found in the Skill or merchant platform documentation.

Suitable Scenarios & Notes

Who is it for

  • Backend, Full-stack, and Mini Program developers who are integrating or planning to integrate the WeChat Pay Merchant Platform.
  • Teams that need to make selections between multiple payment products and wish to reduce the time spent repeatedly consulting scattered documentation.
  • Users already utilizing Skills capabilities in Cursor, Claude Code, Codex, etc., who wish to solidify “WeChat Pay Integration” as a reusable domain knowledge package.

Limitations & Notes

  • The source is a community Skill. Integration details are subject to the current documentation and audit rules of the WeChat Pay Merchant Platform; you must still perform your own joint debugging and compliance checks before going live.
  • Ratings and download counts come from SkillHub displays and change over time. When making selections, combine the description with your own scenario for judgment, rather than relying solely on popularity numbers.
  • This Skill focuses on integration and selection guidance and does not replace legal or financial confirmation of acquiring qualifications and contract terms.

Conclusion

“WeChat Pay Integration” packs selection and integration thinking for scenarios like JSAPI, Mini Programs, APP, H5, Native, and Payment Codes into a standard Skill, making it suitable for merchant access Q&A and step organization within Agent workflows. Official Skill page and API entry:

  • https://www.skillhub.cn/skills/user_8509461a/wechat-pay-integration
  • https://api.skillhub.cn/user_8509461a/wechat-pay-integration
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye