‹ 首页

cloud-storage-web

@tencentcloudbase · 收录于 5 天前 · 上游提交 5 天前

Complete guide for CloudBase cloud storage using Web SDK (@cloudbase/js-sdk) - upload, download, temporary URLs, file management, and best practices.

适合你,如果正在开发 Web 应用并需要集成云存储功能

/ 通过 npx 安装 校验哈希
npx oh-my-skill add tencentcloudbase/awesome-cloudbase-examples/cloud-storage-web
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- tencentcloudbase/awesome-cloudbase-examples/cloud-storage-web
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify tencentcloudbase/awesome-cloudbase-examples/cloud-storage-web
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
414GitHub stars
~3.5K上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 f73377e · 表述以原文为准
它做什么

安装此技能后,Claude 将基于 CloudBase Web SDK (@cloudbase/js-sdk) 指导浏览器端的云存储操作,包括上传、下载、生成临时 URL 和删除文件。它会帮你检查安全域名、存储桶是否存在、区分 PG 和 NoSQL 模式,并给出代码示例和常见错误处理。

什么时候触发

当你请求在前端代码中调用 uploadFile、getTempFileURL、deleteFile 或 downloadFile 等 CloudBase 存储 API 时触发。也适用于需要区分浏览器端存储与小程序、后端存储或静态托管的场景。

装好后可以这样说
Claude 会给出浏览器端上传的代码示例和配置步骤。
Claude 会指导你检查存储桶是否存在并创建。

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。