AU

auth-nodejs-cloudbase

A technical guide for handling backend identity and user lookups using the CloudBase Node.js SDK.

Install

mkdir -p .claude/skills/auth-nodejs-cloudbase && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/9316" && unzip -o skill.zip -d .claude/skills/auth-nodejs-cloudbase && rm skill.zip

Installs to .claude/skills/auth-nodejs-cloudbase

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

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.
294 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Query caller identity via Node SDK
  • Implement server-side user lookup
  • Manage custom login ticket issuance
  • Bridge external identity systems to CloudBase

How it works

It utilizes the Node SDK methods to extract identity context from cloud function environments for backend user validation.

Inputs & outputs

You give it
Cloud function request context
You get back
Server-side code for user identification and ticket generation

When to use auth-nodejs-cloudbase

  • Validating caller identity in cloud functions
  • Issuing custom login tickets
  • Looking up user metadata server-side

About auth-nodejs-cloudbase

Assists with reading caller identity and issuing custom login tickets in server-side environments. It bridges existing user systems into CloudBase architecture.

Complete guide for CloudBase Auth using the CloudBase Node SDK – caller identity, user lookup, custom login tickets, and server-side best practices.

When not to use it

  • Client-side UI login implementation
  • Configuring authentication providers

Prerequisites

@cloudbase/node-sdk

Limitations

  • Specific to Tencent CloudBase ecosystem
  • Not for frontend auth UI implementation

How it compares

It distinguishes strictly between server-side identity verification and client-side authentication UI logic.

Compared to similar skills

auth-nodejs-cloudbase side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
auth-nodejs-cloudbase (this skill)02moNo flagsIntermediate
supabase-developer957moReviewIntermediate
better-auth-best-practices186moNo flagsIntermediate
cloudbase-guidelines13moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

More by TencentCloudBase

View all by TencentCloudBase

miniprogram-development

TencentCloudBase

WeChat Mini Program development rules. Use this skill when developing WeChat mini programs, integrating CloudBase capabilities, and deploying mini program projects.

3792

spec-workflow

TencentCloudBase

Standard software engineering workflow for requirement analysis, technical design, and task planning. Use this skill when developing new features, complex architecture designs, multi-module integrations, or projects involving database/UI design.

1091

ai-model-nodejs

TencentCloudBase

Use this skill when developing Node.js backend services or CloudBase cloud functions (Express/Koa/NestJS, serverless, backend APIs) that need AI capabilities. Features text generation (generateText), streaming (streamText), AND image generation (generateImage) via @cloudbase/node-sdk ≥3.16.0. Built-in models include Hunyuan (hunyuan-2.0-instruct-20251111 recommended), DeepSeek (deepseek-v3.2 recommended), and hunyuan-image for images. This is the ONLY SDK that supports image generation. NOT for browser/Web apps (use ai-model-web) or WeChat Mini Program (use ai-model-wechat).

59

web-development

TencentCloudBase

Web frontend project development rules. Use this skill when developing web frontend pages, deploying static hosting, and integrating CloudBase Web SDK.

514

ai-model-web

TencentCloudBase

Use this skill when developing browser/Web applications (React/Vue/Angular, static websites, SPAs) that need AI capabilities. Features text generation (generateText) and streaming (streamText) via @cloudbase/js-sdk. Built-in models include Hunyuan (hunyuan-2.0-instruct-20251111 recommended) and DeepSeek (deepseek-v3.2 recommended). NOT for Node.js backend (use ai-model-nodejs), WeChat Mini Program (use ai-model-wechat), or image generation (Node SDK only).

13

auth-http-api-cloudbase

TencentCloudBase

Use when you need to implement CloudBase Auth v2 over raw HTTP endpoints (login/signup, tokens, user operations) from backends or scripts that are not using the Web or Node SDKs.

17

Search skills

Search the agent skills registry