supabase-auth-designer

Design Supabase authentication and authorization models for multi-tenant deployments.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/saranskumar/anti-slop --skill supabase-auth-designer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: supabase-auth-designer
Source: https://github.com/saranskumar/anti-slop/tree/main/skills/supabase-auth-designer
Command: npx skills add https://github.com/saranskumar/anti-slop --skill supabase-auth-designer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designing robust authentication and authorization for Supabase-powered applications, ensuring proper user identity, access control, and scalable membership flows.

Core Features & Use Cases

  • Define actors, user record strategy, and profile ownership.
  • Pick sign-in methods and invitation model.
  • Decide how users join teams or workspaces.
  • Map auth events to schema and policy implications.
  • Identify which authorization checks live in RLS and which need backend logic.

Quick Start

Design a complete Supabase authentication and authorization model for your product, covering users, sessions, and access control.

Frequently Asked Questions about supabase-auth-designer

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

FAQPage Schema
How do I design Supabase authentication for multi-tenant workspaces with role-based permissions?

Designing Supabase authentication for multi-tenant workspaces involves defining actors, user records, and profile ownership, then mapping role-based permissions across team memberships, invitations, and workspaces. It enforces integration with Supabase Auth and backend logic to manage access control across deployments.

What is the best way to manage authorization checks between Supabase RLS and backend logic?

The best way to manage authorization checks is to identify which permissions live in Supabase Row Level Security (RLS) policies and which require backend logic enforcement. This split ensures scalable access control by mapping auth events to schema implications and enforcing backend requirements for complex membership flows.

How do I set up Supabase auth invitations and team memberships for a SaaS application?

Setting up Supabase auth invitations for a SaaS application requires defining a specific invitation model and deciding how users join teams or workspaces. You must map these membership flows to auth events, schema policies, and sign-in methods to ensure proper user identity and access control.

Does Supabase auth support custom sign-in methods and session management for scalable access control?

Supabase auth supports custom sign-in methods and session management by defining actors, user record strategies, and profile ownership. It maps auth events to schema and policy implications, ensuring scalable access control through RLS coverage and backend enforcement requirements.

When should I not use Supabase RLS for authorization?

You should not use Supabase RLS for authorization when access control checks require complex backend logic beyond row-level visibility. The architecture requires identifying which specific authorization checks need backend enforcement instead of RLS to properly handle team memberships and role-based permissions.