Borrowing it
Nothing to install: this file belongs to wordbricks/onequery. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/wordbricks/onequery/main/.agents/skills/drizzle-migration-conflict-resolution/SKILL.mdgit clone --depth 1 https://github.com/wordbricks/onequeryWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/wordbricks/onequery/drizzle-migration-conflict-resolution)<a href="https://agentmods.dev/skills/wordbricks/onequery/drizzle-migration-conflict-resolution"><img src="https://agentmods.dev/badge/skills/wordbricks/onequery/drizzle-migration-conflict-resolution/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/wordbricks/onequery/drizzle-migration-conflict-resolution"><img src="https://agentmods.dev/badge/skills/wordbricks/onequery/drizzle-migration-conflict-resolution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00073 | $0.00565 |
| Opus 5.5 | $0.00029 | $0.00226 |
| Sonnet 5.5 | $0.00015 | $0.00113 |
| Haiku 4.5 | $0.00007 | $0.00056 |
Grade A, and why
drizzle-migration-conflict-resolution scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DB Migration Conflict Resolution
Goal
Resolve Drizzle migration conflicts without manually editing migration SQL or meta/_journal.json.
Workflow
- Inspect conflict scope.
- Run
git status --short. - Confirm the migration conflict includes
packages/db/src/migrations/meta/_journal.json. - If non-migration conflicts need product decisions, stop and ask the user.
- Fetch the base branch.
- Run
git fetch origin. - Default to
origin/mainunless the user requests another base branch.
- Keep incoming journal history as baseline.
- Run
git checkout --theirs packages/db/src/migrations/meta/_journal.json. - Do not hand-edit
packages/db/src/migrations/meta/_journal.json.
- Find local-only migration artifacts.
- Run:
comm -23 <(git ls-tree -r --name-only HEAD packages/db/src/migrations | sort) \
<(git ls-tree -r --name-only origin/main packages/db/src/migrations | sort)
- Treat returned SQL and snapshot files as local-only migration history.
- Remove local-only migration artifacts.
- Run
git rm <each-local-only-file>for returned migration SQL and snapshot files. - Keep incoming branch migration files intact.
- Regenerate migration chain from schema.
- Run
cd packages/db && bun run db:generate. - Let Drizzle regenerate the next migration and update
meta/_journal.json.
- Stage and verify.
- Run
git add packages/db/src/migrations packages/db/src/migrations/meta/_journal.json. - Confirm no conflict markers remain:
rg -n "^(<<<<<<<|=======|>>>>>>>)" packages/db/src/migrations/meta/_journal.json
- Inspect generated SQL and verify it reflects expected schema deltas only.
- Finalize merge/rebase.
- Continue merge/rebase flow with
git commitorgit rebase --continue. - If pre-commit/pre-push hooks rewrite migration metadata formatting, commit the formatted files so the branch is clean.
Guardrails
- Never manually create or edit files inside
packages/db/src/migrations/. - Never manually edit
packages/db/src/migrations/meta/_journal.json. - Regenerate via
bun run db:generateafter history rewind. - If generated migration includes unexpected schema changes, stop and ask the user before committing.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 58 lines · 73 tokens per session scan A 76cf412e6623
drizzle-migration-conflict-resolution is a skill published in the GitHub repository wordbricks/onequery (16 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 73 tokens to every session and 565 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-25.
drizzle-migration-conflict-resolution compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| drizzle-migration-conflict-resolutionwordbricks/onequery | Skill | 16 | 4mo ago | Apache-2.0 | A | 73 | Codex |
| doris-repo-reviewapache/doris-skills | Skill | 52 | 4d ago | Apache-2.0 | A | 200 | Claude Code, Codex |
| doris-debug-importapache/doris-skills | Skill | 52 | 4d ago | Apache-2.0 | A | 58 | Claude Code, Codex |
| officecli-pitch-deckiOfficeAI/OfficeCLI | Skill | 34k | 10d ago | Apache-2.0 | A | 163 | Claude Code, Codex |
| morph-pptiOfficeAI/OfficeCLI | Skill | 34k | 10d ago | Apache-2.0 | A | 169 | Claude Code, Codex |
| officecli-academic-paperiOfficeAI/OfficeCLI | Skill | 34k | 10d ago | Apache-2.0 | A | 141 | Claude Code, Codex |
| officecli-pptxiOfficeAI/OfficeCLI | Skill | 34k | 10d ago | Apache-2.0 | A | 106 | Claude Code, Codex |