スキル一覧に戻る
Jeduardo622

migration-workflow

by Jeduardo622

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

SKILL.md


name: migration-workflow description: Create, validate, and apply Supabase migrations with idempotent SQL, RLS checks, and types regeneration. Use when the user mentions migrations, db diff, schema changes, or type generation.

Migration Workflow

Quick Start

  1. Identify schema change intent and target tables.
  2. Create a new migration using the documented workflow.
  3. Validate idempotency and RLS policy coverage.
  4. Apply migration to hosted Supabase.
  5. Regenerate types and verify.

Steps

  • Follow docs/DATABASE_PIPELINE.md and docs/supabase_branching.md for the approved flow.
  • Prefer repo scripts when available:
    • scripts/apply-single-migration.mjs
    • scripts/apply-remote-migrations.mjs
  • Ensure migration SQL uses IF NOT EXISTS and is safe to re‑run.
  • After applying: regenerate types in src/lib/generated/database.types.ts.

Checks

  • RLS enabled on new tables.
  • Policies tested or verified.
  • No Docker‑dependent Supabase commands.

スコア

総合スコア

60/100

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

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

レビュー

💬

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