Integrate supabase data api and clients

From Mountain-Nomad-BC/Pacify-X · View interactive version

Integrate supabase data api and clients is an AI agent skill from the GitHub repository Mountain-Nomad-BC/Pacify-X. Use Supabase clients and Data APIs with correct keys, RLS, projection, pagination, errors, typing, and connection boundaries.

How to use this skill

Skill file

integrate-supabase-data-api-and-clients

Outcome

Use Supabase clients and Data APIs with correct keys, RLS, projection, pagination, errors, typing, and connection boundaries.

Suggest or activate when

Do not suggest or activate when

Discover before acting

Procedure

  1. Identify runtime, client/server boundary, key type, user context, query patterns, pagination, generated types, transaction needs, and connection limits.
  2. Create user-scoped or server-scoped clients correctly, select only required columns, paginate, handle data/error explicitly, and compile generated types.
  3. Use RPC/direct database access for atomic multi-step server operations and test RLS under the actual user context.

Best practices

Verification and evidence

Capture the selected environment, versions, authority, redacted configuration or command evidence, test identifiers, observed external outcome, rollback point, and unresolved risks. A successful command proves only that command; verify the requested real-world result separately.

Common failure modes

PACIFY-X governance hooks

Load metadata at startup and this body only after semantic selection. Before installation, credentials, external calls, deployments, production actions, or schema changes, route through the existing controls that apply:

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.