cloud-functions

Manage CloudBase cloud functions including runtime selection, deployment, logging, invocation, and HTTP access configuration.

Updated Dec 19, 2025
One-click install
npx skills add https://github.com/yyds-x/walk --skill cloud-functions-yyds-x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloud-functions
Source: https://github.com/yyds-x/walk/tree/main/.agents/skills/cloudbase/references/cloud-functions
Command: npx skills add https://github.com/yyds-x/walk --skill cloud-functions-yyds-x

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CloudBase cloud functions development and lifecycle management are centralized into a single guide for building, deploying, and operating both Event and HTTP functions.

Core Features & Use Cases

  • Supports both Event Functions (Node.js) and HTTP Functions across multiple runtimes, with guidance on runtime selection, deployment, logging, invocation, and HTTP access configuration.
  • Provides end-to-end workflows for creating, deploying, updating code, configuring environment variables, triggers, and security rules for serverless functions in CloudBase.
  • Use case: Build a REST API or event-driven microservice with automatic logs, scaling, and HTTP gateway access.

Quick Start

Start by choosing the function type (Event or HTTP), implement code with the appropriate runtime, and deploy using the MCP tooling described in this guide.

Frequently Asked Questions about cloud-functions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy CloudBase cloud functions and manage their lifecycle?

To deploy CloudBase cloud functions, choose between Event or HTTP functions, implement the code with the selected runtime, and use the provided MCP tooling to manage runtime selection, deployment, logging, and invocation.

What is the difference between Event and HTTP functions in serverless deployments?

Event functions in serverless deployments are triggered by internal events using Node.js, whereas HTTP functions require a scf_bootstrap file and gateway configuration to handle direct HTTP access across multiple runtimes.

Do I need a scf_bootstrap file to configure HTTP access for cloud functions?

Yes, you need a scf_bootstrap file to configure HTTP access for cloud functions. HTTP functions require this file to establish gateway access, whereas Event functions do not utilize this bootstrap mechanism.

Can I change the runtime of a CloudBase cloud function after it has been deployed?

No, you cannot change the runtime of a CloudBase cloud function after deployment. The system enforces runtime immutability, meaning the runtime selection must be finalized before the initial deployment.

How do I configure environment variables and security rules for serverless functions?

You configure environment variables and security rules for serverless functions through end-to-end workflows provided in the guide, ensuring proper scaling, trigger setup, and security best practices for both Event and HTTP functions.