← Back to list

supabase
by Acurioustractor
Empathy Ledger: Indigenous Cultural Storytelling Platform - Clean architecture with cultural protocols, multi-tenant Supabase, and AI safety
⭐ 0🍴 0📅 Jan 21, 2026
SKILL.md
name: supabase description: Navigate Supabase database tables, relationships, and query patterns. Schema reference for Empathy Ledger.
Supabase Database
Navigate and query the Empathy Ledger Supabase database.
When to Use
- Understanding table relationships
- Writing database queries
- Finding the right data source
- Checking schema structure
Quick Relationship Map
tenants
└── profiles → storytellers → stories → transcripts
↓
transcript_analysis_results
↓
narrative_themes + extracted_quotes
Core Tables
Storytelling
| Table | Purpose |
|---|---|
storytellers | Storyteller personas (canonical) |
stories | Core content |
transcripts | Audio/text transcriptions |
Analysis
| Table | Purpose |
|---|---|
transcript_analysis_results | Versioned AI analysis |
narrative_themes | AI-extracted themes |
knowledge_chunks | RAG embeddings (22k+) |
Multi-Tenant
| Table | Purpose |
|---|---|
tenants | Top-level isolation |
profiles | User accounts |
organisations | Community groups |
Common Queries
-- Storyteller with story count
SELECT st.*, COUNT(s.id) as story_count
FROM storytellers st
LEFT JOIN stories s ON s.storyteller_id = st.id
GROUP BY st.id;
-- Stories by theme
SELECT * FROM stories
WHERE 'healing' = ANY(cultural_themes);
-- Theme frequency
SELECT unnest(cultural_themes) as theme, COUNT(*)
FROM stories WHERE status = 'published'
GROUP BY theme ORDER BY count DESC;
Reference Files
| Topic | File |
|---|---|
| Full table list | refs/tables.md |
| Relationship diagram | refs/relationship-diagram.md |
Related Skills
supabase-connection- Database clientssupabase-deployment- Migrationsdatabase-navigator- Schema exploration
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon