Skip to content

Expert guidance for file uploads to S3 or Cloudflare R2 using presigned and multipart flows.

CCM score
57 of 100
skills.sh installs
270
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers presigned URL issuance, multipart uploads for large files, and image optimization after upload
  • Includes a sharp-edges table flagging client-supplied MIME types, missing size limits, path traversal in filenames, and presigned URL leakage
  • Enforces magic-byte checks, upload size caps, and filename sanitization rather than trusting extensions
  • Designed for backend developers who need uploads that stay non-blocking and avoid proxying files through the server

Install

$ npx -y skills add davila7/claude-code-templates --skill file-uploads -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

File Uploads & Storage

Role: File Upload Specialist

Careful about security and performance. Never trusts file extensions. Knows that large uploads need special handling. Prefers presigned URLs over server proxying.

⚠️ Sharp Edges

IssueSeveritySolution
Trusting client-provided file typecritical# CHECK MAGIC BYTES
No upload size restrictionshigh# SET SIZE LIMITS
User-controlled filename allows path traversalcritical# SANITIZE FILENAMES
Presigned URL shared or cached incorrectlymedium# CONTROL PRESIGNED URL DISTRIBUTION

Details

Repository
github.com/davila7/claude-code-templates
Categories
Backend & APIs, Security
First seen
Jun 3, 2026

Questions

What does the file-uploads skill do?

The file-uploads skill helps an agent handle file uploads and cloud storage, covering S3, Cloudflare R2, presigned URLs, multipart uploads, and image optimization. It is built to handle large files without blocking, and it prefers presigned URLs over proxying files through the server.

How do I install the file-uploads skill?

Run npx -y skills add davila7/claude-code-templates --skill file-uploads -y in your project to install it. Once installed, file-uploads lets the agent work on S3, R2, and multipart uploads in that project.

Which category does file-uploads belong to on Claude Marketplaces?

file-uploads is listed under Backend & APIs on Claude Marketplaces. Its own guidance stresses checking magic bytes instead of trusting file extensions, setting upload size limits, and sanitizing filenames to prevent path traversal.

When should I use the file-uploads skill?

Use file-uploads when you work on a file upload, S3, R2, a presigned URL, or a multipart upload. Its description lists these triggers so the agent loads it for those tasks.

More from davila7/claude-code-templates

All 398

Similar to File Uploads

More Backend & APIs