تخطَّ إلى المحتوى
أمرمستورد

supabase-migration-assistant

Generate and manage Supabase database migrations with automated testing and validation

وصف مستورد لم يراجعه محرر بعد

جاء هذا العنصر من مستودعه الأصلي وفحصناه آلياً فقط، ولم يكتب له محرر وصفاً عربياً بعد. اقرأ محتواه بنفسك قبل أن تعتمد عليه. ولا تُفهرس هذه الصفحة في محركات البحث حتى تُراجَع.

التنزيل

الملفات: 1 · الحجم: 3.2 ك.ب

نزّل ملف ZIP

يحمل الملف ترخيص المصدر الأصلي.

التثبيت

بعد التنزيل، شغّل الأمر في الطرفية. يسأل unzip قبل أن يستبدل أي ملف موجود.

  • لهذا المشروع

    يوضع في: .claude/commands/

    mkdir -p .claude/commands && unzip ~/Downloads/supabase-migration-assistant.zip -d .claude/commands

  • لحسابك على الجهاز كله

    يوضع في: ~/.claude/commands/

    mkdir -p ~/.claude/commands && unzip ~/Downloads/supabase-migration-assistant.zip -d ~/.claude/commands

التعليمات

Supabase Migration Assistant

Generate and manage Supabase migrations with comprehensive testing and validation: $ARGUMENTS

Current Migration Context

  • Supabase project: MCP integration for migration management and validation
  • Migration files: !find . -name "*migrations*" -type d -o -name "*.sql" | head -5 existing migration structure
  • Schema version: Current database schema state and migration history
  • Local changes: !git diff --name-only | grep -E "\\.sql$|\\.ts$" | head -3 pending database modifications

Task

Execute comprehensive migration management with automated validation and testing:

Migration Type: Use $ARGUMENTS to specify table creation, schema alterations, data seeding, or migration rollback

Migration Management Framework:

  1. Migration Planning - Analyze schema requirements, design migration strategy, identify dependencies, plan rollback procedures
  2. Code Generation - Generate migration SQL files, create TypeScript types, implement safety checks, optimize execution order
  3. Validation Testing - Test migration on development data, validate schema changes, verify data integrity, check constraint violations
  4. Supabase Integration - Apply migrations via MCP server, monitor execution status, handle error conditions, validate final state
  5. Type Generation - Generate TypeScript types, update application interfaces, sync with client-side schemas, maintain type safety
  6. Rollback Strategy - Create rollback migrations, test rollback procedures, implement data preservation, validate recovery process

Advanced Features: Automated type generation, migration testing, performance impact analysis, team collaboration, CI/CD integration.

Safety Measures: Pre-migration backups, dry-run validation, rollback testing, data integrity checks, performance monitoring.

Output: Complete migration suite with SQL files, TypeScript types, test validation, rollback procedures, and deployment documentation.

الملفات

  • LICENSE1 ك.ب
  • supabase-migration-assistant.md2.2 ك.ب

ما وجده الفحص الآلي

فحصنا الملفات آلياً وقت الاستيراد. هذا ما نبّه إليه الفحص، ولا يعني أن العنصر ضار ولا أنه سليم: اقرأه بنفسك.

  • يحتاج مراجعةأدوات مسموحة بلا حدود

    في الملف cli-tool/components/commands/database/supabase-migration-assistant.md

التعليقات (0)

لا تعليقات بعد. كن أول من يعلّق.

سجّل الدخول لتعلّق. التعليق من المستوى 1 (عضو).

أبلغ

عناصر مشابهة

  • أمرمستورد

    code-migrate

    Generate comprehensive migration plans and scripts for transitioning codebases between frameworks, languages, versions, or platforms with minimal disruption.

    MITالملفات: 1

  • أمرمستورد

    create-database-migrations

    Create and manage database migrations with proper versioning and rollback support

    MITالملفات: 1

  • أمرمستورد

    deps-upgrade

    Plan and execute safe, incremental dependency upgrades with minimal risk — including breaking-change migration paths and proper test verification.

    MITالملفات: 1

  • أمرمستورد

    design-database-schema

    Design optimized database schemas with proper relationships, constraints, and performance considerations

    MITالملفات: 1

  • أمرمستورد

    full-stack-feature

    Orchestrate end-to-end full-stack feature development across backend, frontend, database, and infrastructure layers

    MITالملفات: 1

  • أمرمستورد

    legacy-modernize

    Orchestrate legacy system modernization using the strangler fig pattern with gradual component replacement

    MITالملفات: 1