supabase

Solve Supabase tasks across databases, auth, edge functions, and client libraries.

Updated May 10, 2024
One-click install
npx skills add https://github.com/asubota/lets --skill supabase-asubota
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: supabase
Source: https://github.com/asubota/lets/tree/main/.agents/skills/supabase
Command: npx skills add https://github.com/asubota/lets --skill supabase-asubota

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) and references (resource) components.

What problem does it solve?

Supabase tasks span databases, auth, edge functions, and client libraries, often across SSR frameworks, requiring cross-cutting guidance and careful security considerations to avoid misconfigurations.

Core Features & Use Cases

  • Cross-product guidance for Database, Auth, Edge Functions, Realtime, Storage, and more.
  • Library & SSR integration support for supabase-js, @supabase/ssr in Next.js, React, SvelteKit, Astro, Remix.
  • Security & operations guidance covering auth sessions, JWT, cookies, RLS defaults, migrations, and MCP server tasks.

Quick Start

Describe a Supabase task you want to accomplish, and I will guide you through a secure, end-to-end implementation.

Frequently Asked Questions about supabase

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

FAQPage Schema
How do I implement secure Supabase auth sessions with SSR frameworks like Next.js?

Secure Supabase auth sessions in SSR frameworks require configuring @supabase/ssr to manage JWT cookies and handle getSession, getUser, and getClaims properly. This ensures authenticated server-side rendering without exposing tokens to client vulnerabilities.

What is the best way to run database schema migrations and security audits in Supabase?

Database schema migrations and security audits in Supabase are best handled using the Supabase CLI to enforce IAM boundaries and safe migration workflows. This approach prevents misconfigurations and secures Row Level Security defaults across database products.

Can I use supabase-js for Realtime, Storage, and Edge Functions across multiple client libraries?

Yes, supabase-js supports Realtime, Storage, and Edge Functions integrations across client libraries. It provides cross-product guidance to manage data flows, vector embeddings, and serverless compute within a unified authentication and database boundary.

Why does my Supabase SSR integration fail to retrieve user sessions in SvelteKit or Remix?

Supabase SSR integration fails to retrieve user sessions in SvelteKit or Remix when JWT cookies are not properly synchronized with getSession or getUser. Configuring @supabase/ssr correctly ensures secure session handling and resolves server-side auth state mismatches.

Do I need the Supabase MCP server to manage Cron, Queues, and Vectors effectively?

You do not strictly need the Supabase MCP server to manage Cron, Queues, and Vectors, but it streamlines these operations. The MCP server provides direct operational guidance for automating scheduled tasks and vector storage alongside standard CLI workflows.

How does Supabase handle Row Level Security defaults when modifying database schemas?

Supabase enforces strict Row Level Security defaults when modifying database schemas to prevent unauthorized data access. Applying explicit migration workflows and IAM boundaries ensures that schema changes maintain security constraints across all authenticated client requests.