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

71%

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 ./config/source/skills/auth-wechat-miniprogram/SKILL.md

The canonical home for this skill is auth-wechat-miniprogram in TencentCloudBase/CloudBase-AI-Toolkit

SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

60%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 body is well-structured as an overview with a clean one-level-deep reference containing all executable scenarios, and the workflow sequence is clear. Its weaknesses are redundant duplicated sections (activation contract vs. when-to-use) and a misleading 'pick a scenario from this file' pointer that directs readers to scenarios that live in the reference file.

Suggestions

Merge the 'Activation Contract' and 'When to use this skill' sections into one, and state the native/automatic auth model once instead of four times, cutting the body roughly in half.

Fix step 3 to say 'Pick a scenario from [extended-guide.md](references/extended-guide.md)' so the pointer matches where Scenarios 1-4 actually live.

Remove the 'Reference index' section's lint meta-commentary ('required for skill lint reachability') and drop the duplicate link, keeping a single clearly-labeled pointer to the extended guide.

DimensionReasoningScore

Conciseness

The body is mostly efficient (no explanations of basic concepts Claude already knows), but the 'Activation Contract' and 'When to use this skill' sections duplicate each other's use-cases and do-not-use lists, and the 'native and automatic' messaging is repeated four times across sections. It is above anchor 2 because the padding is redundant repetition rather than patronizing explanation.

3 / 5

Actionability

Concrete guidance exists (ask for the env ID, use `wx-server-sdk` in cloud functions, `wx.cloud` in client code), and deferring code to the reference file is acceptable for an instruction-only skill. However, step 3 says 'Pick a scenario from this file' while Scenarios 1-4 actually live in references/extended-guide.md — a misleading pointer that leaves the reader without executable content in the body.

3 / 5

Workflow Clarity

The 'How to use this skill' section gives a clear five-step sequence (confirm env → understand flow → pick scenario → follow exact API shapes → consult official docs if unsure), and Scenario 4 covers testing. This is not a destructive or batch operation, so heavy validation checkpoints are not required; minor gaps (no explicit checkpoint for verifying the env link) keep it below anchor 5.

4 / 5

Progressive Disclosure

Good structure against the actual bundle: the body is an overview, and the single reference (references/extended-guide.md — verified to exist) is one level deep, clearly signaled, and contains the scenarios/code. Minor gaps: the 'Reference index' duplicates the extended-guide pointer and includes lint meta-commentary ('required for skill lint reachability'), and the 'this file' wording in step 3 misdirects navigation.

4 / 5

Total

14

/

20

Passed

Description

70%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 solid description with an explicit, well-phrased trigger clause and good domain-specific keywords. Its main weakness is a noun-heavy 'what' that lists capability areas instead of concrete actions, which limits specificity and completeness.

Suggestions

Convert the capability nouns into concrete action verbs, e.g., 'Retrieve OPENID/UNIONID in cloud functions, initialize wx.cloud auth, and verify caller identity in CloudBase mini programs.'

Add missing natural trigger synonyms such as '小程序', 'WeChat login', and 'get openid in a cloud function' to broaden keyword coverage.

Add a brief exclusion clause (e.g., 'Not for web-based WeChat login or Node SDK server-side auth') to reduce overlap with sibling auth skills.

DimensionReasoningScore

Specificity

The description names the domain ('CloudBase WeChat Mini Program native authentication guide') and 2-3 capability areas ('identity handling, OPENID/UNIONID access, or `wx.cloud` auth behavior'), but these are noun phrases rather than concrete action verbs, so coverage is not comprehensive. It sits at anchor 3 rather than 4 because it does not list several specific actions (e.g., 'retrieve OPENID in cloud functions', 'initialize wx.cloud').

3 / 5

Completeness

Both what and when are present, with an explicit trigger clause ('This skill should be used when users need mini program identity handling, OPENID/UNIONID access, or `wx.cloud` auth behavior'). It falls short of anchor 5 because the 'what' is a generic noun-based capability list ('guide', 'identity handling') rather than concrete actions paired with the triggers.

4 / 5

Trigger Term Quality

Good natural keyword coverage: 'mini program identity handling', 'OPENID/UNIONID', 'wx.cloud auth', 'login' — terms users would plausibly say. A few natural variants are missing (e.g., '小程序', 'WeChat login', 'openid in cloud functions'), keeping it below anchor 5.

4 / 5

Distinctiveness Conflict Risk

A clear niche (CloudBase WeChat Mini Program native auth, scoped 'in projects where login is native and automatic') with distinct triggers. Minor overlap risk remains with closely related sibling skills (auth-web, auth-nodejs) that the description does not explicitly exclude, keeping it below anchor 5.

4 / 5

Total

15

/

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/source/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.