CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

auth-nodejs-cloudbase

This skill explains when to use CloudBase Node SDK authentication and how to handle caller identity, user profiles, login identifiers, client IPs, and custom login tickets. It provides API guidance and example patterns, along with security and error-handling practices for Node.js backends.

Quality

82%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

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 body delivers highly actionable, executable CloudBase Node auth patterns with exact API shapes and useful boundary routing to sibling skills. Its main weaknesses are redundancy (two overlapping trigger sections and repeated init boilerplate) and a monolithic single-file structure that inlines API reference and scenario detail a leaner SKILL.md would offload to reference files.

Suggestions

Merge the 'Activation Contract' and 'When to use this this skill' sections into one trigger section — they currently repeat the same use/don't-use guidance in slightly different words.

State the tcb.init({ env }) + app.auth() boilerplate once and show only the scenario-specific code in each of the nine scenarios, cutting significant duplicate tokens.

Move the full API-signature listing and the less-common scenarios (e.g., client IP, current-caller profile) into reference files under references/, keeping SKILL.md as a lean overview with clearly signaled one-level-deep links.

DimensionReasoningScore

Conciseness

The body is mostly efficient, CloudBase-specific guidance Claude would not already know, but the 'Activation Contract' and 'When to use this skill' sections duplicate the same triggers and exclusions in slightly different wording, and the same tcb.init boilerplate is repeated verbatim in all nine scenarios. It is noticeably tighter than anchor 2's padded explanations, but the duplication keeps it from anchor 4's 'minor instances of over-explanation'.

3 / 5

Actionability

Nine scenarios provide complete, copy-paste-ready TypeScript with exact SDK method names, parameter shapes, and concrete constraints (customUserId length 4–32, allowed character set, exact platform/platformId query formats). This matches the anchor-5 'fully executable, specific examples cover the common cases' standard.

5 / 5

Workflow Clarity

The 'How to use this skill' section gives a clear five-step sequence (clarify runtime/responsibility, confirm env and SDK, pick a scenario, follow API shapes exactly, consult official docs if unsure), and scenarios embed try/catch error handling. It falls short of anchor 5 because validation is implicit (per-scenario try/catch) rather than explicit checkpoints with fix-and-retry feedback loops, though no destructive/batch cap applies.

4 / 5

Progressive Disclosure

Sections are well-labeled and sibling-skill references are clearly signaled one level deep, but there are no bundle files at all and the ~440-line monolithic body inlines an API-signature listing plus all nine scenarios — content that could be split into reference files. This fits anchor 3's 'content that should be separate is inline' better than anchor 4's 'most content is appropriately placed', given the file's size.

3 / 5

Total

15

/

20

Passed

Description

87%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 strong description: concrete capabilities, explicit use-when guidance with both positive and negative triggers, and clear boundary-setting against sibling skills in third-person voice. The only weaknesses are a few missing natural trigger variations and slightly incomplete action coverage.

DimensionReasoningScore

Specificity

The description lists several concrete actions — 'server-side identity, user lookup, and custom login tickets', 'read caller identity, inspect end users, or bridge an existing user system' — with only minor gaps in coverage. It falls short of anchor 5 because the action list, while specific, is not fully comprehensive of the skill's API surface (e.g., client IP logging and admin profile lookup are only implied by 'inspect end users'.).

4 / 5

Completeness

It explicitly answers both what ('auth guide for server-side identity, user lookup, and custom login tickets') and when ('This skill should be used when Node.js code must read caller identity, inspect end users, or bridge an existing user system into CloudBase'), with concrete trigger phrases plus explicit negative triggers ('not when configuring providers or building client login UI'). This clearly matches the anchor-5 example structure rather than anchor 4, whose 'when' is less explicit.

5 / 5

Trigger Term Quality

Natural terms like 'CloudBase', 'Node.js', 'auth', 'user lookup', 'custom login tickets', and 'caller identity' match what a user would say when needing this skill. A few natural variations are missing (e.g., the package name '@cloudbase/node-sdk', 'who is calling', 'end user info'), keeping it below anchor 5's comprehensive synonym/extension coverage.

4 / 5

Distinctiveness Conflict Risk

The niche is tightly scoped to CloudBase + Node.js + server-side identity, and the 'not when configuring providers or building client login UI' clause explicitly disambiguates against the closest sibling skills. Minimal conflict risk, matching anchor 5; anchor 4's 'minor overlap risk' understates the active boundary-setting present here.

5 / 5

Total

18

/

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