Skip to main content

database-development

Choose migration workflows or Drizzle runtime decoding and SQL construction rules

Jump to install

Source facts

Repository
okou-ai/okou
Last source activity
September 8, 2026 at 11:41
Detected SKILL.md language
English
Stars
1,157
Forks
72

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
3 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
database-development
description
Choose migration workflows or Drizzle runtime decoding and SQL construction rules
# Database Development | Task | Read | | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------- | | Schema changes or data migration | [Migration workflows](references/migrations.md) and [DB migrations](../../../turbo/packages/db/MIGRATIONS.md) | | Selections, raw results, or SQL rewrites | [Query contracts](references/query-contracts.md) | | Persisted shapes or deploy order | [Deployment compatibility](../../../docs/deployment-compatibility.md) | Use Drizzle to generate migration metadata; do not hand-edit journals or snapshots. Numbered external-data migration scripts are permanent historical records, even after their referenced schema is retired. Keep them self-contained and dry-run by default. TypeScript generics do not decode PostgreSQL results. Use the first applicable schema column, installed Drizzle helper, or reviewed runtime decoder; preserve nullability, precision, and provenance. Query rewrites must preserve the whole SQL contract, including bindings, transactions, locks, and material plan costs. The query reference contains the complete decision order and examples.
View on GitHub