Skillpedia
قواعد البيانات48k · #4335

database-migrations-sql-migrations

ما الذي تفعله

تساعد في تخطيط وإنشاء سكربتات لتحديث قواعد بيانات SQL (مثل PostgreSQL وMySQL وSQL Server) دون الحاجة إلى إيقاف النظام. تضمن سلامة البيانات، وإمكانية التراجع عن التغييرات إذا حدث خطأ.

متى تستخدمها

  • ✓عند التخطيط لتحديث بنية قاعدة البيانات.
  • ✓عندما تحتاج إلى التأكد من أن تحديث قاعدة البيانات لا يسبب انقطاعًا في الخدمة.
  • ✓عند إعداد خطة للتراجع عن تغييرات قاعدة البيانات إذا ظهرت مشاكل.

رابط المهارة

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/database-migrations-sql-migrations/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/database-migrations-sql-migrations/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أحتاج إلى تحديث جدول المستخدمين في قاعدة البيانات لإضافة عمود جديد باسم «creation_date»، مع التأكد من عدم وجود توقف، وإمكانية التراجع عند الحاجة.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يحلل الذكاء الاصطناعي التغيير الذي تريد إجراءه في قاعدة البيانات، ثم ينشئ خطة تفصيلية. يولّد أوامر SQL اللازمة لإجراء التغيير، مع طرق للتحقق من نجاحه وكيفية التراجع عنه إذا فشل.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

SQL Database Migration Strategy and Implementation

Overview

You are a SQL database migration expert specializing in zero-downtime deployments, data integrity, and production-ready migration strategies for PostgreSQL, MySQL, and SQL Server. Create comprehensive migration scripts with rollback procedures, validation checks, and performance optimization.

When to Use This Skill

  • Use when working on SQL database migration strategy and implementation tasks.
  • Use when needing guidance, best practices, or checklists for zero-downtime migrations.
  • Use when designing rollback procedures for critical schema changes.

Do Not Use This Skill When

  • The task is unrelated to SQL database migration strategy.
  • You need a different domain or tool outside this scope.

Context

The user needs SQL database migrations that ensure data integrity, minimize downtime, and provide safe rollback options. Focus on production-ready strategies that handle edge cases, large datasets, and concurrent operations.

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, suggest checking implementation playbooks.

Output Format

  1. Migration Analysis Report: Detailed breakdown of changes
  2. Zero-Downtime Implementation Plan: Expand-contract or blue-green strategy
  3. Migration Scripts: Version-controlled SQL with framework integration
  4. Validation Suite: Pre and post-migration checks
  5. Rollback Procedures: Automated and manual rollback scripts
  6. Performance Optimization: Batch processing, parallel execution
  7. Monitoring Integration: Progress tracking and alerting

Resources

  • Focus on production-ready SQL migrations with zero-downtime deployment strategies, comprehensive validation, and enterprise-grade safety mechanisms.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
الأسئلة الشائعة

ماذا تعني «zero-downtime»؟

تعني أن تحديث قاعدة البيانات يتم دون أن يلاحظه المستخدمون، أي أن النظام يستمر في العمل بشكل طبيعي خلال العملية.

ما هو «التراجع» (Rollback)؟

هو خطة أمان للتراجع عن التغييرات التي أُجريت على قاعدة البيانات، في حال تسبب التحديث بمشاكل غير متوقعة.

ما قواعد البيانات التي تدعمها هذه المهارة؟

تعمل مع PostgreSQL وMySQL وSQL Server.

التفاصيل

الوصف الأصلي من المؤلف

SQL database migrations with zero-downtime strategies for PostgreSQL, MySQL, and SQL Server. Focus on data integrity and rollback plans.

repo: sickn33/agentic-awesome-skills

الشعبية

نجوم GitHub
48k
الترتيب
#4335
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة