Supabase development standards. Triggers when working with Supabase projects, Row Level Security, real-time subscriptions, or Edge Functions.
Recursos
4Instal·la
npx skillscat add jcastillotx/vibe-skeleton-app/supabase-best-practices Instal·la des del registre de SkillsCat.
SKILL.md
Supabase Best Practices
Comprehensive coding standards for Supabase development, optimized for AI agents and LLMs.
Overview
This skill provides 22 rules organized across 8 categories:
- Security (RLS) (rls-) - Row Level Security policies, auth patterns [CRITICAL]
- Database Design (schema-) - Foreign keys, constraints, migrations [CRITICAL]
- Authentication (auth-) - OAuth, MFA, session management [HIGH]
- Real-time (realtime-) - Subscriptions, presence, broadcast [HIGH]
- Edge Functions (edge-) - Deno deploy, secrets, logging [MEDIUM-HIGH]
- Storage (storage-) - Bucket policies, transformations [MEDIUM]
- Performance (perf-) - Connection pooling, indexes [MEDIUM]
- Client Libraries (client-) - Type generation, hooks [LOW-MEDIUM]
Usage
Reference this skill when:
- Designing Supabase database schemas
- Implementing Row Level Security
- Building real-time features
- Creating Edge Functions
- Configuring authentication
Build
pnpm build # Compile rules to AGENTS.md
pnpm validate # Validate rule files