supabase
Database, auth, and backend expertise for Supabase operations in [PROJECT_NAME]
When & Why to Use This Skill
This Claude skill provides comprehensive expertise for Supabase development, specializing in database schema design, SQL migrations, and backend operations. It streamlines the implementation of Row Level Security (RLS) policies and simplifies the debugging of authentication and query performance issues, ensuring a secure and optimized PostgreSQL backend for your projects.
Use Cases
- Database Schema Design & Migrations: Architecting PostgreSQL tables and generating version-controlled SQL migration files to maintain database integrity.
- Security Policy Implementation: Designing and implementing robust Row Level Security (RLS) policies to ensure data privacy and secure access control.
- Authentication Integration: Troubleshooting and debugging Supabase Auth flows to ensure seamless user sign-in and session management.
- Performance Optimization: Analyzing and optimizing database queries and indexing strategies to improve application responsiveness and scalability.
| name | supabase |
|---|---|
| description | Database, auth, and backend expertise for Supabase operations in [PROJECT_NAME] |
| last_updated | 2025-12-21 |
Supabase Skill
Overview
Provides comprehensive expertise for Supabase development in [PROJECT_NAME] including:
- Database schema design and migrations
- Row Level Security (RLS) policy implementation
- Auth integration debugging
- Performance optimization
When To Use
- Creating or modifying database schemas
- Writing database migrations
- Implementing RLS policies
- Debugging Supabase auth or query issues
- Optimizing database performance
Instrumentation
# Log usage when using this skill
./scripts/log-skill.sh "supabase" "manual" "$$"
What do you want to do?
- Create Database Migration → Read
workflows/migration-workflow.md - Design RLS Policies → Read
workflows/rls-policies.md - Debug Supabase Issues → Read
workflows/debugging.md - Design Database Schema → Read
workflows/schema-design.md - Review Best Practices → Read
references/best-practices.md - See Common Patterns → Read
references/common-patterns.md
Quick Reference
Migration Template: templates/migration-template.sql
RLS Template: templates/rls-policy-template.sql
Existing Migrations: backend/migrations/
Supabase Client: lib/supabaseClient.ts