cloud-tencent-cos
npx machina-cli add skill partme-ai/full-stack-skills/cloud-tencent-cos --openclawFiles (1)
SKILL.md
688 B
When to use this skill
Use this skill whenever the user wants to:
- [待完善:根据具体工具添加使用场景]
How to use this skill
[待完善:根据具体工具添加使用指南]
Best Practices
[待完善:根据具体工具添加最佳实践]
Keywords
[待完善:根据具体工具添加关键词]
Source
git clone https://github.com/partme-ai/full-stack-skills/blob/main/skills/cloud-tencent-cos/SKILL.mdView on GitHub Overview
Provides comprehensive guidance for using Tencent Cloud COS, covering bucket creation, object storage, access control, and overall COS management. This skill helps you store files in COS, configure secure buckets, and integrate Tencent Cloud storage into applications.
How This Skill Works
Key COS concepts include buckets, objects, ACLs, and policies. It guides you through creating buckets, uploading objects, configuring access controls, enabling versioning, and applying lifecycle rules, using the Console or SDKs.
When to Use It
- Store and manage files for web and mobile apps in Tencent Cloud COS.
- Create and configure COS buckets with appropriate ACLs and policies.
- Integrate COS with applications using official SDKs (Java, Python, Node.js, etc.).
- Implement data lifecycle, versioning, and retention strategies for COS.
- Troubleshoot access, permissions, or upload/download issues in COS.
Quick Start
- Step 1: Create a bucket in the COS Console or via SDK.
- Step 2: Upload an object and set the desired access permissions (ACLs or bucket policies).
- Step 3: Generate a presigned URL or configure a lifecycle rule to manage data.
Best Practices
- Use least-privilege IAM roles and bucket policies.
- Enable object versioning to recover from accidental deletions.
- Choose your bucket region and endpoint carefully to reduce latency.
- Utilize presigned URLs for secure client-side uploads and downloads.
- Enable access logs and monitor COS metrics for usage and errors.
Example Use Cases
- Host static website assets or media in COS for scalable delivery.
- Back up application logs or backups to COS for durable storage.
- Store user-uploaded files with proper access controls and temporary URLs.
- Rotate and manage old files with lifecycle rules to optimize costs.
- Deliver assets via CDN after storing them in COS for fast global access.
Frequently Asked Questions
Add this skill to your agents