Database Engineer

Design Supabase schemas with RLS policies and encryption for multi-tenant data.

Updated Jan 18, 2026
One-click install
npx skills add https://github.com/monam2/traders --skill database-engineer-monam2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Database Engineer
Source: https://github.com/monam2/traders/tree/main/.agent/skills/agent-database
Command: npx skills add https://github.com/monam2/traders --skill database-engineer-monam2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Supabase schema design, RLS policy implementation, and encryption guidance to secure data lifecycles across applications.

Core Features & Use Cases

  • Schema design & migrations: Create robust database schemas with normalization, constraints, and smooth migrations for evolving apps.
  • RLS policy implementation: Define fine-grained access control to isolate tenant data and enforce ownership rules.
  • Data encryption practices: Apply encryption for sensitive fields and outline key management strategies.
  • Use Case: Build a multi-tenant analytics platform with per-tenant data isolation, auditable access, and encrypted API keys.

Quick Start

Define a new database schema in Supabase with RLS policies and encryption, then apply it to a multi-tenant application.

Frequently Asked Questions about Database Engineer

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

FAQPage Schema
How do I implement row level security for multi-tenant isolation in Supabase?

Supabase row level security isolates multi-tenant data by defining fine-grained RLS policies that enforce tenant isolation and ownership rules. You create policies restricting access based on tenant identifiers, ensuring users only query and modify their own tenant's records.

What is the best way to handle database schema migrations in Supabase?

Database schema migrations in Supabase should be handled by defining structured migration scripts that apply normalization and constraints. This ensures smooth schema evolution for applications, maintaining data integrity across table structures as your multi-tenant application scales.

How does data encryption work for sensitive fields in Supabase?

Data encryption for sensitive fields in Supabase works by applying encryption mechanisms to specific columns and outlining key management strategies. This secures regulated data lifecycles, such as encrypted API key handling, protecting sensitive information stored in the database.

Can I enforce role-based access control using RLS policies in Supabase?

Yes, you can enforce role-based access control in Supabase by defining RLS policies that map user roles to specific data access permissions. This approach secures data access across multi-tenant applications by restricting queries and mutations according to role hierarchies.

When do I need RLS policies for my Supabase database schema?

You need RLS policies for your Supabase database schema whenever building multi-tenant applications or handling regulated data contexts. They are essential for enforcing tenant isolation, implementing auditable access, and securing sensitive data lifecycles across your application.