database-migrations
Skill0 starsChanged 5 months agoMITView on GitHub
Design, review, or execute application database schema and data migrations with existing-tool fidelity, compatibility staging, lock-aware rollout, recoverability, and isolated verification. Use for schema, data backfill, or migration pipeline changes.
33 other projects use a version of this.
Adopted by
Most recently taken up by
- Lukk17/agent-standardstheir own version, first seen Oct 5, 2026
- JameMy0001/antigravity-skills-hubtheir own version, first seen Oct 2, 2026
- productionx-in/Core-Skillstheir own version, first seen Sep 29, 2026
- lintangknitto/agent-skillstheir own version, first seen Sep 23, 2026
- templetongroup/radianttheir own version, first seen Sep 17, 2026
- MortuisVMain/ai-agent-superpowerstheir own version, first seen Sep 15, 2026
Used with
Projects with it also use deployment-patterns, postgres-patterns and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
InfopibeSkilldeployment-patterns
Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications.
Also in 6 projects that use this
joneqianSkillpostgres-patterns
PostgreSQL database patterns for query optimization, schema design, indexing, and security. Based on Supabase best practices.
Also in 5 projects that use this
InfopibeSkillautonomous-loops
Patterns and architectures for autonomous Claude Code loops — from simple sequential pipelines to RFC-driven multi-agent DAG systems.
Also in 3 projects that use this
Svenja-devSkille2e-testing
Also in 6 projects that use this
xfstudioSkillpython-patterns
Python development principles and decision-making. Framework selection, async patterns, type hints, project structure. Teaches thinking, not copying.
Also in 4 projects that use this
xfstudioSkillarchitecture-decision-records
Write and maintain Architecture Decision Records (ADRs) following best practices for technical decision documentation. Use when documenting significant technical decisions, reviewing past architectural choices, or establishing decision processes.
Also in 4 projects that use this
- +1 more from Infopibe
Other versions33 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 33
- xu-xiang/everything-claude-code-zh★ 2ksame name
- loulanyue/awesome-claude-notes★ 272same name
- tpavanipradeep/everything-claude-code★ 134same name
- langchain-ai/skills-benchmarks★ 118same name
- templetongroup/radiant★ 113same name
- Jamkris/everything-gemini-code★ 87same name
- skateddu/claude-code-python-setup★ 28same name
- noah-sheldon/ai-dev-kit★ 13same name
- wpank/ai★ 11same name
- vanara-agents/skills★ 9same name
23 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository33 other files it gives its agents.
- AGENTS.mdAGENTS.md
- api-designSkill
- architecture-consultantSkill
- backend-patternsSkill
- ci-cdSkill
- code-reviewSkill
- containersSkill
- doc-generatorSkill
- git-workflowSkill
- go-reviewSkill
- luaSkill
- markdownSkill
- nginxSkill
- nodejsSkill
- observabilitySkill
- product-managerSkill
- project-standards-initSkill
- prompt-designSkill
- python-reviewSkill
- reactSkill
- redisSkill
- relay-imagegenSkill
- releaseSkill
- security-baselineSkill
- semi-mcp-setupSkill
- tailwindcssSkill
- test-engineeringSkill
- tibishu-note-searchSkill
- tibishu-notesSkill
- typescript-reviewSkill
- unity-csharpSkill
- validation-lintSkill
- vueSkill
The file
Files
Database Migration Engineering
使用范围
用于数据库 schema 变更、数据回填、迁移脚本和迁移流水线审查。先确认数据库类型与版本、迁移工具、当前 schema、数据规模、流量模式、部署顺序和备份/恢复能力;不得在不了解这些事实时选择 DDL 语法或假定事务行为。
工作方式
- 将迁移视为一次跨版本发布,而非单个 SQL 文件。先识别旧应用、旧 schema、新应用和新 schema 在发布窗口内如何并存,并采用适合的 expand–migrate–contract 或项目既有策略。
- 使用现有迁移工具的命名、顺序、校验和与执行模型。迁移内容保持确定、可审查且尽量小;避免把环境特定判断、临时凭据或不可控外部调用混入迁移。
- 评估 DDL 锁、索引创建、表重写、长事务和数据量对线上延迟的影响。大规模回填应分批、可观测、可暂停,并定义重复执行或中断后的恢复语义。
- 向后兼容阶段不要立即删除旧列、改写枚举含义或收紧仍被旧版本写入的约束。收缩操作须在所有读写方迁移完成、数据验证通过后独立进行。
- 回退优先考虑恢复到已知可用状态和数据完整性;并非所有变更都适合简单的 down migration。对不可逆操作说明备份、快照或补偿计划。
- 在与目标版本接近的隔离数据库上测试全新安装、升级、失败中断和必要的应用兼容性。生产执行前确认目标环境、备份状态、变更窗口和审批。
交付与边界
交付应包含变更目的、受影响对象、版本兼容策略、性能/锁风险、数据验证、恢复方案和实际测试结果。具体 ORM、数据库方言、云数据库操作和生产执行命令由项目技能与运维流程决定。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

