177-liukuan/tencentdb-agent-memory-eval-kit/postgres-safe-migration
Claude Code and agent skill by 177-liukuan/tencentdb-agent-memory-eval-kit
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when changing a PostgreSQL schema or large dataset in production. Apply this skill for non-null columns, indexes, backfills, constraints, rollback planning, compatibility windows, and migrations that could lock a busy table.
Install
npx vskill@latest install 177-liukuan/tencentdb-agent-memory-eval-kit/postgres-safe-migrationSKILL.md
The same SKILL.md was published earlier as 177-liukuan/tencentdb-agent-memory-eval-kit/postgres-safe-migration.
PostgreSQL Safe Migration
When to Use
- Adding columns or constraints to populated tables
- Building indexes on large tables
- Backfilling data safely
- Planning rollback and compatibility
Core Workflow
- Inspect table size and write paths.
- Split expand, backfill, validate, and contract phases.
- Choose online-safe DDL where possible.
- Make the migration resumable and observable.
- Provide verification and rollback instructions.
Reference Files
| Topic | File | Load when | |
|---|---|---|---|
| Non Null Column | references/non-null-column.md | Read when the task directly involves this topic | |
| Online Index | references/online-index.md | Read when the task directly involves this topic |
Constraints
MUST DO
- Separate long backfills from DDL transactions.
- Plan rollback before deployment.
- Verify application compatibility at every phase.
MUST NOT DO
- Add a blocking default to a huge table without analysis.
- Build a large index with a blocking command in peak traffic.
- Delete old fields before a compatibility window.
Output
Return the changed files or proposed patch, the verification performed, and any remaining risk. Keep unrelated changes out of the final diff.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdataset/skills/postgres-safe-migration/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/177-liukuan/tencentdb-agent-memory-eval-kit/postgres-safe-migration)