← 返回 Skills 市场
微信支付基础支付接入skill
作者
zhangpeng319
· GitHub ↗
· v1.0.1
· MIT-0
158
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install wechatpay-basic-payment
功能描述
微信支付基础支付解决方案,涵盖支付、退款账单、分账、商户进件、开户意愿确认,提供选型/代码示例/业务速查/质量评估/排障五大能力。Use when user mentions "JSAPI支付", "APP支付", "H5支付", "Native支付", "小程序支付", "付款码支付", "合单支付", "调起...
安全使用建议
This skill is internally coherent for WeChat Pay guidance: it bundles official-style docs, many language sample files, and helper scripts. Before installing or using it:
- Review bundled sample code (especially scripts) for hard-coded secrets, test credentials, or insecure practices before copying into production.
- Never paste or transmit your private API key or private certificate to the agent. Follow the skill's recommended flow: perform signing on your own server and only share the minimal signature output (Base64 signature, timestamp, nonce) if needed.
- When the skill offers to 'run' diagnostic scripts, confirm whether it means you should run them locally — do not allow the agent to run commands on your environment or to upload your private keys.
- If you plan to use any examples in production, rotate any test credentials, run static analysis on the code, and test in a sandbox merchant account first.
If you want, I can (a) scan the bundled code files for obvious hard-coded credentials and risky patterns, or (b) point out exactly which files to inspect first (e.g., scripts/商户/*.py and any 'utility' files that might load keys).
功能分析
Type: OpenClaw Skill
Name: wechatpay-basic-payment
Version: 1.0.1
The skill bundle is a comprehensive developer resource for WeChat Pay integration, containing standard Go/Java code examples and Python troubleshooting scripts. The instructions in SKILL.md are well-structured and include safety constraints, such as forbidding the agent from writing files or generating code from scratch. The troubleshooting scripts (e.g., scripts/商户/查询订单.py) are designed with security in mind, utilizing a 'signature mode' that requires users to provide pre-calculated signatures rather than sharing their private keys with the agent. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力标签
能力评估
Purpose & Capability
Name/description match the provided assets: extensive docs, language-specific sample code, and diagnostic scripts for WeChat Pay integration (payments, refunds, bills, profit-sharing, onboarding). The included files are exactly what a payments integration help skill would reasonably contain.
Instruction Scope
SKILL.md is prescriptive and narrowly scoped: it requires explicit user consent before collecting parameters, forbids writing files to the user's project, and instructs scripts to be run on the user's servers (signing is done locally). One ambiguity: several places say the agent will 'execute the corresponding query scripts' when offering to help—the skill also states scripts should be run on the user's server and private keys must not be shared. This is consistent but relies on the agent and user following the 'do not transmit private keys' rule; the user should verify the agent will not request or accept private keys or other secrets.
Install Mechanism
No install spec — instruction-only skill with bundled docs and example code. Nothing is downloaded from arbitrary URLs at install time. The only external asset in the content is a GitHub raw URL for a QR image (commons host).
Credentials
The skill does not request environment variables, binaries, or credentials in its registry metadata. SKILL.md explicitly prohibits acquiring merchant private keys and requires the user to perform signing locally and only pass back Base64 signature values, timestamps, and nonces — which is proportionate to diagnostic scripts that need signed requests.
Persistence & Privilege
always:false and no install steps. The skill does not request persistent privileges or system-wide configuration changes. It does not declare the ability to auto-enable itself or modify other skills.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install wechatpay-basic-payment - 安装完成后,直接呼叫该 Skill 的名称或使用
/wechatpay-basic-payment触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added author and version fields to skill metadata.
- Appended a new "社区与反馈" (Community & Feedback) section with a QR code for joining the support group.
- Clarified that the bottom section is not related to core skill abilities.
- No changes to functional logic or main documentation structure.
v1.0.0
wechatpay-basic-payment 1.0.0 初始版本上线
- 提供微信支付基础支付完整方案,包括支付、退款、账单、分账、特约商户进件、开户意愿确认等全流程能力。
- 严格分步交互规范:需求澄清、征得同意后再收集参数和操作,避免误操作。
- 支持支付产品选型、接口代码示例(只展示)、业务知识速查、接入质量评估、问题排查五大核心功能。
- 根据商户/服务商不同接入模式智能分流,确保匹配用户实际业务场景。
- 排障支持错误码速查及辅助脚本,配合分步确认保障安全。
元数据
常见问题
微信支付基础支付接入skill 是什么?
微信支付基础支付解决方案,涵盖支付、退款账单、分账、商户进件、开户意愿确认,提供选型/代码示例/业务速查/质量评估/排障五大能力。Use when user mentions "JSAPI支付", "APP支付", "H5支付", "Native支付", "小程序支付", "付款码支付", "合单支付", "调起... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 158 次。
如何安装 微信支付基础支付接入skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install wechatpay-basic-payment」即可一键安装,无需额外配置。
微信支付基础支付接入skill 是免费的吗?
是的,微信支付基础支付接入skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
微信支付基础支付接入skill 支持哪些平台?
微信支付基础支付接入skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 微信支付基础支付接入skill?
由 zhangpeng319(@zhangpeng319)开发并维护,当前版本 v1.0.1。
推荐 Skills