본문으로 건너뛰기
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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/database-migrations-sql-migrations/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“사용자 테이블에 'creation_date' 열을 추가해야 합니다. 서비스 중단이 없어야 하고, 필요하면 되돌릴 수 있어야 합니다.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 데이터베이스에서 바꿔야 할 것을 분석하고 자세한 계획을 세웁니다. 변경에 필요한 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.
자주 묻는 질문

'무중단'은 무엇을 뜻하나요?

사용자가 눈치채지 못하게 데이터베이스 업데이트를 수행한다는 뜻입니다. 즉, 과정 중에도 시스템이 정상적으로 작동합니다.

'롤백'이란 무엇인가요?

업데이트가 예상치 못한 문제를 일으킬 경우를 대비해 데이터베이스에 적용한 변경을 되돌리는 안전 계획입니다.

이 도구는 어떤 데이터베이스를 지원하나요?

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
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬