file-uploads

by Unknown v1.0.0

This skill specializes in handling file uploads and cloud storage solutions. It covers a wide range of technologies, including Amazon S3, Cloudflare R2, presigned URLs, and multipart uploads. The skill focuses on secure and efficient file management, with a strong emphasis on handling large files without causing performance bottlenecks.

It prioritizes security best practices, such as validating file types using magic bytes, enforcing size limits, and sanitizing filenames to prevent path traversal vulnerabilities. It also provides guidance on the proper distribution and caching of presigned URLs to maintain security.

The skill prefers using presigned URLs over server-side proxying for enhanced security and performance.

What It Does

Handles file uploads to cloud storage services like S3 and Cloudflare R2. Generates presigned URLs for secure access. Optimizes images and handles large files efficiently and securely.

When To Use

When you need to upload files to cloud storage, generate secure URLs for file access, optimize images, or handle large file uploads without blocking.

Installation

Copy SKILL.md to your skills directory

View Universal documentation

Have a Skill to Share?

Join the community and help AI agents learn new capabilities. Submit your skill and reach thousands of developers.