database-migrations-sql-migrations – skill Dữ liệu & Khoa học cho agent AI
Migration cơ sở dữ liệu SQL với chiến lược zero-downtime cho PostgreSQL, MySQL và SQL Server. Tập trung vào tính toàn vẹn dữ liệu và kế hoạch rollback.
Cài skill database-migrations-sql-migrations bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/database-migrations-sql-migrations-82ca3.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /database-migrations-sql-migrations – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/database-migrations-sql-migrations-82ca3.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $database-migrations-sql-migrations – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/database-migrations-sql-migrations-82ca3.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /database-migrations-sql-migrations – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/database-migrations-sql-migrations-82ca3.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /database-migrations-sql-migrations – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
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.
Skill liên quan
- database-optimizer – Chuyên gia tối ưu cơ sở dữ liệu, chuyên về tinh chỉnh hiệu năng hiện đại, tối ưu truy…
- scientific-writing – Soạn thảo, chỉnh sửa và kiểm tra bản thảo hoặc báo cáo khoa học với nguồn gốc bằng chứng…
- dbt-transformation-patterns – Các mẫu sản xuất cho dbt (data build tool) bao gồm tổ chức model, chiến lược kiểm thử…
- serving-llms-vllm – vLLM: phục vụ LLM thông lượng cao, OpenAI API, lượng tử hóa.
- scikit-bio – Bộ công cụ dữ liệu sinh học. Phân tích trình tự, căn chỉnh, cây phát sinh loài, chỉ số…
- spark-environment-setup – Thiết lập môi trường huấn luyện/suy luận ML hoạt động trên NVIDIA DGX Spark (GB10…
- scikit-learn – Hỗ trợ học máy trong Python với scikit-learn. Áp dụng khi làm việc với học có giám sát…
- deep-research – Thực hiện các tác vụ nghiên cứu tự động: lập kế hoạch, tìm kiếm, đọc và tổng hợp thông…