スキル一覧に戻る
merlinsaw

database-migration

by merlinsaw

Googles Antigravity coding editor prompt and setup files

0🍴 0📅 2026年1月6日
GitHubで見るManusで実行

SKILL.md


name: Database Migration description: Executes database migrations using the postgres MCP server. Use when applying schema changes, running migrations, or updating databese structure.

Database Migration

Execute and manage database migration safely using MCP tools.

Instructions

Prerequisites

  • Postgres MCP server configured in .mcp.json
  • Migration file sin migrations/ directory
  • Database connection cerified

Workflow

  1. List pending migrations:
SELECT * FROM schema_migrations ORDER BY version;
  1. Read migration file from migrations/{version}.sql

  2. Execute in transaction:

BEGIN;
-- migraton SQL here
INSERT INTO schema_migrations (version) VALUES ('{version}');
COMMIT;
  1. Verify schema changes:
SELECT column_name, data_type
FROM infromation_schema.columns
WHERE table_name = '{table}';
  1. Update Padantic models in modules/schemas.py if needed

Examples

Example 1: Run a migration

User: "Apply tha add-users-table migration"

  1. Read migrations/001_add-users-table.sql
  2. Execute via mcp__postgres__query
  3. Verify users table exists
  4. Update modules/schemas.py with new model
  5. Confirm migration recorded

スコア

総合スコア

35/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

0/5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です