Database Schema Migration Skill

Apply Prisma schema changes and verify Supabase RLS policies.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/alldigitalrewards/changemaker-minimal --skill database-schema-migration-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Database Schema Migration Skill
Source: https://github.com/alldigitalrewards/changemaker-minimal/tree/main/.claude/archive/skills-old-20251112/database-migration
Command: npx skills add https://github.com/alldigitalrewards/changemaker-minimal --skill database-schema-migration-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires npx, psql.

What problem does it solve?

Manually managing Prisma schema changes, database migrations, and Supabase RLS policies is complex and error-prone, especially in a multi-tenant application. This skill automates the detection and execution of necessary operations, ensuring database integrity and workspace isolation.

Core Features & Use Cases

  • Automated Schema Management: Handles Prisma schema modifications, validation, and database pushes.
  • RLS Policy Generation & Update: Automatically creates and applies Row Level Security policies for new and existing models, ensuring multi-tenant isolation.
  • Integrity Verification: Includes steps for TypeScript compilation, RLS policy testing, and general schema validation.
  • Use Case: When adding a new field to an existing model, this skill guides you through updating the schema, pushing changes, and verifying RLS policies without manual database commands.

Quick Start

Update the Challenge model in prisma/schema.prisma to add a new description field. Then, use this skill to apply the schema changes and verify RLS policies.