skills/busirocket/agents-skills/busirocket-supabase-boundaries

busirocket-supabase-boundaries

SKILL.md

Supabase Boundaries

Service boundary patterns for Supabase projects.

When to Use

Use this skill only when:

  • Working in a project that uses Supabase
  • Creating or refactoring Supabase access code
  • Enforcing service boundaries for database access

Non-Negotiables (MUST)

  • Never call Supabase directly from components, hooks, utils, or route handlers.
  • Centralize access in dedicated Supabase service wrappers (e.g. services/supabase/*).
  • Keep wrappers small, focused, and typed.
  • Never import @supabase/supabase-js outside a single Supabase client module (e.g. lib/supabase.ts) or your Supabase service wrappers.

Rules

Supabase Access

  • supabase-access-rule - Isolate Supabase access in service wrappers
  • supabase-services-usage - Route handlers, hooks, utils, and components must NOT call Supabase directly

Related Skills

  • busirocket-core-conventions - Service boundaries and structure

How to Use

Read individual rule files for detailed explanations and code examples:

rules/supabase-access-rule.md
rules/supabase-services-usage.md

Each rule file contains:

  • Brief explanation of why it matters
  • Code examples (correct and incorrect patterns)
  • Additional context and best practices
Weekly Installs
7
First Seen
Jan 28, 2026
Installed on
mcpjam7
codebuddy7
kilo7
junie7
windsurf7
zencoder7