apply-migrations-and-push
Executes unapplied database migrations, verifies project build safety, and pushes code to GitHub cleanly. Trigger on any deploy or push intent: "push", "push…
от hemanth17r★ 33 звезды на GitHub
Установить apply-migrations-and-push в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Apply Database Migrations & Push to GitHub
Rules
- Verify Project Context: Check
git remote -vand project path first to ensure operating on the correct target repository and database environment. - Security & Secrets Guard: Audit staged files to ensure
.envfiles, API keys, passwords, credentials, tokens, or sensitive user data are NEVER staged or committed. Ensure.gitignoreproperly excludes secret files. - Strict Schema-First Migration Gate (Zero-Drift Invariant):
- Pre-Flight Migration Scan: Scan
supabase/migrations/(orprisma/migrations/,drizzle/) for any untracked, modified, or newly created.sqlmigration files before touching code commits. - Mandatory Execution Before Code Push: Strictly forbid pushing code referencing new tables, columns, or RPCs before the underlying migration has been executed and verified against the target database (via Supabase MCP, CLI
supabase db push, or direct migration execution). - Schema-to-Code Parity Verification: Query the target database or assert migration success to ensure the live database engine matches the code contract before committing.
- Backward-Compatible Rollouts: Adhere strictly to the Expand/Contract lifecycle—never drop active columns, rename tables, or add non-null columns without defaults in a single migration phase while active production clients are running.
- Pre-Flight Migration Scan: Scan
- Verify Build & Type Safety: Run project type-checking and build validation commands to ensure zero broken builds before committing.
- Auto-Provision Cloud CI Gate: Verify whether
.github/workflows/ci.ymlexists in the repository root. If missing, automatically stamp the Universal Polyglot CI workflow from~/.gemini/config/templates/universal-ci.ymlto guarantee cloud-side build and type verification on GitHub. - Clean Remote Push: Create clear, descriptive git commits and push safely to the verified remote repository.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл apply-migrations-and-push?
Executes unapplied database migrations, verifies project build safety, and pushes code to GitHub cleanly. Trigger on any deploy or push intent: "push", "push it", "push now", "push changes", "push to github", "sync to github", "deploy code", "ship updates", "apply migrations and push", "run migrations", "deploy changes", "commit and push", "ship this", or "let's push".
Как установить скилл apply-migrations-and-push?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл apply-migrations-and-push запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…