A browser or Web app must upload, download, or manage CloudBase storage objects through @cloudbase/js-sdk.
The request mentions uploadFile, getTempFileURL, deleteFile, or downloadFile in frontend code.
Read before writing code if
The task is browser-side storage work but you still need to separate it from Mini Program storage, backend storage management, or static hosting deployment.
The request may be blocked by security domains or frontend auth.
Then also read
Web login and identity -> ../auth-web/SKILL.md
General Web app setup -> ../web-development/SKILL.md
Direct storage management through MCP tools ->
相關技能
../cloudbase-platform/SKILL.md
Do NOT use for
Mini Program file APIs.
Backend or agent-side direct storage management through MCP.
Static website hosting deployment via uploadFiles.
Database operations.
Common mistakes / gotchas
Uploading from browser code without configuring security domains.
Using this skill for static hosting instead of storage objects.
Mixing browser SDK upload flows with server-side file-management tasks.
Assuming temporary download URLs are permanent links.
Minimal checklist
Confirm the caller is a browser/Web app.
Initialize the Web SDK once.
Check security-domain/CORS requirements.
Pick the right storage method before coding.
Overview
Use this skill for browser-side cloud storage operations through the CloudBase Web SDK.