Migration Validation Skill

Community

Ensure Supabase migrations are error-free.

Authormasakinihirota
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents common errors, debug code remnants, and security vulnerabilities during the creation and modification of Supabase migration files.

Core Features & Use Cases

  • Syntax Validation: Catches invalid statements and missing semicolons in SQL and PL/pgSQL.
  • Security Auditing: Identifies potential SQL injection risks and missing authentication checks in SECURITY DEFINER functions.
  • Code Quality: Enforces best practices like removing debug code and ensuring proper function returns.
  • Use Case: Before committing a new database schema change, use this Skill to automatically verify that the migration script is syntactically correct, secure, and adheres to project standards, preventing deployment failures.

Quick Start

Run npx supabase db reset to validate your latest migration file.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: Migration Validation Skill
Download link: https://github.com/masakinihirota/vns-masakinihirota/archive/main.zip#migration-validation-skill

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.