supabase

salavender's avatarfrom salavender

Database, auth, and backend expertise for Supabase operations in [PROJECT_NAME]

⭐29stars🔀7forks📁View on GitHub🕐Updated Dec 27, 2025

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.
namesupabase
descriptionDatabase, auth, and backend expertise for Supabase operations in [PROJECT_NAME]
last_updated2025-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?

  1. Create Database Migration → Read workflows/migration-workflow.md
  2. Design RLS Policies → Read workflows/rls-policies.md
  3. Debug Supabase Issues → Read workflows/debugging.md
  4. Design Database Schema → Read workflows/schema-design.md
  5. Review Best Practices → Read references/best-practices.md
  6. 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