drizzle-migration-conflict
Skill by sickn33
Diagnoses, repairs and prevents Drizzle Kit migration conflicts in multi-developer repositories. Aimed at teams facing conflicting SQL, snapshots and journals after merges, rebases or PR updates.
Install drizzle-migration-conflict
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/drizzle-migration-conflict ~/.claude/skills/drizzle-migration-conflictRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install drizzle-migration-conflict in Claude Code
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/drizzle-migration-conflict ~/.gemini/antigravity-cli/skills/drizzle-migration-conflictAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install drizzle-migration-conflict in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The drizzle-migration-conflict skill helps an AI assistant diagnose, repair, and prevent Drizzle Kit migration conflicts in a multi-developer repository. It covers generated SQL, migration snapshots, _journal.json files, merge queues, and team workflows. Each task is classified as Diagnose, Repair, CI hardening, or Explain, and the skill starts in read-only diagnosis unless the user asks for file changes.
The skill identifies whether migrations use the legacy or folder-based structure. It includes a helper script, check_drizzle_migrations.py, which runs in read-only mode and never connects to a database. It is intended for developers and teams who see conflicts after pulls, merges, rebases, or PR updates, or who want CI policies that prevent repeated conflicts.
Written from the project's SKILL.md and checked against it.
What it can do
- Diagnose conflictsInspects git state, unmerged files and migration files to explain a conflict in read-only mode.
- Repair migrationsRegenerates migration artifacts from the merged schema after the user confirms the exact files and side.
- CI hardeningProposes CI and merge queue policies to prevent repeated Drizzle migration conflicts.
- Explain modeGives conceptual answers and a team playbook for handling migration conflicts.
- Structure detectionIdentifies legacy, folder-based, or mixed migration layouts before suggesting a fix.
- Helper scriptRuns check_drizzle_migrations.py to report structural migration issues without writing files.
What you need
- git
- Python
- rg (ripgrep)
Try asking
- Diagnose my Drizzle _journal.json conflict after a git merge.
- Design CI that stops merging broken Drizzle migrations.
- Explain how to handle a migration conflict during the folder layout move.
Good to know
- Cannot guarantee that a regenerated migration is production-safe without review.
- Does not run database migration commands unless the user confirms the target and command.
- The helper script is not a sandbox and does not prove SQL commutativity or a single acyclic chain.
- Focused on Drizzle Kit migration conflicts, not general schema design.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/drizzle-migration-conflict/SKILL.md, skills/drizzle-migration-conflict/scripts/check_drizzle_migrations.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB -
references/ci-policy.md4 KB -
references/conflict-resolution.md7 KB -
references/report-template.md3 KB -
references/sources.md4 KB
Show all 6 files
-
scripts/check_drizzle_migrations.py25 KB
Alternatives to drizzle-migration-conflict
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
drizzle-migration-conflict: common questions
Can this skill fix a production Drizzle conflict with drizzle-kit push?
No. The skill advises against drizzle-kit push as a production solution because it skips the auditable migration history teams need.
Does it change my migration files automatically?
No. It starts in read-only diagnosis mode and needs explicit confirmation of the exact files and side before any repair writes.
What happens if the helper script is missing?
The skill falls back to manual git and rg inspection commands and tells the user the helper script was not found.
How do I install drizzle-migration-conflict?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is drizzle-migration-conflict free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is drizzle-migration-conflict safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to drizzle-migration-conflict?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
