cloud-storage-web
Complete guide for CloudBase cloud storage using Web SDK (@cloudbase/js-sdk) - upload, download, temporary URLs, file management, and best practices.
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill cloud-storage-web --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
## Standalone Install Note If this environment only installed the current skill, start from the CloudBase main entry and use the published `cloudbase/references/...` paths for sibling skills. - CloudBase main entry: `https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/SKILL.md` - Current skill raw source: `https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/references/cloud-storage-web/SKILL.md` Keep local `references/...` paths for files that ship with the current skill directory. When this file points to a sibling skill such as `auth-tool-cloudbase` or `web-development`, use the standalone fallback URL shown next to that reference. # Cloud Storage Web SDK ## Activation Contract ### Use this first when - 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. - Th
- Standalone Install Note
- Activation Contract
- Use this first when
- Read before writing code if
- Then also read
- Do NOT use for
- Common mistakes / gotchas
- Minimal checklist
- Local dev recipe
- Bucket existence prerequisite (mandatory before any upload code)
- ⚠️ PG mode upload: use app.storage.from('bucket'), NOT app.uploadFile()
- Post-bucket: storage RLS (mandatory in PG / pgstore environments)
- Overview
- SDK initialization
What does the cloud-storage-web skill do?
Complete guide for CloudBase cloud storage using Web SDK (@cloudbase/js-sdk) - upload, download, temporary URLs, file management, and best practices.
How do I install it?
Run `npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill cloud-storage-web --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From TencentCloudBase/CloudBase-AI-Toolkit, a repository with 1,066 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
