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

64%

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

38%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 is well-structured for progressive disclosure — a thin overview pointing at one real, clearly signaled reference file — but the body itself is padded and not actionable. It duplicates its activation guidance in two sections, repeats the 'auth is automatic' fact four times, and contains no code despite telling the agent to treat its API shapes as canonical, while its scenario routing points to scenarios that live only in the reference file.

Suggestions

Merge the 'Activation Contract' and 'When to use this skill' sections into one, and state the 'authentication is automatic / no explicit login' fact once — removing the duplicated triggers and the four repetitions would cut the body roughly in half.

Add one minimal executable example inline (e.g., the cloud-function `OPENID` access snippet from Scenario 2 of the extended guide) so the instruction 'Treat method names and parameter shapes in this file as canonical' has something to anchor to.

Fix step 3 of 'How to use this skill' to link directly to the scenarios in references/extended-guide.md (e.g., 'Pick a scenario from [extended-guide.md](references/extended-guide.md)'), and drop the redundant 'Reference index' section that repeats the same single link.

DimensionReasoningScore

Conciseness

The body duplicates its activation guidance twice ("Activation Contract" with 'Use this first when'/'Do NOT use for', then a second "When to use this skill" section repeating the same triggers and exclusions), and states that mini program auth is automatic/no-explicit-login four times ("seamless and automatic - no complex OAuth flows"; "native and automatic / No explicit login API calls needed"; "Automatic authentication: ... No need for complex OAuth flows"; "No explicit login required: Users are automatically authenticated"). This matches anchor 2 ("Noticeably verbose; several unnecessary explanations or padded sections"). It is not 1 because the content is domain-specific rather than explaining concepts Claude already knows, and not 3 because the redundancy is structural (whole duplicated sections), not minor tightening.

2 / 5

Actionability

The body contains no code or commands at all, despite instructing "Follow CloudBase API shapes exactly", "Use `wx-server-sdk` in cloud functions", and "Treat method names and parameter shapes in this file as canonical" — no method names or parameter shapes appear in the file. Step 3 says "Pick a scenario from this file" but Scenarios 1–4 are only defined in references/extended-guide.md, not in SKILL.md. This matches anchor 2 ("Minimal concrete guidance; high-level hints but missing the specific steps to execute"). Not 3 because there is not even partial or pseudocode-level executable guidance — everything executable is deferred to the reference file.

2 / 5

Workflow Clarity

The "How to use this skill" section lists a coherent 5-step sequence (confirm env → understand flow → pick scenario → follow API shapes → consult docs if unsure), matching anchor 3 ("Steps listed but validation gaps; sequence present but checkpoints missing or implicit"). Not 4 because step 3's scenario routing points to scenarios that are not in this file (a broken in-file pointer), and there are no verification checkpoints (e.g., confirming the env is linked before proceeding). Not 2 because the sequence is well-defined with explicit routing and a documented fallback for uncertainty.

3 / 5

Progressive Disclosure

The bundle is a single real reference (references/extended-guide.md) linked one level deep and clearly signaled: "For detailed scenarios, examples, and patterns, read [extended-guide.md](references/extended-guide.md)", with sibling-skill links carrying explicit fallback guidance for missing files. This matches anchor 4 ("Good structure; most content is appropriately placed; references mostly clear; minor organization gaps"). Not 5 because the reference file is listed twice (Extended guide section plus a redundant 'Reference index'), and the body's scenario pointers ('use Scenario 2') do not link to where those scenarios are actually defined.

4 / 5

Total

11

/

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.

A well-formed description with a clear niche and an explicit 'should be used when' clause containing concrete, natural trigger terms. Its main weakness is that the 'what' is a generic noun ('guide') rather than a list of concrete capabilities, leaving the trigger clause to carry most of the specificity.

DimensionReasoningScore

Specificity

Quotes: "native authentication guide", "mini program identity handling, OPENID/UNIONID access, or `wx.cloud` auth behavior". It names the domain plus a couple of concrete capability areas (OPENID/UNIONID access, wx.cloud auth behavior), matching anchor 3 ("Names domain and 1-2 concrete actions, but not comprehensive"). It is not 4 because it frames itself as a "guide" and never enumerates several concrete actions Claude performs (e.g., 'retrieve OPENID in cloud functions', 'initialize wx.cloud'), and not 2 because the capabilities named go beyond minimal/generic domain labeling.

3 / 5

Completeness

Quotes: what — "CloudBase WeChat Mini Program native authentication guide"; when — "This skill should be used when users need mini program identity handling, OPENID/UNIONID access, or `wx.cloud` auth behavior". Both are present with an explicit 'Use when' clause carrying concrete trigger phrases, but the 'what' is a single noun phrase ('guide') rather than explicitly stated concrete actions, so it falls between anchor 4 and 5 — closer to 4 since the when is fully explicit while the what is thinner.

4 / 5

Trigger Term Quality

Quotes: "mini program identity handling, OPENID/UNIONID access, `wx.cloud` auth behavior" — these are terms users would naturally say when they need this skill, matching anchor 4 ("Good keyword coverage; a few natural terms missing"). It is not 5 because common variations like "小程序", "WeChat login", "cloudbase" are absent, and not 3 because the covered terms (OPENID/UNIONID, wx.cloud, mini program identity) go well beyond 'some relevant keywords'.

4 / 5

Distinctiveness Conflict Risk

Quotes: "CloudBase WeChat Mini Program native authentication", "OPENID/UNIONID access", "`wx.cloud` auth behavior", "where login is native and automatic". This carves a clear niche with distinct triggers (wx.cloud, mini program, OPENID/UNIONID) that separate it from sibling web/Node auth skills, matching anchor 5 ("Clear niche with distinct triggers; minimal conflict risk"). Not 4: the scoping terms are specific enough that overlap with adjacent auth skills is minimal.

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

config/.claude/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.