CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

database-migrations-sql-migrations

This skill covers migration strategies for PostgreSQL, MySQL, and SQL Server, including expand-contract or blue-green deployment, large datasets, and concurrent operations. It calls for actionable migration plans, version-controlled SQL, pre- and post-migration validation, rollback procedures, performance optimization, and monitoring. Detailed patterns are referenced in an implementation playbook.

Quality

56%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Fix and improve this skill with Tessl

tessl review fix ./.agent/skills/database-migrations-sql-migrations/SKILL.md
SKILL.md
Quality
Evals
Security

SQL Database Migration Strategy and Implementation

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.

Use this skill when

  • Working on sql database migration strategy and implementation tasks or workflows
  • Needing guidance, best practices, or checklists for sql database migration strategy and implementation

Do not use this skill when

  • The task is unrelated to sql database migration strategy and implementation
  • 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.

Requirements

$ARGUMENTS

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

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

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

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

🧠 Knowledge Modules (Fractal Skills)

1. implementation-playbook

Repository

Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

Path

.agent/skills/database-migrations-sql-migrations/SKILL.md

Last updated
First committed
Purpose
DevelopmentDatabase managementDevOps
Form
WorkflowRulesBest practicesReference

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.