CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

auth-wechat-miniprogram

Explains how CloudBase uses WeChat’s automatic authentication to provide user identifiers such as OPENID and, when available, UNIONID to cloud functions. It gives an agent-oriented workflow, clarifies when to use the skill, and points to a separate extended guide for detailed scenarios.

Quality

67%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./plugin/cloudbase/skills/auth-wechat-miniprogram/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

46%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.

The skill has a sound overview-plus-single-reference structure and correctly pushes detailed code into the extended guide, but the body is noticeably padded — two near-duplicate trigger sections and a repeatedly restated core fact — and its central instruction loop is broken because step 3 directs the agent to scenarios 'from this file' that actually live in the unlinked reference. Fixing the scenario routing and deduplicating the activation/usage sections would lift both conciseness and actionability.

Suggestions

Merge 'When to use this skill' into the 'Activation Contract' section (or delete one of them) — they repeat the same triggers and do-not-use lists, including the same Web-login exclusion.

Fix step 3's 'Pick a scenario from this file' to link directly to the scenarios in references/extended-guide.md (e.g. 'use Scenario 2 in [extended-guide.md](references/extended-guide.md)'), since the numbered scenarios are not in SKILL.md.

State the automatic-authentication fact once in 'Core concepts' and cut its repetitions from the 'Key advantage' paragraph, the 'How to use' step 2, and the duplicated sections.

DimensionReasoningScore

Conciseness

The 'Activation Contract' (lines 15-42) and 'When to use this skill' (lines 44-61) duplicate nearly the same trigger and do-not-use lists ('Web-based WeChat login' appears in both, with the same routing to sibling skills), and the 'no explicit login / automatic authentication' point is restated at least five times ('seamless and automatic', 'native and automatic', 'No explicit login API calls needed', 'No need for complex OAuth flows', 'No need to call login APIs in most cases', 'Users are automatically authenticated'). This is several padded, unnecessary sections — the 2 anchor — not just occasional tightening.

2 / 5

Actionability

Concrete guidance exists (use `wx-server-sdk` in cloud functions, `wx.cloud` on the client, ask for the `env` ID), but the pivotal step 3 says 'Pick a scenario from this file' and routes to 'Scenario 2'/'Scenario 4' — the scenarios actually live in references/extended-guide.md and are never linked, so the executable core is incomplete/misdirected from the body. This is the 3 anchor: some concrete guidance but missing key details.

3 / 5

Workflow Clarity

The 'How to use this skill' section gives a real 5-step sequence (confirm env → understand flow → pick scenario → follow API shapes → consult docs if unsure), but checkpoints are implicit at best — step 5's 'if unsure, consult the official documentation' is not a validation step, and the only test loop (Scenario 4) is referenced indirectly through the broken 'from this file' scenario pointer. Sequence present, validation gaps: the 3 anchor.

3 / 5

Progressive Disclosure

The body is an overview that correctly offloads scenarios/examples/patterns to a single one-level-deep reference (references/extended-guide.md, verified to exist, and itself references nothing deeper), signaled clearly in 'Extended guide'. Minor gaps keep it from 5: the 'Reference index' section repeats the same link already given, scenario pointers don't link to the reference, and sibling-skill paths point outside the bundle (with a declared fallback, so acceptable).

4 / 5

Total

12

/

20

Passed

Description

73%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.

The description clearly communicates a well-scoped niche with an explicit use-when clause and strong domain trigger terms. Its main weakness is the thin 'what' — it promises a guide and names capability areas rather than enumerating concrete actions, which leaves both specificity and completeness just short of the top anchors.

DimensionReasoningScore

Specificity

Phrases like 'mini program identity handling, OPENID/UNIONID access, or `wx.cloud` auth behavior' name the domain plus 2-3 concrete capability areas, but the framing 'native authentication guide' stops short of listing several specific actions, so it sits at the 'domain + 1-2 actions, not comprehensive' anchor rather than the 4 anchor's 'several specific actions'.

3 / 5

Completeness

Both parts exist: what ('CloudBase WeChat Mini Program native authentication guide') and an explicit when ('This skill should be used when users need mini program identity handling, OPENID/UNIONID access, or `wx.cloud` auth behavior...'). The when is explicit, but the what is a generic 'guide' without the concrete action list the 5 anchor requires, so it fits the 4 anchor best.

4 / 5

Trigger Term Quality

Natural terms a user would say are present: 'WeChat Mini Program', 'identity handling', 'OPENID/UNIONID', '`wx.cloud` auth', 'login'. A few common variations are missing ('wechat login', '小程序', 'openid in cloud functions'), matching 'good keyword coverage; a few natural terms missing' rather than the comprehensive synonym/extension coverage of the 5 anchor.

4 / 5

Distinctiveness Conflict Risk

The niche is tightly scoped (CloudBase + WeChat Mini Program + native `wx.cloud` identity) with distinctive triggers (OPENID/UNIONID, wx.cloud, native automatic login), and the qualifier 'in projects where login is native and automatic' actively steers away from Web/Node auth skills — minimal conflict risk.

5 / 5

Total

16

/

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/auth-wechat-miniprogram/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.