testing-rls-pgtap

Community

Test Supabase RLS with pgTAP tests.

Authornghiahsgs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Validate Supabase Row Level Security policies by automatically generating and executing pgTAP tests to ensure correct data access boundaries for tenants, admins, and anonymous users.

Core Features & Use Cases

  • Auto-detect tables and policies from supabase/migrations to build targeted tests.
  • Validate owner vs non-owner access for authenticated users and proper fallback for anonymous sessions.
  • Provide deterministic test suites that can be run with Supabase CLI or local PostgreSQL environments.

Quick Start

Run the pgTAP test suite against your Supabase project to verify RLS policy behavior.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: testing-rls-pgtap
Download link: https://github.com/nghiahsgs/taw-kit/archive/main.zip#testing-rls-pgtap

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.