AWS S3 Storage (Python)
CommunityEnable secure direct-to-S3 uploads with safety checks
Software Engineering#boto3#aws s3#mime validation#direct upload#object key storage#pre-signed urls#pytest moto
AuthorLevironexe
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents risky or inefficient file handling by standardizing a secure, scalable pattern for storing user-uploaded files in AWS S3 from a Python backend.
Core Features & Use Cases
- Direct browser uploads with pre-signed URLs: Generates pre-signed PUT URLs for uploading and pre-signed GET URLs for downloads without proxying file bytes through your server.
- MIME allowlist validation and key-first persistence: Validates allowed MIME types before signing and stores only the S3 object key in your database, generating signed download URLs on-demand.
- Upload confirmation for integrity: Requires a follow-up confirm call where the server verifies the object exists in S3 (via head_object) before persisting the key.
Quick Start
Implement presign endpoints that return a signed upload URL and an object key after validating MIME type, then implement a confirm endpoint that verifies the key exists in S3 before saving it in your database.
Dependency Matrix
Required Modules
None requiredComponents
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 Storage (Python) Download link: https://github.com/Levironexe/architect/archive/main.zip#aws-s3-storage-python Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.