What problem does it solve? Database schemas accumulate hidden problems over time: missing primary keys, unindexed foreign keys, absent Row Level Security, and unnamed constraints that make errors cryptic. Manually checking every table against best practices is slow and error-prone. ## Core Features & Use Cases - Design & Performance Checks: Detects tables without primary keys or timestamps, foreign keys without indexes, unused and duplicate indexes, and large tables that may need partitioning. - Security & Integrity Audit: Identifies tables without RLS enabled, RLS tables lacking policies, potential PII columns, and tables missing constraints entirely. - Scored Report Generation: Produces a timestamped Markdown audit report with an overall score, prioritized action items, and ready-to-run SQL fixes. - Use Case: Before launching a Supabase-backed application, run the audit to catch missing RLS policies and unindexed foreign keys, then apply the generated SQL fixes and re-run to verify. ## Quick Start Ask the agent to audit my Supabase database schema and generate a report of design, performance, and security issues.