What problem does it solve?
This Skill provides a comprehensive guide for managing Supabase Storage, including buckets, objects, access controls, URL generation, and image transformations, enabling teams to securely store and serve assets with minimal boilerplate.
Core Features & Use Cases
- Bucket management: create and configure public or private buckets with size limits and MIME-type controls.
- File operations: upload, download, list, move, copy, and delete files, plus resumable uploads.
- URL generation & access: generate public URLs, signed URLs, and signed upload URLs for controlled access.
- Security & policies: implement Row Level Security (RLS) policies and edge-function-backed access control.
- Image transformations: apply on-the-fly image processing to reduce storage needs.
- Helpers: utilize utility functions like storage.foldername(name) and storage.extension(name) for path parsing.
- Best practices: guidance on security, performance, and organization.
Quick Start
Create a public bucket named "avatars", upload a sample image, and generate a public URL and a signed URL to verify access.