What problem does it solve?
Object storage URLs often break in production: avatars expire because they use presigned URLs limited to 7 days, public URLs return 403 because the bucket lacks a public-read policy, and upload endpoints accept any file without validation. This Skill prevents these failures by enforcing correct URL strategy selection.
Core Features & Use Cases
- URL Strategy Selection: Decision table mapping resource types (avatars, product images, private documents, upload credentials) to public URL, CDN, or presigned URL with appropriate expiry windows.
- Common Pitfall Detection: Covers six recurring traps including expired presigned URLs on long-lived assets, missing bucket public-read policies, misconfigured CDN origin settings, and duplicated URL-resolution logic scattered across services.
- Secure Upload Validation: Enforces file type and size checks plus UUID-based filenames when issuing presigned upload credentials for direct client uploads.
- Use Case: When building a file upload feature with MinIO, the Skill ensures avatars use public or CDN URLs, temporary exports use presigned URLs with 1-24 hour expiry, and a shared ImageUrlResolver utility centralizes response-layer URL completion.
Quick Start
Ask the AI to review your file upload and download code for object storage URL strategy issues before deploying.