S claudeskill.wiki
security

file-uploads

Эксперт в работе с загрузкой файлов и облачным хранилищем. Охватывает S3, Cloudflare R2, предварительно подписанные URL, многокомпонентные загрузки и оптимизацию изображений. Знает, как обрабатывать большие файлы без блокировок. Используется при: загрузке файлов, S3, R2, предварительно подписанном URL, многокомпонентной загрузке.

78

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

Установка

npx claude-code-templates@latest --skill security/file-uploads

Quick start

  1. Install Claude Code if you have not already.
  2. Copy the Install command from this page and run it in your project directory.
  3. In Claude Code, load or mention the skill when your task matches what the skill is for.

Documentation

Use the links below for agent skills, troubleshooting, and official examples.

Материалы