Skip to main content
ClaudeWave
Skill353 repo starsupdated 3mo ago

supabase

This Claude Code skill provides expertise for Supabase database operations, authentication integration, and backend development within a project. It enables developers to design database schemas, write migrations, implement Row Level Security policies, debug authentication issues, and optimize database performance through structured workflows and templates.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/nth5693/gemini-kit /tmp/supabase && cp -r /tmp/supabase/skills/examples/supabase ~/.claude/skills/supabase
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# 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

```bash
# 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`