CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

cloudbase-wechat-integration

CloudBase WeChat integration guide for Mini Program WeChat Pay, Mini Program virtual payment (虚拟支付, wx.requestVirtualPayment), Official Account JSAPI Pay, Native QR-code Pay, Official Account OAuth, openid handling, payment callbacks, and CloudBase Integration Center generated functions. This skill should be used when users ask to add, debug, or extend WeChat payment, virtual payment, or official-account flows on CloudBase.

Quality

90%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

The canonical home for this skill is cloudbase-wechat-integration in TencentCloudBase/CloudBase-AI-Toolkit

SKILL.md
Quality
Evals
Security

Quality

Content

88%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-engineered router/contract skill: scenario-based routing to verified one-level-deep references, exact operating rules for payment-critical edge cases, and a workflow with real validation checkpoints and a self-check list. The few weaknesses are mild redundancy (Reference index vs. Routing table, repeated secrets rule) and an incomplete Reference index that omits virtual-payment.md.

Suggestions

Add references/virtual-payment.md to the "Reference index" section — it is packaged and routed but missing from a list that claims to include all packaged reference files, which could break lint reachability checks.

Consider removing or merging the "Reference index" section with the Routing table (it duplicates the same file list minus one file), and deduplicate the secrets rule which currently appears in three places.

DimensionReasoningScore

Conciseness

The body is dense with operational rules and routing with no padding about concepts Claude already knows, but there are minor instances that could be trimmed: the "Reference index" section duplicates the Routing table's file list, and the secrets rule is stated three times ("Do NOT use for" bullet, Operating Rule 3, and Minimum Self-Check). Efficient with minor trim opportunities fits anchor 4 rather than anchor 5's every-token-earns-its-place bar.

4 / 5

Actionability

As an instruction-only routing skill it gives fully actionable guidance: a routing table with exact per-scenario file paths and rationale, exact rules for the tricky cases ("A refund notify counts as success only when its RetCode is 0 and the refund id matches"; "ask for or inspect the actual function name before writing calls"), and a concrete 6-step workflow. Code absence is not penalized per the instruction-only note since executable detail is correctly deferred to the seven reference files, and no scenario lacks a concrete route.

5 / 5

Workflow Clarity

The Quick Workflow is clearly sequenced with explicit validation checkpoints (step 5: "order-status query, callback idempotency, and amount/order validation"; step 6: "Verify through function logs, callback logs, and an end-to-end payment sandbox"), a checklist for complex processes ("Minimum Self-Check"), and an explicit error-recovery path (routing "callback failures, logs" to references/troubleshooting.md). This satisfies the anchor-5 bar of validation steps, feedback routing, and a checklist for a money-handling workflow.

5 / 5

Progressive Disclosure

Structure is strong: the Routing table splits seven scenarios into seven one-level-deep reference files, all verified to exist on disk with no nested references. However, the "Reference index" section claims "All packaged reference files (required for skill lint reachability)" yet omits references/virtual-payment.md, which is present in the bundle and routed in the table — a minor organization inconsistency that fits anchor 4's "minor organization gaps" rather than anchor 5.

4 / 5

Total

18

/

20

Passed

Description

88%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description that clearly states what the skill covers and when to use it, with concrete API-level capability names and an explicit trigger clause. The main weaknesses are missing natural-language synonyms (the Chinese payment terms live only in the body) and a slight overlap risk with sibling auth skills around openid/OAuth handling.

Suggestions

Add the natural Chinese trigger synonyms (微信支付, 小程序支付, 公众号支付) and "refund" to the description itself, since they currently appear only in the body and the description is the trigger surface.

Qualify "openid handling" and "Official Account OAuth" as scoped to payment/official-account flows (e.g., "payment-context openid handling") so the description alone distinguishes this skill from the sibling CloudBase auth skill.

DimensionReasoningScore

Specificity

Enumerates concrete capabilities with API identifiers — "Mini Program WeChat Pay", "Mini Program virtual payment (虚拟支付, wx.requestVirtualPayment)", "Official Account JSAPI Pay", "Native QR-code Pay", "Official Account OAuth", "openid handling", "payment callbacks", "CloudBase Integration Center generated functions" — plus the actions "add, debug, or extend". Coverage spans every major WeChat payment scenario with no evident gap, matching the comprehensive-coverage anchor rather than the minor-gaps anchor.

5 / 5

Completeness

Explicitly answers both questions: what ("CloudBase WeChat integration guide for [eight enumerated capabilities]") and when ("This skill should be used when users ask to add, debug, or extend WeChat payment, virtual payment, or official-account flows on CloudBase"). The when-clause is an explicit use-when with concrete trigger phrases, matching anchor 5; anchor 4's "'when' could be more explicit" does not apply.

5 / 5

Trigger Term Quality

Includes natural terms users would say ("WeChat Pay", "虚拟支付", "wx.requestVirtualPayment", "openid", "payment callbacks", "CloudBase"), but common synonyms and variations — 微信支付, 小程序支付, 公众号支付, and "refund" — appear only in the body, not in the description. Good coverage with a few natural terms missing fits anchor 4 rather than the comprehensive-synonyms anchor 5.

4 / 5

Distinctiveness Conflict Risk

The niche is clear (WeChat payment/official-account flows on CloudBase, reinforced by "Integration Center generated functions"), but the listed capabilities "Official Account OAuth" and "openid handling" overlap the sibling auth skill territory, and the description alone — without the body's "Do NOT use for" boundary — does not scope that out. Mostly distinct with minor overlap risk against a closely related sibling skill fits anchor 4 rather than anchor 5's minimal-conflict bar.

4 / 5

Total

18

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository

TencentCloudBase/CloudBase-AI-Toolkit

Path

config/.claude/skills/cloudbase-wechat-integration/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.