·postgres-migrations
</>

postgres-migrations

frizzle-chan/mudd

编写安全的 PostgreSQL 迁移,避免阻塞读/写。在创建迁移、添加列、索引、约束或修改表时使用。基于 Squawk linter 规则。

5安装·2热度·@frizzle-chan

安装

$npx skills add https://github.com/frizzle-chan/mudd --skill postgres-migrations

SKILL.md

This skill helps you write migrations that avoid blocking reads/writes in production. Based on Squawk linter rules.

After writing a migration, verify it with the Squawk CLI:

| Add column with default | ADD COLUMN x INT DEFAULT 1 NOT NULL (PG <11) | Add nullable, set default, backfill, then add NOT NULL | | Add NOT NULL to existing column | ALTER COLUMN x SET NOT NULL | Add CHECK constraint NOT VALID, validate, then SET NOT NULL |

编写安全的 PostgreSQL 迁移,避免阻塞读/写。在创建迁移、添加列、索引、约束或修改表时使用。基于 Squawk linter 规则。 来源:frizzle-chan/mudd。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/frizzle-chan/mudd --skill postgres-migrations
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 postgres-migrations?

编写安全的 PostgreSQL 迁移,避免阻塞读/写。在创建迁移、添加列、索引、约束或修改表时使用。基于 Squawk linter 规则。 来源:frizzle-chan/mudd。

如何安装 postgres-migrations?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/frizzle-chan/mudd --skill postgres-migrations 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/frizzle-chan/mudd

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01