files-and-media-engineering
Installation
SKILL.md
Files & Media Engineering
Use this skill when
- Designing upload APIs and storage
- Processing images, video, and documents
- Security of uploads and serving
Do not use this skill when
- Generic web CRUD
Instructions
- Validate file types server-side by content, not extension/MIME only.
- Cap upload sizes, rate-limit, and antivirus-scan.
- Store on object storage; generate secure signed URLs.
- Process media asynchronously (resize, transcode) with a queue.
- Serve via CDN with proper content-type and range support.
- Keep filenames sanitized and never trust client paths.
- Enforce permissions when serving user media.