sql-hardener
CommunityHarden Supabase schemas for security and speed.
AuthorCleanExpo
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The SQL Hardener automates cleanup and security hardening of Supabase database schemas by discovering missing indexes, identifying RLS policy gaps, and generating safe, testable migrations to prepare schemas for production deployment.
Core Features & Use Cases
- Schema Audits: Detect missing indexes, nullable fields that should be NOT NULL, and absent or overly permissive RLS policies.
- Migration Generation: Produce Supabase CLI migration files with index creation, RLS templates, and constraint improvements suitable for review and testing.
- Safety & Validation: Provide dry-run workflows, linting, backups, and explicit confirmation steps before pushing changes to remote.
- Use Case: Consolidate multiple SQL schema files into a hardened migration set, add missing FK and timestamp indexes, and enforce user-owned RLS policies before production rollout.
Quick Start
Run a dry audit of the linked Supabase project to list issues and generate recommended migration SQL without applying changes.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: sql-hardener Download link: https://github.com/CleanExpo/Synthex/archive/main.zip#sql-hardener 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.