# Manage CloudBase Web Storage

Browser storage workflows can fail when buckets, domains, or access rules are incomplete. This skill guides CloudBase Web SDK uploads, downloads, temporary URLs, and environment checks.

## Install

```bash
npx skillstore add tencentcloudbase/cloud-storage-web
```

## Metadata

- Status: approved
- Slug: tencentcloudbase-cloud-storage-web
- Version: 2.23.8
- Author version: 2.23.8
- Skillstore revision: r1
- Version status: valid
- Tree hash: 8f8a2373f6bc2f8489aa390a12761443c762faa623975c80ed6b8883beb4111c
- Author: tencentcloudbase
- GitHub username: tencentcloudbase
- License: MIT
- Repository: https://github.com/tencentcloudbase/skills/tree/main/skills/cloud-storage-web
- Ref: 24b2fe42a456262f3fd0fb3df72e12d9ed2c32ec
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network, filesystem
- Quality score: 80
- Quality tier: silver
- Public page: https://skillstore.pages.dev/skills/tencentcloudbase-cloud-storage-web
- Manifest: https://skillstore.pages.dev/api/skills/tencentcloudbase-cloud-storage-web/manifest

## Capabilities

- Shows when to use CloudBase Web SDK storage methods for browser apps.
- Explains upload, temporary URL, delete, and download flows.
- Distinguishes PG storage buckets from legacy CloudBase storage paths.
- Describes security-domain checks for local and hosted browser origins.
- Provides error-handling guidance for missing buckets and failed uploads.

## Use Cases

- Add Browser Uploads: Implement a Web SDK upload flow that stores files and returns a usable preview URL.
- Diagnose Storage Setup: Check missing buckets, security domains, and upload errors before changing application code.
- Plan PG Storage Access: Configure PG storage bucket usage and RLS expectations for authenticated browser users.

## Prompt Templates

### Upload A File

```
Use CloudBase Web SDK to upload a selected browser file. Include the setup checks I need before testing.
```

### Preview An Uploaded File

```
Build a CloudBase browser upload flow that resolves a temporary preview URL after the upload succeeds.
```

### Fix Upload Failures

```
Diagnose my CloudBase Web SDK upload failure. Check bucket existence, security domains, and the correct API for my storage mode.
```

### Design PG Storage Rules

```
Plan a CloudBase PG storage browser workflow with bucket naming, authenticated uploads, signed URLs, and RLS policy considerations.
```

## Limitations

- It does not replace CloudBase product documentation or console permissions.
- It does not create buckets, domains, or RLS policies by itself.
- It focuses on browser-side storage, not backend batch storage management.
- It assumes the user can access the correct CloudBase environment.

## Best Practices

- Confirm the storage bucket and browser security domain before testing uploads.
- Use temporary URLs instead of constructing public links by hand.
- Reject the parent workflow when an upload fails.

## Anti Patterns

- Do not fabricate a file URL after a failed upload.
- Do not use legacy NoSQL upload methods for PG storage buckets.
- Do not assume a fixed local development port is already trusted.

## Security Audit

- Audited at: 2026-07-09T15:37:30.417\+00:00
- Summary: All static findings were reviewed against SKILL.md context and adjudicated as false positives. The matches are Markdown code spans, documentation URLs, local-origin examples, relative skill references, or setup guidance rather than executable code or malicious intent.

## Stats

- Views: 1
- Downloads: 5
- Favorites: 1
- Popularity score: 0
