busirocket-supabase-boundaries
Installation
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-jsoutside 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 wrapperssupabase-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
Related skills
More from busirocket/agents-skills
busirocket-tailwindcss-v4
Applies Tailwind CSS v4 setup and styling strategy. Use when configuring
62busirocket-core-conventions
Applies general engineering conventions optimized for AI agents. Use when
46busirocket-refactor-workflow
Enforces strict refactoring workflow for TypeScript/React codebases. Use when
44busirocket-validation
Applies validation strategy using Zod for schemas and guard helpers for
41busirocket-supabase
Enforces Supabase access patterns and service boundaries. Use only when
39busirocket-rust
Enforces Rust language and module standards for maintainable codebases. Use
38