tencentcloudbase/skills▌
25 approved skills in this repository
miniprogram-development
Productivity
Complete WeChat Mini Program development lifecycle from project setup through publishing and optimization. \n \n Covers page and component creation, project structure organization, configuration management, and asset handling within mini program conventions \n Supports debugging, previewing, and publishing workflows via WeChat Developer Tools or miniprogram-ci command-line automation \n Integrates CloudBase (wx.cloud) for cloud functions, database, storage, and identity when explicitly required
ui-design
Frontend
Opinionated design system for creating distinctive, production-grade frontend interfaces that avoid generic AI aesthetics. \n \n Enforces a mandatory design specification process covering purpose, aesthetic direction, color palette, typography, and layout strategy before any code is written \n Prohibits generic choices: forbidden colors (purple, violet, indigo, fuchsia gradients), forbidden fonts (Inter, Roboto, Arial, system-ui), centered layouts, and emoji icons \n Requires professional icon l
auth-tool-cloudbase
Cloud
Configure and manage CloudBase authentication providers including anonymous, SMS, email, WeChat, Google, and OAuth methods. \n \n Supports 8+ authentication methods: anonymous login, username/password, SMS, email (Tencent Cloud or custom SMTP), WeChat Open Platform, Google OAuth, SAML, CAS, and Dingding \n Query current login strategy via DescribeLoginStrategy , then modify provider settings with ModifyLoginStrategy or ModifyProvider API calls \n Email authentication offers dual configuration: b
http-api-cloudbase
Cloud
HTTP API access to CloudBase platform features including database, authentication, functions, storage, and hosting. \n \n Supports MySQL RESTful API for CRUD operations on database tables via GET, POST, PATCH, DELETE endpoints with field selection, filtering, pagination, and sorting \n Requires authentication via AccessToken (user permissions), API Key (admin permissions), or Publishable Key (anonymous access); tokens passed in Authorization header \n Provides unified domain endpoints for domest
cloudrun-development
Cloud
Backend service development with long connections, multi-language support, and AI agent capabilities. \n \n Supports two modes: Function mode (Node.js, built-in HTTP/WebSocket/SSE, fixed port 3000, local running) and Container mode (any language/runtime via Docker, no local tool support) \n Requires stateless services that listen on the PORT environment variable and write data externally; resource constraints enforce Mem = 2 × CPU \n Includes read tools ( queryCloudRun ) for listing services and
ai-model-wechat
AI/ML
AI text generation and streaming for WeChat Mini Programs via wx.cloud.extend.AI. \n \n Supports two methods: generateText() for non-streaming responses and streamText() for real-time streaming with callback support ( onText , onEvent , onFinish ) \n Built-in models include Hunyuan (recommended: hunyuan-2.0-instruct-20251111 ) and DeepSeek (recommended: deepseek-v3.2 ) \n API differs from JS/Node SDK: generateText() returns raw model response; streamText() requires parameters wrapped in a data o
relational-database-mcp-cloudbase
Cloud
Four MCP tools for safe SQL execution and security rule management on CloudBase Relational Database. \n \n Four tools cover all agent operations: executeReadOnlySQL for SELECT queries, executeWriteSQL for INSERT/UPDATE/DELETE/DDL, readSecurityRule to inspect permissions, and writeSecurityRule to update access controls \n Use MCP tools exclusively in agent context; do not initialize CloudBase SDKs when these tools are available \n Always run read-only SELECTs first to verify assumptions before de
auth-nodejs-cloudbase
Cloud
Server-side identity and user lookup for CloudBase Node.js backends and cloud functions. \n \n Retrieve caller identity ( uid , customUserId , openId ) in cloud functions using getUserInfo() for authorization and personalization decisions. \n Query CloudBase user profiles by uid or login identifier (phone, email, username, custom ID) using getEndUserInfo() and queryUserInfo() . \n Issue custom login tickets from Node backends to bridge existing user systems into CloudBase without requiring separ
cloudbase-agent-ts
Cloud
TypeScript SDK for deploying AI agents as HTTP services with AG-UI protocol support. \n \n Supports three adapter patterns: LangGraph for stateful graph-based workflows, LangChain for chain-based agents, and custom adapters via AbstractAgent interface \n Includes @cloudbase/agent-server for HTTP service deployment with built-in CORS, logging, and observability configuration \n Provides UI client libraries for web applications ( @ag-ui/client ) and WeChat Mini Programs ( @cloudbase/agent-ui-minip
cloudbase-guidelines
Cloud
Essential CloudBase development guidelines for web apps, mini programs, and backend services on Tencent CloudBase. \n \n Covers authentication, database (NoSQL and MySQL), cloud functions, static hosting, and AI integration across Web, WeChat mini programs, and native apps \n Recommends CloudBase MCP installation for enhanced development workflows; provides mcporter CLI as fallback for environments without MCP support \n Platform-specific guidance: Web and mini programs use SDK; native apps requ
cloudbase-document-database-web-sdk
Cloud
CloudBase document database Web SDK for querying, creating, updating, and deleting data in web applications. \n \n Supports CRUD operations, complex queries with operators (gt, gte, lt, lte, eq, neq, in, nin), and method chaining for filtering, sorting, and field selection \n Includes pagination via skip/limit, aggregation pipelines, geolocation queries, and real-time data synchronization with watch() listeners \n Requires SDK initialization with environment ID and authentication before database
ai-model-web
AI/ML
AI text generation and streaming for browser applications via CloudBase SDK. \n \n Supports two providers: Hunyuan (recommended: hunyuan-2.0-instruct-20251111 ) and DeepSeek (recommended: deepseek-v3.2 ) \n Two core methods: generateText() for non-streaming responses and streamText() for incremental text chunks with async iteration \n Requires @cloudbase/js-sdk initialization with anonymous authentication and publishable API key from CloudBase console \n Not suitable for Node.js backends, WeChat
auth-web-cloudbase
Cloud
Web frontend authentication with multiple login methods and complete user management for CloudBase. \n \n Supports 8 login methods: phone/email OTP, password, anonymous, OAuth (Google/WeChat), custom ticket, and anonymous account upgrade \n Includes full user management: sign out, profile updates, password changes, identity linking/unlinking, and account deletion \n Built-in auth state listeners and session management with access token retrieval for API calls \n Compatible with @cloudbase/js-sdk
data-model-creation
Productivity
Advanced data modeling tool for complex multi-table schemas with automated relationship management and ER diagram generation. \n \n Designed for enterprise-level scenarios requiring multi-entity relationships, foreign key automation, and visual documentation; most simple table creation should use relational-database-tool directly with SQL \n Generates Mermaid class diagrams following strict type mapping, naming conventions, and constraint rules for consistent schema design \n Supports required/u
cloud-functions
Cloud
Complete guide for developing, deploying, and managing CloudBase cloud functions with Event and HTTP types. \n \n Supports two function types: Event Functions (Node.js, event-driven) and HTTP Functions (Node.js/Python/Go/Java, web services on port 9000) \n Runtime is immutable after creation; must select correct Node.js version during initial deployment or delete and recreate to change \n HTTP Functions require scf_bootstrap startup script with execute permissions and LF line endings; Event Func
cloud-storage-web
Cloud
Web-based file upload, download, and management for CloudBase cloud storage via the JavaScript SDK. \n \n Supports four core operations: uploading files from browsers with progress tracking, generating temporary download URLs, deleting files, and downloading to local storage \n Requires CORS configuration in CloudBase console; add your frontend domain to security domains to prevent errors \n Uses file IDs in the format cloud://env-id/path/filename and supports folder hierarchies with / separator
ai-model-nodejs
Backend
AI text and image generation for Node.js backends and CloudBase cloud functions. \n \n Supports text generation (non-streaming and streaming) via Hunyuan and DeepSeek models, with recommended models hunyuan-2.0-instruct-20251111 and deepseek-v3.2 \n Image generation exclusive to Node.js SDK using Hunyuan Image model with configurable size, style, negative prompts, and seed control \n Requires @cloudbase/node-sdk version 3.16.0 or higher; set cloud function timeouts to 60–120 seconds for text ope
cloudbase-platform
Cloud
$22
spec-workflow
Productivity
Structured workflow for requirements analysis, technical design, and task planning across feature development and architecture projects. \n \n Enforces four sequential phases: requirements documentation with EARS syntax, technical solution design, task breakdown, and execution, with user confirmation required between each phase \n Integrates UI design skill for frontend-heavy projects, determining design style and color palette during requirements phase \n Provides templates for requirements doc
cloudbase-document-database-in-wechat-miniprogram
Cloud
CloudBase document database operations for WeChat MiniProgram with query, CRUD, and aggregation support. \n \n Provides CRUD operations, complex queries, pagination, aggregation, and geolocation queries through the CloudBase SDK \n Built-in WeChat authentication; no explicit login required, with automatic user context in cloud functions \n Requires type definitions and model layers per collection as a single source of truth for schema validation \n Database security rules must be configured via
web-development
Productivity
Web frontend development with CloudBase integration, static hosting deployment, and SDK-based authentication. \n \n Covers project structure conventions (src/dist/cloudfunctions directories), modern build systems (Vite, Webpack), and hash routing for static hosting compatibility \n Provides CloudBase Web SDK integration patterns for database, cloud functions, and authentication, with strict rules against implementing login logic in cloud functions \n Includes deployment guidance for CloudBase st
auth-wechat-miniprogram
Productivity
WeChat Mini Program authentication with CloudBase using automatic user identity injection in cloud functions. \n \n Automatic authentication: user identity (openid, appid, unionid) is seamlessly injected by WeChat when cloud functions are called, with no explicit login APIs required \n Initialize CloudBase once in Mini Program entry point with wx.cloud.init() , then retrieve verified user context in cloud functions using cloud.getWXContext() \n Three user identifiers available: openid (unique pe
cloudbase
Cloud
Read this section first. The routing contract uses stable skill identifiers such as auth-tool, auth-web, and http-api, so it works across source files, generated artifacts, and local installs.
relational-database-web-cloudbase
Cloud
Frontend CloudBase Relational Database client initialization with Supabase-compatible query API. \n \n Provides canonical synchronous initialization pattern using @cloudbase/js-sdk for browser-based apps (React, Vue, vanilla JS) \n Returns a shared db client that uses identical method names and patterns to Supabase for queries, inserts, updates, and deletes \n Enforces single-client reuse across components; prohibits lazy-loading, async wrappers, and re-initialization \n Handles only frontend da
setup-cloudbase-openclaw
Cloud
This skill defines prompt-based rules only. No setup scripts. Use it to configure and remind the agent (e.g. OpenClaw/Claw) how to work with CloudBase.