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

84%

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

75%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-structured routing skill: concise, safety-aware operating rules, a clear scenario-to-reference routing table, and a workflow with verification and a self-check, all backed by real one-level-deep bundle files. The main weaknesses are the redundant and incomplete "Reference index" (missing virtual-payment.md), the absence of any inline executable snippet, and no explicit error-recovery loop in the Quick Workflow.

Suggestions

Fix or remove the "Reference index" section: it duplicates the Routing table and, despite claiming to list "All packaged reference files", omits references/virtual-payment.md — a lint/consistency gap.

Add an inline feedback loop to the Quick Workflow, e.g. after step 6: "If verification fails, load references/troubleshooting.md and re-verify before changing code", making validation an explicit checkpoint.

Include one minimal executable snippet in the body (e.g., a wx.cloud.callHTTPFunction call to the actual generated function name) so the core invocation contract is copy-paste ready without first loading a reference.

DimensionReasoningScore

Conciseness

The body is efficient and assumes Claude's competence — no explanations of what WeChat Pay or OAuth are, and each operating rule is a distinct operational fact (e.g., rule 8's "A refund notify counts as success only when its `RetCode` is `0`"). It falls short of lean/5 because the trailing "Reference index" duplicates the Routing table's file list, the sibling-skill fallback guidance is repeated per-bullet, and the operating rules partially restate what is already in references/overview.md's "Agent Must Know".

4 / 5

Actionability

Guidance is concrete and executable for an instruction-only routing skill: exact reference paths per scenario, "Confirm the actual CloudBase environment ID and generated function name", "preserve credential environment variables and generated callback verification/decryption logic", and specific callback semantics ("`refund_order` success only means the refund task was accepted"). Minor gaps keep it from 5: the body itself contains no code or command (e.g., a minimal `wx.cloud.callHTTPFunction` invocation), deferring all executable detail to the references.

4 / 5

Workflow Clarity

The Quick Workflow is a clear 6-step sequence (classify → load matching reference → confirm environment ID/function name → generate code → add query/idempotency/validation → verify via logs and sandbox test) with a validation step and a closing "Minimum Self-Check" checklist. It misses the 5 anchor because there is no inline error-recovery loop ("if verification fails, do X") — recovery is delegated to the troubleshooting reference rather than made an explicit checkpoint in the sequence.

4 / 5

Progressive Disclosure

Good bundle structure: SKILL.md is a routing overview, all seven references/ files exist, are one level deep, and the Routing table signals each with a task and a "Why" column. Minor gaps prevent a 5: the "Reference index" section claims to list "All packaged reference files" but omits `references/virtual-payment.md` (present in the Routing table and on disk), and that index is redundant with the Routing table itself.

4 / 5

Total

16

/

20

Passed

Description

87%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: it names a distinct CloudBase-specific WeChat payment/OAuth niche, includes concrete API and Chinese-language trigger terms, and has an explicit "should be used when" clause covering add/debug/extend use cases. The main improvement lever is converting more of the topic enumeration into concrete action verbs and adding a few missing Chinese synonyms (微信支付, 扫码支付, 公众号支付).

DimensionReasoningScore

Specificity

The description enumerates concrete, comprehensive capabilities — "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" — with specific API names. It stops short of a 5 because the framing verb is the generic "integration guide for" plus a topic list; the only action verbs ("add, debug, or extend") appear in the when-clause, so coverage is scenario-based rather than action-based.

4 / 5

Completeness

Both halves are explicit: the what ("CloudBase WeChat integration guide for Mini Program WeChat Pay... Official Account OAuth, openid handling, payment callbacks, and CloudBase Integration Center generated functions") and an explicit when-clause ("This skill should be used when users ask to add, debug, or extend WeChat payment, virtual payment, or official-account flows on CloudBase") with concrete trigger activities. This matches the 5 anchor — clearly and explicitly answers both what and when.

5 / 5

Trigger Term Quality

Good natural-keyword coverage including "WeChat Pay", "virtual payment", "wx.requestVirtualPayment", "Official Account OAuth", "openid", "payment callbacks", and the Chinese term "虚拟支付". A few natural synonyms users would say are missing (e.g., "微信支付", "扫码支付", "公众号"), which keeps it below the comprehensive 5 anchor.

4 / 5

Distinctiveness Conflict Risk

The description is tightly scoped to a clear niche — WeChat payment/OAuth flows specifically on CloudBase via Integration Center generated functions — with distinct trigger terms unlikely to fire for generic WeChat, payment, or cloud-function skills. Minimal conflict risk, matching the 5 anchor.

5 / 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

plugin/cloudbase/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.