cloudbase-platform

Guides CloudBase capability selection, console navigation, and platform-level best practices.

Updated May 14, 2026
One-click install
npx skills add https://github.com/study-yang/Vieb-Coding-- --skill cloudbase-platform-study-yang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudbase-platform
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/cloudbase-platform
Command: npx skills add https://github.com/study-yang/Vieb-Coding-- --skill cloudbase-platform-study-yang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Choosing the right CloudBase capability is confusing when a project could involve hosting, storage, authentication, cloud functions, or databases. This Skill provides a routing layer that explains platform concepts, cross-platform differences, and console navigation so you pick the correct implementation path before writing code. ## Core Features & Use Cases - Capability Routing: Directs you to the right specialized skill for web development, mini program development, auth, cloud functions, NoSQL/MySQL databases, or cloud storage. - Platform Knowledge: Explains critical distinctions such as Web vs Mini Program authentication, security domains vs custom domains, static hosting vs cloud storage, and database permission models. - Console Navigation: Provides ready-to-use CloudBase console URLs for functions, databases, storage, identity, hosting, and monitoring, parameterized by environment ID. - Use Case: You are starting a WeChat mini program backed by CloudBase and are unsure whether to use cloud functions, the document database, or data models. This Skill clarifies the options, warns that mini programs are naturally login-free, and routes you to the miniprogram-development skill. ## Quick Start Ask which CloudBase service fits your project, for example: "Which CloudBase capability should I use to store user avatars and serve them publicly?"

Frequently Asked Questions about cloudbase-platform

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

FAQPage Schema
How do I choose between CloudBase static hosting and cloud storage?

Static hosting suits publicly accessible files and provides a public web address with custom domain support. Cloud storage fits private files accessed via temporary signed URLs, and permanent public URLs require the storage CDN domain from envQuery plus public-read bucket ACL.

What is the difference between CloudBase security domains and custom domains?

Security domains are managed with envDomainManagement for CORS and browser upload source validation, with no certificate involved. Custom domains use manageGateway bindCustomDomain for public HTTPS access and require a domain plus certificateId from the SSL console.

Does CloudBase Mini Program development require a login flow?

No. Mini program CloudBase is naturally login-free, so you should not generate login pages or login flow code. In cloud functions, identify users via wxContext.OPENID from wx-server-sdk and manage user data based on that openid.

Why can't the CloudBase Web SDK write to a collection with ADMINWRITE permission?

ADMINWRITE and ADMINONLY restrict writes to admin contexts, so Web SDK client writes fail under them. For user-generated content in Web apps use CUSTOM rules with auth checks, and use READONLY for admin-managed data.

How do I get the permanent public URL for a CloudBase storage file?

Call envQuery action info and read the CDN domain from EnvInfo.Storages[0].CdnDomain, then build https://{CdnDomain}/{cloudPath}. The temporaryUrl returned by upload or queryStorage expires and must not be used as a permanent link.

When should I not use this CloudBase platform overview skill?

Skip it when the implementation target is already clear, such as writing web pages, auth flows, cloud functions, or database operations covered by a specialized skill. It is also unnecessary in existing applications where the active auth, storage, and data files are already identifiable.