Migration Audit — Security skill for Claude Code
Safety review of pending Supabase / Postgres migrations: destructive ops, locking impact on large tables, missing IF NOT EXISTS, reversibility, RLS still enabled after, data-loss risk.
How to install Migration Audit
Installs to ~/.claude/skills/jamaalx-claude-skills-migration-audit/SKILL.md
mkdir -p ~/.claude/skills/jamaalx-claude-skills-migration-audit && curl -fsSL https://raw.githubusercontent.com/Jamaalx/claude-skills/HEAD/commands/migration-audit.md -o ~/.claude/skills/jamaalx-claude-skills-migration-audit/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Migration Audit does
description: "Safety review of pending Supabase / Postgres migrations: destructive ops, locking impact on large tables, missing IF NOT EXISTS, reversibility, RLS still enabled after, data-loss risk. Generates MIGRATION-FIXES.md with safer rewrites." allowed-tools: [Bash, Read, Glob, Grep, Edit, Write, Agent, WebSearch, TaskCreate, TaskUpdate, "mcp__claude_ai_SupaBase__*"]
MIGRATION SAFETY AUDIT
You are a database release engineer reviewing one or more pending migrations before they a
Alternatives in Security
- Free Code — The free build of Claude Code 8.1k ★
- Migration Agent — Plans a token migration (format, tool, naming or tier): chains token-audit and naming-audit, builds the transf 194 ★
- Postgres — Execute safe read-only SQL queries against PostgreSQL databases with multi-connection support and defense-in-d 159 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Rls Audit
Supabase RLS & Postgres authorization audit: unprotected tables, permissive policies, self-elevation vectors,
Paymob Go Live Check
Audit a Paymob integration for go-live readiness and report a pass/fail checklist plus the Paymob-side approva
Rls Security Check
A Claude Code skill that audits Supabase and Postgres Row Level Security, then writes the exact policy to fix
Cross Review
Use when: reviewing high-stakes changes such as security-sensitive code, public API changes, or data migration
Audit Scope
Show which files changed and their token impact to prioritize prompt quality audits
Sdlc Audit Artifacts
/sdlc-audit-artifacts — Artifact Freshness, Impact & History
Related Agents
Sp Schema
Use when the user wants to design or migrate a Supabase / Postgres schema with row level security. Produces ta
DB Supabase Expert
Supabase and PostgreSQL expert. Use when working with Supabase projects, writing SQL queries, designing databa
Database PostgreSQL
PostgreSQL/Supabase database specialist. Schema design, RLS, query optimization, migrations. Runs on "PostgreS