← Back to list

supabase
by FullFran
⭐ 0🍴 0📅 Jan 23, 2026
SKILL.md
name: supabase description: Expert guidance on Supabase/PostgreSQL implementation for RAG, including pgvector semantic search and full-text search.
Supabase & PostgreSQL Expert Skill
This skill provides patterns for implementing RAG logic with Supabase and the pgvector extension.
📂 Storage Pattern (Postgres)
- Tables:
documents: Stores source document text and global metadata.chunks: Stores text fragments,embedding(vector), and a foreign keydocument_id(UUID).
- Relationships: Ensure a foreign key relationship with
ON DELETE CASCADEfromchunkstodocumentsfor clean deletions.
🔍 Search Patterns
-
Semantic Search (pgvector):
- Assumes a stored procedure
match_chunksexists in the database. - Parameters:
query_embedding(vector),match_threshold(float),match_count(int). - Use
self.client.rpc("match_chunks", rpc_params).execute().
- Assumes a stored procedure
-
Text Search (WFTS):
- Use Postgres full-text search capabilities.
- Pattern:
self.client.table("chunks").select("...").filter("content", "wfts", query).range(0, limit - 1).execute().
🛠️ Code Standards
- Client: Use the
supabasePython library (create_client). - UUIDs: PostgreSQL IDs are typically UUIDs (strings in Python).
- Error Handling: Verify that the
match_chunksRPC is properly defined in the database schema before use. - Config: The
thresholdfor semantic matches is usually configurable in the repository's__init__.
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon