Skip to content

feature: storage agent references#38

Merged
Rodriguespn merged 4 commits intofeature/supabase-skillfrom
feature/storage-agent-references
Feb 13, 2026
Merged

feature: storage agent references#38
Rodriguespn merged 4 commits intofeature/supabase-skillfrom
feature/storage-agent-references

Conversation

@Rodriguespn
Copy link
Collaborator

Summary

Adds 7 Storage reference files covering the complete storage lifecycle:

  • Access Control (storage-access-control): Bucket visibility, Storage RLS on storage.objects, helper functions (storage.filename(), storage.foldername(), storage.extension())
  • Uploads (storage-upload-*): Standard uploads (< 6MB) with upsert and signed URLs, plus TUS resumable uploads for large files
  • Downloads (storage-download-urls): Public URLs via getPublicUrl(), signed URLs for private content
  • Transforms (storage-transform-images): On-the-fly resize, crop, format conversion (2500px/25MB/50MP limits)
  • CDN (storage-cdn-caching): Smart CDN with automatic revalidation and immutable assets pattern
  • File Ops (storage-ops-file-management): Move, copy, delete, list with pagination

Each reference addresses common pain points like "public bucket doesn't mean unrestricted uploads" and "never delete storage files via SQL." Updates SKILL.md, AGENTS.md, and _sections.md.

@Rodriguespn Rodriguespn self-assigned this Feb 9, 2026
@Rodriguespn Rodriguespn added the new-rule Adding a new rule(s) to a skill label Feb 9, 2026
@Rodriguespn Rodriguespn force-pushed the feature/supabase-skill branch from 397502e to d097278 Compare February 10, 2026 19:00
@Rodriguespn Rodriguespn force-pushed the feature/storage-agent-references branch from cfc42fd to e2bda33 Compare February 12, 2026 15:20
@coderabbitai
Copy link

coderabbitai bot commented Feb 12, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (2)
  • !master
  • !main

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/storage-agent-references

Comment @coderabbitai help to get the list of available commands and usage tips.

@Rodriguespn Rodriguespn force-pushed the feature/storage-agent-references branch from e2bda33 to bfb5b7f Compare February 12, 2026 15:23
@Rodriguespn
Copy link
Collaborator Author

Hey Storage team, I've gave this another look by comparing the information from the reference files and our documentation. Below is the changelog report with the changes for each file and the sources I used for each one.


storage-access-control.md — Fixed move operation from SELECT + UPDATE to SELECT + INSERT, fixed remove from SELECT + DELETE to just DELETE, added ::text cast to owner-based access pattern (owner_id = (select auth.uid()::text)).

storage-cdn-caching.md — Added query-string versioning bypass technique (?version=N), clarified cacheControl scope (browser-only with Smart CDN, influences CDN too without it), expanded cf-cache-status values from HIT/MISS to include STALE, REVALIDATED, UPDATING, EXPIRED, BYPASS, DYNAMIC.

storage-ops-file-management.md — Added 1,000-object limit on remove() calls, replaced simple delete folder pattern with recursive version handling nested subfolders and pagination, added 5GB size limit on move() and copy() operations.

storage-upload-resumable.md — Removed unused CreateMultipartUploadCommand import (dead code), fixed S3 Upload constructor to match docs (new Upload(s3, { Bucket, Key, ... }) instead of new Upload({ client, params })).

storage-upload-standard.md — Clarified "up to 60 seconds" CDN stale content figure is Smart CDN (Pro+) specific, removed direct storage hostname tip (documented only for resumable uploads).

storage-transform-images.md — Removed unsupported "may letterbox" claim from contain mode description; docs only state it fits within dimensions keeping aspect ratio.

Fix RLS permission mappings, CDN cache behavior, file management limits,
image transform descriptions, and S3 upload API signatures based on
official Supabase documentation audit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Rodriguespn Rodriguespn changed the base branch from feature/supabase-skill to main February 12, 2026 15:41
@Rodriguespn Rodriguespn changed the base branch from main to feature/supabase-skill February 12, 2026 15:41
@Rodriguespn Rodriguespn merged commit 31f6d92 into feature/supabase-skill Feb 13, 2026
4 checks passed
@Rodriguespn Rodriguespn deleted the feature/storage-agent-references branch February 13, 2026 14:53
Rodriguespn added a commit that referenced this pull request Feb 13, 2026
* rebase and house keeping

* fix: storage reference accuracy after docs review

Fix RLS permission mappings, CDN cache behavior, file management limits,
image transform descriptions, and S3 upload API signatures based on
official Supabase documentation audit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix offset

* fix move and copy instructions

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-rule Adding a new rule(s) to a skill

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants