CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

auth-nodejs-cloudbase

CloudBase Node SDK auth guide for server-side identity, user lookup, and custom login tickets. This skill should be used when Node.js code must read caller identity, inspect end users, or bridge an existing user system into CloudBase; not when configuring providers or building client login UI.

Quality

84%

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

The canonical home for this skill is auth-nodejs-cloudbase in TencentCloudBase/CloudBase-AI-Toolkit

SKILL.md
Quality
Evals
Security

Quality

Content

71%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 content is highly actionable: every scenario ships complete executable TypeScript with exact SDK method names, parameter shapes, and concrete constraints, and the agent-facing workflow is clearly sequenced. Its weaknesses are token efficiency (trigger guidance repeated across three sections and init boilerplate duplicated in every scenario) and structure (a monolithic single-file layout with no bundle split, relying on sibling-skill references that may not resolve).

Suggestions

Collapse the duplicated activation guidance — 'Activation Contract', 'When to use this skill', and 'Summary' each restate the same triggers and exclusions — into one section to cut roughly 60 lines of redundancy.

Show the `tcb.init` + `app.auth()` boilerplate once in Scenario 1 and have Scenarios 2–9 reference it instead of repeating the identical four lines nine times.

Move the nine scenario implementations and the API-signature list into a bundle file (e.g. references/scenarios.md) so SKILL.md stays a lean overview with one-level-deep references, and keep only one or two representative examples inline.

DimensionReasoningScore

Conciseness

The scenarios are tight and code-focused, but activation/trigger guidance is stated three times — "Activation Contract" ("Using this skill as the entry point for every auth request", "Provider enable/disable or login console configuration"), "When to use this skill" ("Frontend Web login / sign-up flows... handle those with the auth-web skill"), and the closing "Summary" ("Use this Node Auth skill whenever you need to...") — and the four-line `tcb.init` boilerplate is repeated verbatim in all nine scenarios. This is 'mostly efficient but could be tightened' rather than a 2, since there is no explanation of concepts Claude already knows.

3 / 5

Actionability

Quotes: nine complete, copy-paste-ready TypeScript scenarios (e.g. `const { openId, appId, uid, customUserId } = auth.getUserInfo();`, `auth.createTicket(customUserId, { refresh: 3600 * 1000, expire: 24 * 3600 * 1000 })`), an explicit API list with exact signatures (`getEndUserInfo(uid?: string, opts?: ICustomReqOpts)`), and concrete constraints ("Length 4–32 characters", "Allowed characters: letters, digits, and `_-#@(){}[]:.,<>+#~`"). Fully executable guidance covering all common cases; no gaps that would justify a 4.

5 / 5

Workflow Clarity

Quotes: "How to use this skill (for a coding agent)" gives a clear 5-step sequence ("Clarify the runtime and responsibility" → "Confirm CloudBase environment and SDK" → "Pick the relevant scenario" → "Follow Node SDK API shapes exactly" → "If you are unsure about an API... Prefer composing flows from the documented methods"), and scenarios include try/catch error handling. This is a clear sequence with most checkpoints present; not 5 because there are no explicit validate-then-proceed checkpoints or fix-and-retry loops, though none are strictly required since no destructive or batch operations are involved.

4 / 5

Progressive Disclosure

The body has clear section headers and well-signaled one-level references to sibling skills ("Provider setup / publishable key -> `../auth-tool-cloudbase/SKILL.md`"), but no bundle files exist (no references/, scripts/, or assets/ directories) and all ~440 lines — the API reference section, nine full scenarios, and best practices — are inlined in SKILL.md. This matches the anchor 'content that should be separate is inline'; not 4 because the bulk of the material (per-scenario details) is inline rather than split out, and not 2 because organization and navigation within the file are good.

3 / 5

Total

15

/

20

Passed

Description

92%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 is excellent: it states concrete capabilities, gives an explicit 'use when' clause with natural trigger phrases, and closes with negative boundaries that cleanly separate it from sibling skills. The only weakness is modest synonym coverage in trigger terms. The voice is appropriately third-person and the length is disciplined.

DimensionReasoningScore

Specificity

Quotes: "server-side identity, user lookup, and custom login tickets" and "read caller identity, inspect end users, or bridge an existing user system into CloudBase" — the description enumerates multiple concrete actions covering the skill's full scope in both capability-noun and action-verb form. This matches the anchor for comprehensive concrete actions; a 4 would require minor coverage gaps, but identity reading, user lookup/inspection, and ticket issuance fully span the documented skill.

5 / 5

Completeness

Quotes: first sentence answers "what" ("CloudBase Node SDK auth guide for server-side identity, user lookup, and custom login tickets") and "This skill should be used when Node.js code must read caller identity, inspect end users, or bridge an existing user system into CloudBase; not when configuring providers or building client login UI" explicitly answers "when" with concrete trigger phrases plus negative boundaries. This clearly matches the top anchor; a 4 would require the 'when' clause to be less explicit, which it is not.

5 / 5

Trigger Term Quality

Quotes: "CloudBase Node SDK", "Node.js", "caller identity", "user lookup", "custom login tickets", "server-side" — good natural keyword coverage that a developer would plausibly say. Not 5 because common variations and synonyms are missing (e.g. "authentication", "sign-in", "get current user", package-name triggers like "@cloudbase/node-sdk" appear only in the body, not the description); not 3 because the terms present are natural phrases rather than jargon-only.

4 / 5

Distinctiveness Conflict Risk

Quotes: "not when configuring providers or building client login UI" — an explicit negative boundary that separates this skill from its sibling provider-setup and web-login skills, and the niche (Node.js server-side auth in CloudBase) is distinct. Minimal conflict risk; a 4 would require minor overlap concerns, but the exclusions preclude the obvious sibling overlaps.

5 / 5

Total

19

/

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