Repository inventory

busirocket/agents-skills

Skills indexed from this repository, with install-style signals scoped to the repo.
11 skills0 GitHub stars0 weekly installsGitHubOwner profile

Overview

This skill defines service boundary patterns for projects using Supabase. It enforces centralizing Supabase access into small, typed service wrappers and prevents direct Supabase calls from UI, hooks, utils, or route handlers. Use it to keep database access predictable, auditable, and easy to test.

How this skill works

The skill inspects code for imports and usage of the Supabase client and flags violations where components, hooks, utils, or route handlers call Supabase directly. It enforces a single client module and encourages dedicated service files (e.g., services/supabase/*) that encapsulate queries and mutations. Each rule includes examples of correct and incorrect patterns and guidance for migrating existing calls into services.

When to use it

  • When adding or refactoring Supabase-related features in a project
  • During code reviews to ensure database access follows team conventions
  • When establishing service boundaries for maintainability and testing
  • Before deploying changes that touch authentication or database queries
  • When onboarding new contributors to ensure consistent access patterns

Best practices

  • Create one canonical Supabase client module and import it only in service wrappers
  • Keep service wrappers small, focused, and fully typed for clear contracts
  • Expose high-level functions from services instead of raw query objects
  • Avoid exporting the raw Supabase client from services to prevent accidental use
  • Write unit tests for service wrappers and mock the client in higher layers

Example use cases

  • Refactoring route handlers to call services/supabase/authService.login instead of using supabase client directly
  • Moving repeated queries into a usersService with typed input/output for reuse
  • Auditing the codebase to find and replace stray @supabase/supabase-js imports outside the client module
  • Creating a test harness that stubs service functions rather than stubbing Supabase in UI tests
  • Onboarding new engineers with clear examples of correct and incorrect access patterns

FAQ

Direct calls scatter database logic across the codebase, make testing harder, and couple UI to backend internals. Centralizing access improves maintainability and observability.

Where should the Supabase client live?

Keep a single client module (e.g., lib/supabase.ts) and only import it inside your service wrappers under services/supabase/.

How do I migrate existing direct calls?

Extract the query into a new, typed function in a service wrapper, update callers to use that function, and remove direct client imports from higher layers.

11 skills

busirocket-supabase
Backend

This skill enforces centralized Supabase access and boundary rules to prevent direct calls from components, hooks, or utils.

Code ReviewDatabaseRefactorSecurity
busirocket-react
Code Review

This skill guides you in structuring React components, hooks, and Zustand state for scalable, maintainable code.

FrontendFullstackRefactorTesting
busirocket-typescript-standards
Code Review

This skill enforces TypeScript/React standards for maintainable code, guiding one export per file, typed shapes, and Next.js special-file practices.

FrontendLintingProductivityRefactor
busirocket-nextjs
Api

This skill helps you design thin, validated Next.js App Router route handlers with standardized JSON responses and proper status codes.

BackendCode ReviewDebuggingFrontend+2
busirocket-supabase-boundaries
Api

This skill helps enforce strict Supabase boundaries by centralizing access in services and avoiding direct calls from components.

BackendDatabaseFullstackRefactor+1
busirocket-validation
Api

This skill enforces consistent input and API data validation using Zod schemas and guard helpers, ensuring safe boundary checks.

BackendCode ReviewGitTesting
busirocket-refactor-workflow
Ci Cd

This skill guides strict refactoring of TS/React code, ensuring one export per file and mandatory post-refactor checks to elevate quality.

Code ReviewFrontendLintingProductivity+2
busirocket-rust-tauri-standards
Backend

This skill enforces Rust and Tauri coding standards for maintainable desktop apps, promoting one-thing-per-file, strict SQL/prompt separation, and proper

Code ReviewLintingProductivitySql+1
busirocket-typescript-react-standards
Code Review

This skill enforces TypeScript and React standards for maintainable TS/TSX code, promoting one-export-per-file and strict typing across Next.js projects.

FrontendLintingRefactor
busirocket-react-state-management-zustand
Code Review

This skill provides opinionated Zustand patterns for React state management, enabling modular stores, selectors, and modal visibility control.

FrontendFullstackProductivityRefactor
busirocket-react-components-and-hooks
Code Review

This skill enforces a strict React structure with one component per file and one hook per hook file to improve maintainability and reuse.

FrontendPerformanceRefactor
More from this maintainer
Other repositories and skills published under the same GitHub owner.
Skills library
Jump back to the full directory or explore grouped topics.
Built by
VeilStrat
AI signals for GTM teams
Ā© 2026 VeilStrat. All rights reserved.All systems operational