CtrlK
BlogDocsLog inGet started
Tessl Logo

ai-model-wechat

Use this skill for WeChat Mini Program AI via wx.cloud.extend.AI (小程序, wx.cloud apps). Covers generateText and streamText with callbacks (onText, onEvent, onFinish); streamText needs a data wrapper, generateText returns the raw response. Models via wx.cloud.extend.AI.createModel with groups hunyuan-exp (小程序成长计划), cloudbase (main managed), or custom-*; model id goes in the data wrapper `model` field. MUST run two-step preflight before code — see body. NOT for browser/Web (use ai-model-web), Node.js backend (use ai-model-nodejs), or image generation (use ai-model-nodejs).

62

Quality

74%

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/ai-model-wechat/SKILL.md

The canonical home for this skill is ai-model-wechat in TencentCloudBase/CloudBase-AI-Toolkit

SKILL.md
Quality
Evals
Security

Quality

Content

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

An actionable, well-sequenced body with excellent preflight workflow clarity and executable code throughout. Its weaknesses are repetition that bloats the token budget and a monolithic single-file structure with no progressive disclosure into reference files.

Suggestions

Deduplicate the preflight prerequisite: state it once in the preflight section and reference it with a short pointer from the generateText/streamText/error-handling examples instead of restating the full paragraph each time.

Move stable but bulky material — the Type Definitions and the API Comparison table — into reference files (e.g. references/types.md, references/api-comparison.md) and link to them from SKILL.md to add one-level-deep progressive disclosure.

Consolidate the 'createModel argument is not a vendor/model name' warning into the STOP section and Best Practices, removing the redundant restatement in the Available Providers section.

DimensionReasoningScore

Conciseness

Mostly efficient domain-specific content Claude would not already know, but the ~440-line body repeats the same guidance multiple times — the two-step preflight prerequisite note is restated before the generateText, streamText, and error-handling sections, and the 'createModel argument is not a vendor/model name' warning appears in the STOP section, the Available Providers callout, and Best Practice #2 — which is more than minor trimming.

3 / 5

Actionability

Provides many concrete, executable code blocks (createModel, generateText, streamText with callbacks, callCloudApi for DescribeActivityInfo/DescribeEnvPostpayPackage/DescribeAIModels/UpdateAIModel/CreateAIModel) plus full type definitions; held below 5 by clearly-marked envId placeholders and the interleaved abstract decision tables/eligibility guidance.

4 / 5

Workflow Clarity

The Mandatory Two-Step Preflight is a clearly sequenced workflow with fixed ordering (① eligibility → ② group readiness), explicit hit/miss validation criteria, and feedback loops (InvalidParameter → switch casing and retry; model missing → DescribeManagedAIModelList → UpdateAIModel then re-confirm), with the destructive full-replacement UpdateAIModel properly guarded by validation and a self-verify step in Best Practice #13.

5 / 5

Progressive Disclosure

No bundle files (references/scripts/assets) exist and the entire ~440-line body — including type definitions, API comparison, and detailed preflight tables that could live in reference files — is inlined in SKILL.md; section headers give it structure, but for a skill this size the lack of one-level-deep reference offloading keeps it mid-band.

3 / 5

Total

15

/

20

Passed

Description

78%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 dense, specific description that names the API surface, billing groups, and preflight requirement while staking out a clear niche with explicit exclusions. It is held back from the top band mainly by a slightly technical trigger phrasing and a single 'when' clause rather than enumerated trigger phrases.

DimensionReasoningScore

Specificity

Names multiple concrete API actions and surfaces — 'generateText and streamText with callbacks (onText, onEvent, onFinish)', 'createModel with groups hunyuan-exp, cloudbase, or custom-*', 'two-step preflight' — giving broad coverage; held below 5 because the framing is API-surface enumeration rather than a tight list of user-facing actions, and the imperative 'Use this skill for...' second-person voice trims it slightly per the voice guideline.

4 / 5

Completeness

Explicitly answers both 'what' (covers generateText/streamText/callbacks/createModel groups/preflight) and 'when' ('Use this skill for WeChat Mini Program AI...') plus sharp NOT-for exclusions (browser/Web, Node.js, image generation); not a 5 because the 'when' is a single clause rather than a set of concrete trigger phrases.

4 / 5

Trigger Term Quality

Strong natural keyword coverage including synonyms users would actually say — 'WeChat Mini Program AI', 'wx.cloud.extend.AI', '小程序', 'wx.cloud apps', 'Hunyuan models', 'generateText/streamText'; not a 5 because no file-extension-style triggers apply and a few phrasings lean technical.

4 / 5

Distinctiveness Conflict Risk

Clear niche (WeChat Mini Program AI via wx.cloud.extend.AI) with explicit boundaries against sibling skills (ai-model-web, ai-model-nodejs, http-api-cloudbase), giving minimal conflict risk.

5 / 5

Total

17

/

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.

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