Implements secure, high-performance file uploads and cloud storage workflows using best practices for S3, Cloudflare R2, and multipart handling.
This skill equips Claude with specialized knowledge for implementing robust file upload systems and cloud storage integrations. It focuses heavily on security and performance, covering critical areas such as magic byte validation to prevent malicious uploads, filename sanitization to stop path traversal attacks, and the use of presigned URLs for efficient, direct-to-cloud storage. Whether you are building a simple image uploader or a complex multipart system for massive files, this skill ensures your implementation follows industry-standard patterns for S3-compatible storage providers.
Key Features
01Secure S3 and Cloudflare R2 cloud storage integration
02Advanced file validation using magic bytes instead of extensions
03Implementation of multipart uploads for large file handling
04Security patterns for path traversal prevention and size limits
05Presigned URL implementation for direct-to-cloud uploads
0631,722 GitHub stars
Use Cases
01Building a secure user profile picture upload system with image optimization
02Implementing large video or document uploads using streaming and multipart parts
03Architecting private file storage access via temporary presigned URLs