Agent skill
prisma-migrate
Prisma 마이그레이션 생성 및 적용
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/prisma-migrate
SKILL.md
/prisma-migrate
Prisma 스키마 변경 후 마이그레이션을 안전하게 생성합니다.
실행 단계
git diff apps/api/prisma/schema.prisma로 스키마 변경사항 확인- 변경사항 분석 후 마이그레이션 이름 제안
- 사용자 확인 후
pnpm --filter @school/api prisma migrate dev --name <이름>실행 - 생성된 SQL 파일 검토 (
apps/api/prisma/migrations/확인) pnpm --filter @school/api prisma generate로 클라이언트 재생성
주의사항
- 프로덕션 DB에 직접
migrate deploy하지 않음 - 데이터 손실 가능성 있는 변경(컬럼 삭제, 타입 변경 등)은 사용자에게 경고
- 마이그레이션 이름은 snake_case 사용 (예:
add_phone_column)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?