cloudrun-development

Deploy and manage CloudBase Run backend services in Function or Container mode.

Updated May 14, 2026
One-click install
npx skills add https://github.com/study-yang/Vieb-Coding-- --skill cloudrun-development-study-yang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudrun-development
Source: https://github.com/study-yang/Vieb-Coding--/tree/main/%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F-%E5%BF%AB%E8%AE%B0/.codebuddy/skills/cloudrun-development
Command: npx skills add https://github.com/study-yang/Vieb-Coding-- --skill cloudrun-development-study-yang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It guides the deployment, configuration, and debugging of long-lived backend services on CloudBase Run, covering scenarios that serverless functions cannot handle such as WebSocket, SSE, and custom runtimes. ## Core Features & Use Cases - Mode Selection: Choose between Function mode for fast Node.js-style services and Agent flows, or Container mode for custom runtimes and Docker-based deployments. - Tool Routing: Use queryCloudRun for read operations (list, detail, templates, deploy logs) and manageCloudRun for write operations (init, download, run, deploy, delete, createAgent). - Access Control: Configure PUBLIC, VPC, MINIAPP, or OA access types to match web, mini-program, or private network scenarios. - Use Case: Deploy an AI Agent service with SSE streaming by initializing a Function mode project, running it locally, then deploying with MinNum set to 1 to reduce cold starts. ## Quick Start Initialize and deploy a CloudBase Run Function mode service named my-svc with public access and a minimum of one instance.

Frequently Asked Questions about cloudrun-development

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

FAQPage Schema
How do I deploy a backend service on CloudBase Run?

Initialize a local project with manageCloudRun action init, optionally run it locally in Function mode, then deploy with manageCloudRun action deploy using an absolute targetPath and a serverConfig specifying CPU, memory, and access types.

CloudBase Run Function mode vs Container mode: which should I choose?

Function mode fits fast starts, Node.js patterns, streaming APIs, and Agent services, and supports local runs. Container mode requires a Dockerfile and suits custom runtimes, arbitrary languages, or migrated container apps, but has no local run support.

When should I use CloudBase Run instead of cloud functions?

Use CloudBase Run for long-lived connections like WebSocket or SSE, long-running requests, custom system dependencies, or non-Node.js runtimes. Simple event or HTTP function workflows fit the cloud functions model better.

Why does my CloudBase Run service fail after deployment?

Common causes include not listening on the platform-injected PORT, Dockerfile errors in Container mode, or CPU and memory ratios outside the recommended Mem equals 2 times CPU guidance. Check build logs with queryCloudRun action getDeployLog.

How do I reduce cold start latency on CloudBase Run?

Set MinNum to 1 in the deploy serverConfig so at least one instance stays warm. Keeping dependencies small and minimizing startup work also reduces cold-start impact, though MinNum 0 lowers cost at the expense of more cold starts.

Can I run a Container mode service locally with CloudBase tools?

No, local run through manageCloudRun action run is only supported for Function mode services. Container mode services must be deployed to the platform to be tested.