cloudrun-development
CloudBase Run backend development rules (Function mode/Container mode). Use this skill when deploying backend services that require long connections, multi-language support, custom environments, or AI agent development.
Security Assessment
About cloudrun-development
The 'cloudrun-development' skill provides backend development capabilities for CloudBase Run, specifically designed for deploying services that require long-running connections, custom runtime environments, and multi-language support. It is tailored for both function-based and container-based services, enabling users to create scalable, persistent services that can be optimized for various system dependencies and resource configurations. This skill is especially useful when handling tasks that are unsuitable for traditional cloud functions, such as long connections or background jobs, and offers flexibility in choosing the right environment for your specific development needs.
This skill comes with the flexibility of two modes: Function mode and Container mode. Function mode allows for quick setup and provides built-in support for HTTP, WebSocket, and SSE protocols, making it ideal for fast development with fixed configurations. Container mode offers a more customized environment where users can deploy services in any language, with support for Docker-based containers, though it lacks local running support. The skill also focuses on resource management, ensuring that memory and CPU resources are optimally allocated, and provides detailed guidelines for access control and dependency management.
The 'cloudrun-development' skill is designed for developers building backend services with long-lasting connections or multi-language support, such as those requiring WebSocket or Server-Sent Events (SSE). It is suitable for AI agent development, scalable service deployment, and building custom runtimes. Ideal users include backend developers, AI engineers, and teams needing stable, scalable backend services that integrate with various languages and frameworks like Java, Python, Node.js, and more.
FAQ
What is the difference between Function mode and Container mode?
Function mode is faster to set up, with built-in support for HTTP/WebSocket/SSE and a fixed port (3000), and allows for local execution. Container mode, on the other hand, supports any language and runtime and requires a Dockerfile but does not support local running.
Can I use this skill for frontend development?
No, this skill is specifically for backend service development. It is not intended for frontend applications.
What are the resource constraints for deploying a service with CloudBase Run?
The memory allocated should be twice the CPU resources (e.g., for 0.25 vCPU, you should allocate 0.5 GB of memory).
Is there support for multi-language frameworks with this skill?
Yes, the skill supports multi-language frameworks, including Java, Go, PHP, .NET, Python, Node.js, and more.
What should I do if I need to deploy a service with persistent background processes?
This skill is designed for stateless services. For services requiring persistent background processes, consider using Cloud Functions or other backend solutions instead.
Install cloudrun-development
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
TencentCloudBase/CloudBase-MCP