·backend migration standards
</>

backend migration standards

microck/ordinary-claude-skills

通過可逆更改、正確的命名約定和零停機部署策略來創建和管理數據庫遷移。在創建數據庫遷移文件、修改架構、添加或刪除表/列、管理索引或處理數據遷移時使用此技能。在處理遷移文件(例如 db/migrate/、migrations/、alembic/、sequelize 遷移)、架構更改、數據庫版本控制、回滾實現時,或者在部署期間需要確保向後兼容性時應用。用於涉及數據庫結構更改、索引創建、約束脩改或數據轉換腳本的任何任務。

7安裝·0熱度·@microck

安裝

$npx skills add https://github.com/microck/ordinary-claude-skills --skill backend migration standards

SKILL.md

Apply these rules when creating or modifying database migrations. Migrations are permanent records of schema evolution and must be treated with extreme care.

This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle backend migrations.

Reversibility is Mandatory: Every migration MUST have a working rollback method. Test the down migration immediately after writing the up migration. If a change cannot be reversed safely (e.g., dropping a column with data), document why in comments and consider a multi-step approach.

通過可逆更改、正確的命名約定和零停機部署策略來創建和管理數據庫遷移。在創建數據庫遷移文件、修改架構、添加或刪除表/列、管理索引或處理數據遷移時使用此技能。在處理遷移文件(例如 db/migrate/、migrations/、alembic/、sequelize 遷移)、架構更改、數據庫版本控制、回滾實現時,或者在部署期間需要確保向後兼容性時應用。用於涉及數據庫結構更改、索引創建、約束脩改或數據轉換腳本的任何任務。 來源:microck/ordinary-claude-skills。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/microck/ordinary-claude-skills --skill backend migration standards
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 backend migration standards?

通過可逆更改、正確的命名約定和零停機部署策略來創建和管理數據庫遷移。在創建數據庫遷移文件、修改架構、添加或刪除表/列、管理索引或處理數據遷移時使用此技能。在處理遷移文件(例如 db/migrate/、migrations/、alembic/、sequelize 遷移)、架構更改、數據庫版本控制、回滾實現時,或者在部署期間需要確保向後兼容性時應用。用於涉及數據庫結構更改、索引創建、約束脩改或數據轉換腳本的任何任務。 來源:microck/ordinary-claude-skills。

如何安裝 backend migration standards?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/microck/ordinary-claude-skills --skill backend migration standards 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/microck/ordinary-claude-skills