file-storage-standard

Provision AWS S3 storage with pre-signed URLs, CloudFront CDN, and multipart uploads.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/imaginationeverywhere/clara-code --skill file-storage-standard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: file-storage-standard
Source: https://github.com/imaginationeverywhere/clara-code/tree/main/.cursor/skills/file-storage-standard
Command: npx skills add https://github.com/imaginationeverywhere/clara-code --skill file-storage-standard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides production-grade AWS S3 file storage patterns to securely upload, store, and deliver files with tenant isolation, pre-signed URLs, and CDN delivery.

Core Features & Use Cases

  • Pre-signed URLs for direct browser uploads with Content-Type and size validation.
  • CloudFront CDN for fast, cached file delivery with per-file access control.
  • Multipart uploads for large files with robust lifecycle and metadata management.
  • Tenant-scoped storage and lifecycle rules to support multi-tenant applications.

Quick Start

Configure the S3 bucket, CloudFront distribution, and FileStorageService to enable secure file uploads and CDN-backed delivery.

Frequently Asked Questions about file-storage-standard

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate S3 presigned URLs for direct browser uploads with MIME and size validation?

S3 presigned URLs enable direct browser uploads by embedding Content-Type and file size constraints into the signed request. The server generates these URLs to enforce MIME type validation and strict size limits before the upload reaches the S3 bucket.

What is the best way to isolate S3 file storage in a multi-tenant application?

Multi-tenant S3 storage isolation is achieved using tenant-scoped key prefixes for every uploaded file. This pattern ensures each tenant's files are logically separated within the bucket, while server-side metadata enforces access control per file.

How does CloudFront CDN handle per-file access control for S3 downloads?

CloudFront CDN delivery uses per-file metadata to determine access control before serving cached files. The distribution integrates with S3 bucket policies to ensure only authorized users can download files through the CDN edge locations.

Can I use multipart upload with S3 presigned URLs for large files?

Multipart upload workflows are fully supported for large files alongside presigned URLs. The server-side logic manages the multipart lifecycle, allowing robust chunked uploads to S3 while maintaining metadata and access control.

Do I need CloudFront to deliver files from an S3 bucket?

CloudFront is not strictly required for S3 delivery but is configured for fast, cached file access. Using the CDN reduces direct S3 fetch latency and provides edge delivery while maintaining per-file access control.

What S3 bucket policies are needed for tenant-scoped file storage?

S3 bucket policies for tenant isolation must restrict access based on tenant-scoped key prefixes and per-file metadata. The configuration enforces server-side validation, lifecycle rules, and secure delivery through CloudFront distributions.