drizzle-migration-conflict
Diagnose, repair, and prevent Drizzle Kit migration conflicts involving generated SQL, snapshots, journals, merge queues, and team workflows.
IT & Software Developmentcidatabasedrizzlemerge-conflictsmigrations
Drizzle Migration Conflict
Use this skill to help a user diagnose, repair, and prevent Drizzle Kit migration conflicts in a multi-developer repository. Drizzle migrations encode both SQL and migration snapshots, so the safe answer depends on the current migration directory shape, the Drizzle Kit version, and the git state.
When to Use This Skill
- Use when Drizzle migration files,
_journal.json, orsnapshot.jsonconflict after a pull, merge, rebase, or PR update. - Use when
drizzle-kit checkreports non-commutative migrations or migration folder conflicts. - Use when a team wants a safe repair flow for generated Drizzle migrations after schema changes converge.
- Use when designing CI or merge-queue policy to prevent repeated Drizzle migration conflicts.
Safety rules
- Start in read-only diagnosis mode unless the user explicitly asks to fix files.
- Do not run
drizzle-kit migrate,drizzle-kit push, database seed scripts, or any command that - Treat
drizzle-kit check, project typechecks, and tests as command execution that may load project - Do not delete migration files, rewrite `_journal.json
connects to a live database unless the user explicitly requests it and the target is clear.
config, environment variables, or scripts. Inspect scripts/config first, and require an explicit non-production or disposable target before any DB-backed validation.
Subscribers only
The full skill, its 6 bundled files and every download is included with every paid Complete AI plan.
Details
| Source | chaunsin/agent-skills |
|---|---|
| License | Apache-2.0 |
| Risk label | critical ("critical" means the skill may run commands or touch files — read before use) |
| Files | SKILL.md, references/ci-policy.md, references/conflict-resolution.md, references/report-template.md, references/sources.md, scripts/check_drizzle_migrations.py |
| Added | 2026-06-29 |
Related skills
database-cloud-optimization-cost-optimize
You are a cloud cost optimization expert specializing in reducing infrastructure expenses while maintaining performance and reliability. Analyze cloud spending, identify savings opportunities, and implement cost-effective architectures across AWS, Azure, and GCP.
database-migration
Master database schema and data migrations across ORMs (Sequelize, TypeORM, Prisma), including rollback strategies and zero-downtime deployments.
database-migrations-migration-observability
Migration monitoring, CDC, and observability infrastructure
database-migrations-sql-migrations
SQL database migrations with zero-downtime strategies for PostgreSQL, MySQL, and SQL Server. Focus on data integrity and rollback plans.
database-security
Authorized database security assessment across PostgreSQL, MySQL, MSSQL, MongoDB, and Redis: exposure, authorization gaps, UDF/command execution paths, and misconfiguration review.
drizzle-orm-expert
Expert in Drizzle ORM for TypeScript — schema design, relational queries, migrations, and serverless database integration. Use when building type-safe database layers with Drizzle.
