본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)76k · #2628

migration-review

하는 일

이 스킬은 데이터베이스 마이그레이션 파일을 병합 전에 안전성 측면에서 검토합니다. 데이터베이스 구조를 바꾸면서 먼저 신중한 점검을 원하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓데이터베이스 마이그레이션 파일을 추가하거나 수정한 변경을 병합하기 전일 때.
  • ✓마이그레이션을 안전하게 롤백할 수 있는지 알고 싶을 때.
  • ✓마이그레이션에 잠금이나 데이터 양 관련 위험이 있는지 점검하고 싶을 때.

스킬 링크

https://github.com/rohitg00/ai-engineering-from-scratch/blob/main/certifications/claude/lessons/19-claude-code-memory-rules-skills-and-ci/outputs/migration-review-skill/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/rohitg00/ai-engineering-from-scratch/blob/main/certifications/claude/lessons/19-claude-code-memory-rules-skills-and-ci/outputs/migration-review-skill/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“새로 만든 마이그레이션 파일을 검토하고, 병합해도 안전한지 알려 주세요.”

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

작동 방식

에이전트는 검토 범위가 마이그레이션 파일뿐인지 확인하고, 각 파일과 그 전제를 읽습니다. 그다음 적용 효과, 롤백의 한계, 잠금 위험, 차단 요소를 보고합니다. 마이그레이션은 직접 적용하지 않습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Migration Review

Review only the migration files named in $ARGUMENTS and the code needed to verify their compatibility. This Skill does not authorize applying a migration.

  1. Run python3 ${CLAUDE_SKILL_DIR}/scripts/check_scope.py $ARGUMENTS.
  2. Stop if the checker rejects any path outside migrations/.
  3. Read references/review-checklist.md.
  4. Inspect each accepted file and its schema assumptions.
  5. Report forward behavior, rollback limits, lock risk, data-volume risk, verification evidence, and unresolved blockers.

Return these headings: Scope, Evidence, Risks, Rollback, Blockers, and Decision. Use Decision: blocked whenever required evidence is missing.

The bundled checker is scripts/check_scope.py. The allowed-tools entry pre-approves only that command for the invocation turn; it does not remove other tools or replace project permission rules.

자주 묻는 질문

마이그레이션을 직접 적용하나요?

아니요. 이 스킬은 파일만 검토하며, 그 파일을 실행해도 된다고 승인하지는 않습니다.

보고서에는 무엇이 들어 있나요?

범위, 근거, 위험, 롤백, 차단 요소, 결정이 들어 있습니다. 근거가 없으면 결정이 차단됩니다.

마이그레이션 폴더 밖의 파일도 검토하나요?

아니요. 파일이 마이그레이션 폴더 밖에 있으면 검토를 멈춥니다.

상세 정보

작성자의 원본 설명

Review database migration files when a change adds or modifies paths under migrations/. Use it before merge to collect forward, rollback, locking, and data-safety evidence.

repo: rohitg00/ai-engineering-from-scratch

인기도

GitHub 스타
76k
순위
#2628
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬