new-migration
БесплатноБез исполняемых скриптовНе проверенScaffold a new Supabase migration file with the numbering and RLS structure this repo already follows.
от lbragile★ 192 звезды на GitHubОб этом скилле
New migration
TabMerger migrations live in supabase/migrations/, numbered sequentially (001_initial_schema.sql
… 010_grant_table_privileges.sql) — always a new file, never an edit to an existing one (enforced
by the protect-migrations.py hook).
Steps
- List
supabase/migrations/to find the highest number in use; the new file isN+1, zero-padded to 3 digits. - Ask the user for a short snake_case description if not given (e.g.
add_tab_notes_column). - Create
supabase/migrations/<NNN>_<description>.sql. If the migration adds a table, include:create table ...alter table ... enable row level security;- explicit
create policystatements for each access pattern (select/insert/update/delete) — never leave RLS enabled with no policies, and never disable RLS - an index on any new foreign-key column
- For real schema work, delegate to the
databaseagent instead of writing SQL directly here — this skill only sets up the file/numbering so the agent doesn't have to re-derive the convention. - Before applying, suggest running the
migration-revieweragent.
Установить new-migration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл new-migration?
Scaffold a new Supabase migration file with the numbering and RLS structure this repo already follows.
Как установить скилл new-migration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл new-migration запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic