Secure Database Migrations
Enforces security-first database migrations with mandatory Row Level Security policies and architectural oversight.
The Secure Database Migrations skill provides a production-validated framework for managing database changes within a multi-agent development methodology. It mandates a security-first approach by requiring Row Level Security (RLS) policies to be defined in the same migration file as table creation, ensuring no data is ever exposed. The skill guides developers through a structured workflow—from ARCHitect approval and Prisma schema updates to performance indexing and production validation—to maintain high standards of data integrity and isolation.
主な機能
01Mandatory ARCHitect approval workflow for schema changes
02Standardized templates for PostgreSQL GRANT statements and security policies
03Prevention of insecure patterns like bypassing migration verification
04Enforcement of user_id indexing for RLS performance
05Automated RLS policy generation for User, Admin, and System roles
0619 GitHub stars
ユースケース
01Adding new tables to a multi-tenant application requiring strict data isolation
02Implementing a standardized database change management process for AI-agent teams
03Updating existing Prisma schemas with complex Row Level Security requirements