drizzle-knowledge-patch
Installation
SKILL.md
Drizzle ORM Knowledge Patch
Working method
Use this patch when changing Drizzle queries, schema-derived validation, or Drizzle Kit execution.
Before editing:
- Identify the installed
drizzle-ormanddrizzle-kitpackage versions. - Identify whether the CLI is launched by Node, Bun, or Deno.
- Check whether the project imports
drizzle-zod. - Search for dynamic values passed to
sql.identifier()orsql.as(). - Read the reference matching the task before choosing a migration.
Keep package versions distinct while reasoning: