Agent Skills: Supabase Best Practices

Supabase development standards. Triggers when working with Supabase projects, Row Level Security, real-time subscriptions, or Edge Functions.

UncategorizedID: jcastillotx/vibe-skeleton-app/supabase-best-practices

Install this agent skill to your local

pnpm dlx add-skill https://github.com/jcastillotx/vibe-skeleton-app/tree/HEAD/setup/skills/supabase-best-practices

Skill Files

Browse the full folder contents for supabase-best-practices.

Download Skill

Loading file tree…

setup/skills/supabase-best-practices/SKILL.md

Skill Metadata

Name
supabase-best-practices
Description
Supabase development standards. Triggers when working with Supabase projects, Row Level Security, real-time subscriptions, or Edge Functions.

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:

  1. Security (RLS) (rls-) - Row Level Security policies, auth patterns [CRITICAL]
  2. Database Design (schema-) - Foreign keys, constraints, migrations [CRITICAL]
  3. Authentication (auth-) - OAuth, MFA, session management [HIGH]
  4. Real-time (realtime-) - Subscriptions, presence, broadcast [HIGH]
  5. Edge Functions (edge-) - Deno deploy, secrets, logging [MEDIUM-HIGH]
  6. Storage (storage-) - Bucket policies, transformations [MEDIUM]
  7. Performance (perf-) - Connection pooling, indexes [MEDIUM]
  8. 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