supabase-test-harness
OfficialStreamline Supabase testing, prevent CI headaches.
Authorelevanaltd
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Setting up reliable testing for Supabase, especially with Row-Level Security (RLS) and migrations, can be complex and prone to CI failures. This Skill provides proven patterns to establish robust Supabase testing infrastructure, saving development time and preventing build pipeline issues.
Core Features & Use Cases
- Local Supabase Setup: Guides through configuring local Supabase environments for testing.
- RLS & Migration Testing: Provides patterns for validating Row-Level Security and managing database migrations with
supabase db reset. - Test User Creation: Standardized methods for creating test users via the Auth Admin API, ensuring proper GoTrue state.
- Use Case: When your CI pipeline is failing due to Supabase test setup, use this Skill to diagnose issues, create reliable test users, and ensure your migrations are tested correctly.
Quick Start
Set up a local Supabase test environment and create standard test users for RLS validation.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: supabase-test-harness Download link: https://github.com/elevanaltd/eav-monorepo/archive/main.zip#supabase-test-harness Please download this .zip file, extract it, and install it in the .claude/skills/ directory.