Skip to main content

database-development

Choose migration workflows or Drizzle runtime decoding and SQL construction rules

跳到安装

来源信息

仓库
okou-ai/okou
最近来源活动
2026年9月8日 11:41
检测到的 SKILL.md 语言
英语
星标
1,157
分支
72

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
3 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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.
在 GitHub 查看