cloud-functions

Manage CloudBase Event and HTTP Functions with deployment, configuration, and log queries.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/dang0705/planting --skill cloud-functions-dang0705
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloud-functions
Source: https://github.com/dang0705/planting/tree/main/.agents/skills/cloudbase/references/cloud-functions
Command: npx skills add https://github.com/dang0705/planting --skill cloud-functions-dang0705

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill unit addresses the complexities of managing, deploying, and debugging CloudBase Event Functions and HTTP Functions, offering a structured guide to application runtime logic.

Core Features & Use Cases

  • Event Function Management: Facilitates creation, updating, deployment, and debugging of Event Functions with SDK calls, timers, and events.
  • HTTP Function Deployment: Streamlines deployment and operation of HTTP Functions, including REST APIs, SSE, and WebSocket services.
  • Code and Configuration Updates: Handles code updates and configuration adjustments with clear, step-by-step guidance.
  • Use Case: A developer needs to create an HTTP Function to serve as an API endpoint for a CloudBase application.

Quick Start

Start the development of your CloudBase HTTP Function by using the skill 'cloud-functions' and writing an Event Function with the shape exports.main = async (event, context) => {}.

Frequently Asked Questions about cloud-functions

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

FAQPage Schema
How do I deploy an HTTP function to CloudBase?

CloudBase HTTP function deployment is streamlined by following the skill's step-by-step code and configuration guidance, allowing you to quickly launch REST APIs, SSE, and WebSocket services using the `exports.main = async (event, context) => {}` shape.

What is the difference between CloudBase event functions and HTTP functions?

CloudBase event functions are triggered by SDK calls, timers, and system events for background processing, while HTTP functions are designed to directly serve external requests like REST APIs, SSE, and WebSocket services.

How do I debug CloudBase event functions triggered by timers?

You can debug CloudBase event functions triggered by timers by utilizing the skill's log querying capabilities, which allows you to inspect execution traces and troubleshoot runtime logic for your scheduled tasks.

Can I update the configuration of a deployed CloudBase function without rewriting the code?

Yes, you can update the configuration of a deployed CloudBase function independently, as the skill provides clear, step-by-step guidance for handling both code updates and configuration adjustments separately.

Do I need prior knowledge of CloudBase execution models to manage application deployment?

Yes, understanding CloudBase's function types and execution models is required, as this skill is designed for developers and DevOps personnel who are already building applications on the CloudBase platform.

What's the best way to query execution logs for CloudBase application runtime logic?

The best way to query execution logs for CloudBase application runtime logic is to use the skill's built-in log querying features, which facilitate structured debugging for both event and HTTP functions.