What problem does it solve? After editing a Drizzle schema, developers need a reliable way to produce the corresponding migration SQL file without hand-writing SQL or guessing at ambiguous changes like renames versus new columns. ## Core Features & Use Cases - Migration Generation: Runs drizzle-kit generate via CLI or the generate(...) SDK to diff the schema against the latest snapshot and write a new migration SQL file. - Structured JSON Envelope: Decodes the discriminated-union response envelope (ok, no_changes, missing_hints, error) so agents and CI pipelines can branch on typed outcomes and exit codes. - Dry-Run and Hints Support: Uses --explain for dry-run statement previews and --hints/--hints-file to resolve ambiguous diffs before writing files. - Use Case: After adding a email_v2 column to the users table in your Drizzle schema, run the generate command with --output json to produce drizzle/0001_name/migration.sql, or receive a missing_hints response telling you exactly which ambiguity to resolve. ## Quick Start Ask the AI to generate a new Drizzle migration from the current schema using drizzle-kit generate with JSON output and the existing drizzle.config.ts.