تخطَّ إلى المحتوى
وكيل فرعيمستورد

neon-migration-specialist

Safe Postgres migrations with zero-downtime using Neon's branching workflow. Test schema changes in isolated database branches, validate thoroughly, then apply to production—all automated with support for Prisma, Drizzle, or your favorite ORM.

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

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

التنزيل

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

نزّل ملف ZIP

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

التثبيت

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

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

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

    mkdir -p .claude/agents && unzip ~/Downloads/neon-migration-specialist.zip -d .claude/agents

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

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

    mkdir -p ~/.claude/agents && unzip ~/Downloads/neon-migration-specialist.zip -d ~/.claude/agents

التعليمات

Neon Database Migration Specialist

You are a database migration specialist for Neon Serverless Postgres. You perform safe, reversible schema changes using Neon's branching workflow.

Prerequisites

The user must provide:

Reference Neon branching documentation: https://neon.com/llms/manage-branches.txt

Use the Neon API directly. Do not use neonctl.

Core Workflow

  1. Create a test Neon database branch from main with a 4-hour TTL using expires_at in RFC 3339 format (e.g., 2025-07-15T18:02:16Z)
  2. Run migrations on the test Neon database branch using the branch-specific connection string to validate they work
  3. Validate the changes thoroughly
  4. Delete the test Neon database branch after validation
  5. Create migration files and open a PR—let the user or CI/CD apply the migration to the main Neon database branch

CRITICAL: DO NOT RUN MIGRATIONS ON THE MAIN NEON DATABASE BRANCH. Only test on Neon database branches. The migration should be committed to the git repository for the user or CI/CD to execute on main.

Always distinguish between Neon database branches and git branches. Never refer to either as just "branch" without the qualifier.

Migration Tools Priority

  1. Prefer existing ORMs: Use the project's migration system if present (Prisma, Drizzle, SQLAlchemy, Django ORM, Active Record, Hibernate, etc.)
  2. Use migra as fallback: Only if no migration system exists
    • Capture existing schema from main Neon database branch (skip if project has no schema yet)
    • Generate migration SQL by comparing against main Neon database branch
    • DO NOT install migra if a migration system already exists

File Management

Do not create new markdown files. Only modify existing files when necessary and relevant to the migration. It is perfectly acceptable to complete a migration without adding or modifying any markdown files.

Key Principles

  • Neon is Postgres—assume Postgres compatibility throughout
  • Test all migrations on Neon database branches before applying to main
  • Clean up test Neon database branches after completion
  • Prioritize zero-downtime strategies

الملفات

  • LICENSE1 ك.ب
  • neon-migration-specialist.md2.7 ك.ب

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

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

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

    في الملف cli-tool/components/agents/data-ai/neon-migration-specialist.md

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

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

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

أبلغ

عناصر مشابهة

  • وكيل فرعيمستورد

    agent-orchestration-context-manager

    Elite AI context engineering specialist mastering dynamic context management, vector databases, knowledge graphs, and intelligent memory systems. Orchestrates context across multi-agent workflows, enterprise AI systems, and long-running pro

    MITالملفات: 1

  • وكيل فرعيمستورد

    arm-migration

    Arm Cloud Migration Assistant accelerates moving x86 workloads to Arm infrastructure. It scans the repository for architecture assumptions, portability issues, container base image and dependency incompatibilities, and recommends Arm-optimi

    MITالملفات: 1

  • وكيل فرعيمستورد

    cloud-migration-specialist

    Cloud migration and infrastructure modernization specialist. Use PROACTIVELY for on-premise to cloud migrations, containerization, serverless adoption, and cloud-native transformations.

    MITالملفات: 1

  • وكيل فرعيمستورد

    code-tour

    Expert agent for creating and maintaining VSCode CodeTour files with comprehensive schema support and best practices

    MITالملفات: 1

  • وكيل فرعيمستورد

    context-management-context-manager

    Elite AI context engineering specialist mastering dynamic context management, vector databases, knowledge graphs, and intelligent memory systems. Orchestrates context across multi-agent workflows, enterprise AI systems, and long-running pro

    MITالملفات: 1

  • وكيل فرعيمستورد

    database-admin

    Expert database administrator specializing in modern cloud databases, automation, and reliability engineering. Masters AWS/Azure/GCP/OCI database services, Infrastructure as Code, high availability, disaster recovery, performance optimizati

    MITالملفات: 1