supabase-test
OfficialTest Supabase apps with ephemeral DBs.
Authorconstructive-io
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the testing of Supabase applications by providing a robust framework for creating isolated, ephemeral databases and simulating various user roles for comprehensive testing of Row Level Security (RLS) policies.
Core Features & Use Cases
- Ephemeral Databases: Each test runs with a fresh, isolated database instance, ensuring test independence.
- RLS Testing: Simulate
anonandauthenticatedusers to verify access controls. - Multi-User Simulation: Test scenarios involving multiple concurrent users with different permissions.
- Direct Postgres Access: Interact directly with the database using both superuser and user clients.
- Use Case: Verify that an authenticated user can only modify their own records in a
poststable while being unable to access or modify records belonging to other users.
Quick Start
Use the supabase-test skill to write tests for your Supabase application.
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 Download link: https://github.com/constructive-io/constructive-skills/archive/main.zip#supabase-test Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.