cloud-storage-web

Manage CloudBase cloud storage file uploads, downloads, temporary URLs, and deletions via the Web SDK.

1|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/jngong-collab/miniapp-growth-v2-open --skill cloud-storage-web-jngong-collab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloud-storage-web
Source: https://github.com/jngong-collab/miniapp-growth-v2-open/tree/main/.trae/skills/cloudbase/references/cloud-storage-web
Command: npx skills add https://github.com/jngong-collab/miniapp-growth-v2-open --skill cloud-storage-web-jngong-collab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @cloudbase/js-sdk, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the complexity of working with CloudBase cloud storage in web applications by providing a comprehensive guide and simple SDK commands for file upload, download, and management.

Core Features & Use Cases

  • Upload and Download Files: Easily upload files from the browser to CloudBase storage and download them back to the local browser.
  • Temporary URLs: Generate temporary URLs for private file access with expiration control.
  • File Management: Perform file deletion and management operations efficiently.
  • Use Case: For a web application that requires a robust file storage system with secure access controls, this skill can be used to manage user-uploaded files, such as profile pictures or documents.

Quick Start

To upload a file to CloudBase storage using this skill, run the command: uploadFile('folder/filename.jpg', fileInput.files[0]).

Frequently Asked Questions about cloud-storage-web

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

FAQPage Schema
How do I upload and download files to CloudBase storage from a web application?

To upload and download files to CloudBase storage in a web application, use the Web SDK commands like `uploadFile` for pushing browser files to storage and the corresponding download command to retrieve them locally.

Can I generate temporary URLs for private files stored in CloudBase?

Yes, you can generate temporary URLs for private CloudBase files. This mechanism provides secure file access with expiration control, allowing web applications to grant time-limited access to private documents or images without exposing them publicly.

Does the CloudBase Web SDK handle CORS and file path validation for browser file management?

Yes, the CloudBase Web SDK handles CORS and file path validation for browser file management. It is specifically designed to manage web application file operations securely, ensuring cross-origin requests and file paths are processed with built-in validation.

What is the best way to delete user-uploaded files in CloudBase from a web application?

The best way to delete user-uploaded files in CloudBase from a web application is using the Web SDK's deletion command. This approach efficiently performs file management operations, securely removing target files based on validated file paths.

Do I need the @cloudbase/js-sdk dependency to manage cloud storage in my web app?

Yes, you need the `@cloudbase/js-sdk` dependency to manage cloud storage in your web app. This package provides the core SDK commands required to execute file upload, download, temporary URL generation, and deletion operations.