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-migration

SKILL.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

  1. Inspect table size and write paths.
  2. Split expand, backfill, validate, and contract phases.
  3. Choose online-safe DDL where possible.
  4. Make the migration resumable and observable.
  5. Provide verification and rollback instructions.

Reference Files

TopicFileLoad when
Non Null Columnreferences/non-null-column.mdRead when the task directly involves this topic
Online Indexreferences/online-index.mdRead 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/177-liukuan/tencentdb-agent-memory-eval-kit/postgres-safe-migration/badge)](https://verified-skill.com/skills/177-liukuan/tencentdb-agent-memory-eval-kit/postgres-safe-migration)

Something wrong with this skill or its page? Tell us.