File Uploads
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
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 -yInstalls 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
| Issue | Severity | Solution |
|---|---|---|
| Trusting client-provided file type | critical | # CHECK MAGIC BYTES |
| No upload size restrictions | high | # SET SIZE LIMITS |
| User-controlled filename allows path traversal | critical | # SANITIZE FILENAMES |
| Presigned URL shared or cached incorrectly | medium | # 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- Uniprot Database269
- Ethical Hacking Methodology266
- Simpy265
- Concise Planning264
- Metabolomics Workbench Database264
- Pentest Commands264
- Diffdock262
- Clinpgx Database261
- Tavily Web261
- Geo Fundamentals259
- Gget259
- Shopify Apps255
- String Database255
- Clinvar Database254
- Reactome Database252
- Postgres Schema Design251
- Core Components249
- Scvi Tools249
- Obsidian Clipper Template Creator247
- PDF Processing247
- Dask246
- Denario246
- Ensembl Database246
- Graphql245
Similar to File Uploads
More Backend & APIserror-handling-standardizerpatricio0312rev/skills270 installsCreates consistent error handling with custom error classes, HTTP status mapping, structured logging, safe client messages, and error taxonomy. Use when standar
nginx-c-module-perfpproenca/dot-skills270 installsnginx C module performance optimization and reliability guidelines based on the official nginx development guide. This skill should be used when optimizing ngin
resend-webhookshookdeck/webhook-skills267 installsReceive and verify Resend webhooks. Use when setting up Resend webhook handlers, debugging signature verification, handling email events like email.sent, email.
neon-authneondatabase/ai-rules266 installsneon auth
django-rest-frameworkthebushidocollective/han266 installsUse when Django REST Framework for building APIs with serializers, viewsets, and authentication. Use when creating RESTful APIs.
microsoft-graphmarkpitt/claude-skills265 installsOrchestration hub for Microsoft Graph API across Microsoft 365 services. Use for Graph API integrations, querying Microsoft 365 data, and building applications