feat: supabase db references#17
Merged
Rodriguespn merged 2 commits intofeature/supabase-skillfrom Jan 27, 2026
Merged
Conversation
bdc02f2 to
ec1c963
Compare
9cab06c to
803e968
Compare
ec1c963 to
fb2e38b
Compare
samrose
approved these changes
Jan 27, 2026
fb2e38b to
c52ca28
Compare
803e968 to
f856e34
Compare
Move all database reference files to references/db/ to organize by product area and take advantage of the new subdirectory support in the build system. Co-Authored-By: Claude Opus 4.5 <[email protected]>
5c43b10 to
9919eab
Compare
Rodriguespn
added a commit
that referenced
this pull request
Jan 28, 2026
* feat: supabase db references * refactor: move database references to db subdirectory Move all database reference files to references/db/ to organize by product area and take advantage of the new subdirectory support in the build system. Co-Authored-By: Claude Opus 4.5 <[email protected]> --------- Co-authored-by: Claude Opus 4.5 <[email protected]>
Rodriguespn
added a commit
that referenced
this pull request
Jan 28, 2026
* feat: supabase db references * refactor: move database references to db subdirectory Move all database reference files to references/db/ to organize by product area and take advantage of the new subdirectory support in the build system. Co-Authored-By: Claude Opus 4.5 <[email protected]> --------- Co-authored-by: Claude Opus 4.5 <[email protected]>
Rodriguespn
added a commit
that referenced
this pull request
Jan 30, 2026
* feat: supabase db references * refactor: move database references to db subdirectory Move all database reference files to references/db/ to organize by product area and take advantage of the new subdirectory support in the build system. Co-Authored-By: Claude Opus 4.5 <[email protected]> --------- Co-authored-by: Claude Opus 4.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce?
New skill references for Supabase database management and best practices.
What is the current behavior?
No existing reference files for database-specific topics in the Supabase skill. The skill structure and build system were recently established, but database references had not yet been implemented.
What is the new behavior?
Comprehensive database guidance organized into six focused categories covering the most critical aspects of working with Supabase's PostgreSQL database.
Reference Structure
The database references are organized into six categories: Row Level Security (RLS), Connection Pooling, Schema Design, Migrations, Performance, and Security.
Row Level Security (RLS)
Connection Pooling
Schema Design
Migrations
supabase db resetsupabase db diffPerformance
Security
Key Topics Covered
supabase db resetbefore production deploymentSources
Documentation and references consulted:
Design Decisions
Common mistakes emphasis: Each reference file uses an "Incorrect/Correct" pattern showing anti-patterns first, then the proper solution. This pattern was chosen because agents frequently need to help users debug existing code, and seeing common mistakes helps them identify issues faster. The incorrect examples are concrete and represent real production issues observed in Supabase projects.
Supabase-specific focus: Intentionally excluded generic PostgreSQL guidance that Claude already knows (like basic SELECT queries or standard table creation). Instead, focused exclusively on Supabase-specific patterns like auth.uid() usage, Supavisor configuration, and Supabase CLI workflows. This maximizes the value-per-token of each reference.