supabase-rpc-consistency

Verify Supabase RPC signatures and column usage against the database schema.

Updated Aug 16, 2025
One-click install
npx skills add https://github.com/Tomy74-vsc/cliprace --skill supabase-rpc-consistency
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: supabase-rpc-consistency
Source: https://github.com/Tomy74-vsc/cliprace/tree/main/.cursor/skills/supabase-rpc-consistency
Command: npx skills add https://github.com/Tomy74-vsc/cliprace --skill supabase-rpc-consistency

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that your application code, Supabase Remote Procedure Calls (RPCs), and database schema remain synchronized, preventing silent breakages due to schema drift and ensuring data integrity.

Core Features & Use Cases

  • Schema Verification: Checks for the existence of referenced columns and tables in your Supabase database.
  • RPC Signature Matching: Validates that RPC arguments and return shapes in your code align with the actual database definitions.
  • Migration Alignment: Helps ensure database schema changes are reflected in application code and vice-versa.
  • Use Case: When you modify a database table or create a new RPC, this skill will automatically verify that your application code correctly references columns and calls the RPC with the right parameters and expects the correct return structure.

Quick Start

Use the supabase-rpc-consistency skill to verify that all database columns referenced in the current application code exist in the Supabase schema.

Frequently Asked Questions about supabase-rpc-consistency

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if my application code matches my Supabase database schema?

To check if your application code matches your Supabase database schema, you can verify that all database columns and tables referenced in your code actually exist in the Postgres schema, preventing silent breakages from schema drift.

How do I validate Supabase RPC signatures against my application code?

Validating Supabase RPC signatures involves checking that the arguments passed and the return shapes expected by your application code precisely align with the actual Postgres Remote Procedure Call definitions in the database.

What happens to my Supabase queries when the database schema changes?

When the database schema changes, Supabase queries can silently break due to schema drift. Verifying schema-dependent logic ensures migration alignment so that database changes are correctly reflected in your application code.

When should I verify joins versus RPCs in my Supabase application?

Verify joins versus RPCs in your Supabase application when adding or modifying schema-dependent logic. Adhering to recommended patterns for joins versus RPCs ensures data integrity and prevents query breakages from schema modifications.

Do I need Supabase MCP tools to inspect my Postgres schema for code sync?

Yes, inspecting your Postgres schema for code sync leverages Supabase MCP tools. These tools provide the schema inspection and validation capabilities needed to verify RPC signatures and column usage against your application code.

What is Supabase schema drift and how does it affect my application?

Supabase schema drift occurs when your database schema and application code become unsynchronized. It causes silent breakages in data integrity when application code references missing columns or uses outdated RPC signatures after database migrations.