Handles the full stack of file uploads from client to cloud storage, with a focus on S3 and Cloudflare R2. You'll want this when you're dealing with presigned URLs, multipart uploads for large files, or image optimization pipelines. The sharp edges table is the real value here: it calls out the critical security mistakes like trusting file extensions instead of checking magic bytes, and warns against path traversal via unsanitized filenames. It's opinionated about keeping uploads off your main server and using presigned URLs instead of proxying, which is the right call for anything handling real traffic.

skills.sh installs
268
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Category
Cloud & Infrastructure
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1kcchien avatarclawpilotkcchien/clawpilotExpert skill for OpenClaw (v2026.2.19) — self-hosted AI gateway connecting chat apps (WhatsApp, Telegram, Discord, Slack, iMessage, Signal, LINE, Matrix, Teams,264skills.sh installs
2pedronauck avatardevops-engineerpedronauck/skillsCreates Dockerfiles, configures CI/CD pipelines, writes Kubernetes manifests, and generates Terraform/Pulumi infrastructure templates. Handles deployment automa264skills.sh installs
3cinience avataralicloud-platform-multicloud-docs-api-benchmarkcinience/alicloud-skillsBenchmark similar product documentation and API documentation across Alibaba Cloud, AWS, Azure, GCP, Tencent Cloud, Volcano Engine, and Huawei Cloud. Given one 260skills.sh installs
4tech-leads-club avatarexcalidraw-studiotech-leads-club/agent-skillsGenerate Excalidraw diagrams from natural language descriptions. Outputs .excalidraw JSON files openable in Excalidraw. Use when asked to "create a diagram", "m251skills.sh installs
5huggingface avatarhugging-face-clihuggingface/skillsExecute Hugging Face Hub operations using the `hf` CLI. Use when the user needs to download models/datasets/spaces, upload files to Hub repositories, create rep249skills.sh installs
6awslabs avatardeployawslabs/agent-pluginsDeploy applications to AWS. Triggers on phrases like: deploy to AWS, host on AWS, run this on AWS, AWS architecture, estimate AWS cost, generate infrastructure.240skills.sh installs