esneiderbravo/quinecta/supabase-migration-local
- community
Checking that the SKILL.md file is still in the repository.
Whenever a developer needs to create a new Supabase database migration for this project. Generates a timestamped SQL migration file in supabase/migrations/ — never executes it directly. Triggers on: "create a migration", "add a migration", "new migration", "add a supabase migration", "create a db migration", "migration for [table/change]".
Install
npx vskill@latest install esneiderbravo/quinecta/supabase-migration-localSKILL.md
supabase-migration-local — Create Supabase Migration File
Create a new timestamped SQL migration file in supabase/migrations/. Never execute it. The developer applies it manually via the Supabase SQL editor or supabase db push after review.
Trigger
Developer needs a schema change:
Inputs
Collect before creating the file:
- Description of the change (required) — e.g., "add profiles table", "add email index on users"
- SQL content (required) — the actual SQL to include; ask if not provided
- Include rollback? (optional, default: yes) — whether to add a commented-out
-- rollback:section
File Naming Convention
- Use the current timestamp at creation time
- Slug: lowercase, hyphen-separated, max 5 words
- Examples:
20260424194500_add-profiles-table.sql20260424201200_add-email-index-users.sql20260424215000_add-orders-rls-policy.sql
File Structure
Each migration file must follow this template:
Rules
- Never execute — only create the file. State this explicitly to the user.
- Immutable once committed — if a migration is already committed, create a new one to amend it; never modify the existing file.
- One concern per file — if the request spans multiple unrelated changes, split into separate migration files.
- Always include RLS — if creating or altering a table, include the appropriate
ALTER TABLE ... ENABLE ROW LEVEL SECURITYand policy statements. - Reference existing migrations — check
supabase/migrations/for the existing baseline before writing dependent SQL.
Output
After creating the file:
- Show the full file path and name
- Show the file content
- Remind the user: _"Apply this manually via the Supabase SQL editor or
supabase db push— do not run it automatically."_
Folder Structure Reference
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/supabase-migration-local/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/esneiderbravo/quinecta/supabase-migration-local)