cloud-functions

Installation
Summary

Complete guide for developing, deploying, and managing CloudBase cloud functions with Event and HTTP types.

  • Supports two function types: Event Functions (Node.js, event-driven) and HTTP Functions (Node.js/Python/Go/Java, web services on port 9000)
  • Runtime is immutable after creation; must select correct Node.js version during initial deployment or delete and recreate to change
  • HTTP Functions require scf_bootstrap startup script with execute permissions and LF line endings; Event Functions do not
  • Includes logging via getFunctionLogs and getFunctionLogDetail tools, with 1-day query window limits and pagination constraints
  • Covers SSE and WebSocket support, HTTP access configuration, environment variable management (must merge with existing values on update), and timer triggers via cron expressions
SKILL.md

Standalone Install Note

If this environment only installed the current skill, start from the CloudBase main entry and use the published cloudbase/references/... paths for sibling skills.

  • CloudBase main entry: https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/SKILL.md
  • Current skill raw source: https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/references/cloud-functions/SKILL.md

Keep local references/... paths for files that ship with the current skill directory. When this file points to a sibling skill such as auth-tool or web-development, use the standalone fallback URL shown next to that reference.

Cloud Functions Development

Activation Contract

Use this first when

  • The task is to create, update, deploy, inspect, or debug a CloudBase Event Function or HTTP Function that serves application runtime logic.
  • The request mentions function runtime, function logs, scf_bootstrap, function triggers, or function gateway exposure.

Read before writing code if

Related skills

More from tencentcloudbase/skills

Installs
819
GitHub Stars
58
First Seen
Jan 22, 2026