What problem does it solve?
This Skill simplifies the creation and management of Cloudflare R2 object storage configurations, enabling efficient and cost-effective storage and retrieval of data with S3 compatibility and zero egress fees.
Core Features & Use Cases
- R2 Bucket Creation & Configuration: Automate the setup of R2 buckets with S3 compatibility, lifecycle rules, and access controls.
- Worker Bindings & S3 API Integration: Generate code for integrating R2 with Cloudflare Workers or using standard S3 SDKs.
- Public Access & Custom Domains: Configure public access through r2.dev or custom domains for serving assets.
- Use Case: You need to store user-uploaded images for a web application. This Skill helps you set up a Cloudflare R2 bucket, configure it for public access via a custom domain, and provides example Worker code to handle uploads and downloads efficiently.
Quick Start
Use the cf-r2 skill to generate a Cloudflare R2 bucket configuration for storing user media files with S3 compatibility.