跳到正文
FunCoding

branch-migration

Test a database migration on a Neon branch before it touches the main branch by creating the branch, running the migration, comparing schemas and checking queries, then applying or discarding it. Use for any schema change on a Neon project.

Star
961
许可证
Apache-2.0
最近提交
2026年11月30日

catalog/plugins/neon/skills/branch-migration/SKILL.md

在 GitHub 上查看

Test a migration on a Neon branch

  1. Find the Neon project and the branch the app uses (ask if there are several).
  2. Create a branch from it, named after the change.
  3. Run the migration there, using the repository's migration tool where one exists, so the migration history stays consistent.
  4. Compare the schema of the new branch with its parent and check that the diff is exactly what you intended.
  5. Run the queries the changed code depends on against the branch and check their plans for sequential scans on large tables.
  6. Report the result. Apply to the parent branch only when the user says so, then delete the test branch.

相似的 Skill

rea-ci-tests-audit

MOmorluto/rea485k近 7 天新增 9,215 个 star

rea-changelog-update

MOmorluto/rea485k近 7 天新增 9,215 个 star

wizard

MAmattpocock/skills336k近 7 天新增 5,004 个 star

pr

MAmattpocock/skills336k近 7 天新增 5,004 个 star

triage

MAmattpocock/skills336k近 7 天新增 5,004 个 star

精选

git-guardrails-claude-code

阻止危险的 git 命令,避免误推、误删分支。

MAmattpocock/skills336k近 7 天新增 5,004 个 star