Install
$ agentstack add skill-andrewsrigom-agent-skills-drizzle-orm-migrations-and-drizzle-kit ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Drizzle ORM Migrations and Drizzle Kit
Use this skill when the task is about schema rollout, migration generation, introspection, or Drizzle Kit configuration.
Scope
- migration strategy choice
drizzle.config.tsand CLI options- SQL generation and application workflows
- introspection from existing databases
- migration consistency checks and snapshot upgrades
- Drizzle Studio launcher behavior
Routing cues
drizzle-kit,drizzle.config.ts, migration folder layout, introspection, Studio, or migration conflicts -> use this skill- initial package install or upgrade routing -> use
drizzle-orm-overview-and-setup - schema declaration -> use
drizzle-orm-schema-and-relations - runtime-specific DB clients -> use
drizzle-orm-drivers-and-runtimes - query code, transactions, cache, or read replicas -> use
drizzle-orm-queries-and-sql
Default path
- Read [references/migration-strategies.md](./references/migration-strategies.md) first.
- If the task is command-specific, read [references/drizzle-kit-command-reference.md](./references/drizzle-kit-command-reference.md).
- Choose the workflow intentionally: code-first
generate/migrate, fast iterationpush, db-firstpull, or external-toolexport. - Keep
schema,out, credentials, and filters in sync between the real project structure anddrizzle.config.ts.
When to deviate
- Use
pushonly when fast iteration or no-migration-file environments justify it. - Use
pullonly when the database is the real source of truth. - Use
exportwhen another system owns SQL execution but Drizzle still owns schema intent. - Move to overview or schema skills when the problem is package/setup or model design rather than rollout mechanics.
Quick example
npx drizzle-kit generate
npx drizzle-kit migrate
Guardrails
- Prefer generated SQL migrations for auditable team workflows. Use
pushdeliberately for fast iteration or non-migration-file environments. - Use
checkwhen multiple developers or branches can create divergent migration histories. - Use
pullwhen the database is the source of truth and you need Drizzle schema from an existing DB. - Use
exportwhen an external system owns SQL execution but Drizzle schema remains the source model. - Keep multiple config files explicit for separate stages or databases instead of overloading one config.
- Treat
schemaFilter,tablesFilter, andextensionsFiltersas correctness controls, not cleanup afterthoughts. drizzle-kit upis part of the v1 upgrade path because the snapshot and migration-folder format changed.- The docs describe local Drizzle Studio as free for local development, not as an OSS/self-hosted production surface.
Avoid
- mixing
generate/migrate,push, and external migration ownership without intent - using one overloaded config for unrelated environments
- ignoring filters until after the wrong schema has been introspected or migrated
- treating local Studio as a production hosting surface
Verification checklist
- the migration workflow is chosen intentionally
- config paths, credentials, and filters match the real project layout
- team-conflict or divergence checks are considered when relevant
- upgrade-path commands like
upare used only in the proper context - Studio usage is scoped correctly
Canonical commands
drizzle-kit generatedrizzle-kit migratedrizzle-kit pushdrizzle-kit pulldrizzle-kit exportdrizzle-kit checkdrizzle-kit updrizzle-kit studio
Maintenance
- Snapshot date: 2026-03-10
- Package snapshot:
drizzle-kit@0.31.9latest, beta tag1.0.0-beta.16-ea816b6
References
- [references/migration-strategies.md](./references/migration-strategies.md)
- [references/drizzle-kit-command-reference.md](./references/drizzle-kit-command-reference.md)
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: andrewsrigom
- Source: andrewsrigom/agent-skills
- License: MIT
- Homepage: https://andrewsrigom.github.io/agent-skills/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.