busirocket-supabase

安装量: 37
排名: #19154

安装

npx skills add https://github.com/busirocket/agents-skills --skill busirocket-supabase

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

  • 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

返回排行榜