AWS S3 / R2 Storage

Community

Enable safe direct-to-cloud file uploads

AuthorLevironexe
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the common risk and complexity of handling user file uploads by preventing large or unsafe file bytes from passing through your server while still giving your browser a secure way to upload and download objects.

Core Features & Use Cases

  • Pre-signed direct uploads (PUT): Generate time-limited pre-signed URLs so clients can upload straight to S3/R2 without your backend receiving the file bytes.
  • Secure pre-signed downloads (GET): Produce time-limited signed download URLs on demand while storing only the object key in your database.
  • Safety guardrails: Validate MIME types before signing, confirm uploaded objects exist after upload, and centralize the S3 client singleton to avoid unsafe configuration patterns.
  • Use case: You want users to upload profile images (or attachments) from a web app, store only the object key, and serve expiring download links securely even if your bucket/CDN setup changes.

Quick Start

Configure your S3/R2 bucket and allowed MIME types, then ask your coding agent to implement direct browser uploads with pre-signed PUT URLs and server-side confirmation that stores only the S3 object key in your database.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: AWS S3 / R2 Storage
Download link: https://github.com/Levironexe/architect/archive/main.zip#aws-s3-r2-storage

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.