postgres-database-migration

Zero-downtime Postgres migrations, with the locking behaviour spelled out — which ALTER TABLE takes an AccessExclusiveLock and what to do instead.

Score 0(?)VerifiedCodeby TigerData (Timescale)SourceDocs
Verified for:

Install

$ npx skills add timescale/pg-aiguide --skill postgres-database-migration

Bundles references for backfill strategies, validation queries, and a complete worked example.

Best for

A schema change on a live table where the failure mode is a lock that takes production down, not a syntax error.

Not ideal for

Greenfield schemas with no data and no traffic — the whole value here is in the constraints that only exist once a table is live.

About this skill

Use when testing a schema migration before applying it to production; adding, removing or renaming columns safely on a live table; changing a column's data type without downtime; understanding which ALTER TABLE operations lock the table; rolling back a failed migration; or planning a zero-downtime migration strategy. Covers AccessExclusiveLock behaviour, concurrent index creation, and backfill strategies.

MigrationsPostgreSQLZero downtime

Score breakdown

Score breakdown

rubric 1.0
Install count
0/20
Provenance
12.8/15
GitHub stars
9.2/15
Recency
6/10
Compatibility
2/10
Documentation depth
10/10
Install ergonomics
10/10
License
5/5
Verification freshness
0.5/5

Composite 0–100 score derived from 9 verifiable signals. See the rubric →

PlanetScale's schema branching and index-aware queries, packaged for agents.

SchemaMigrationsMySQL
Code
Medium4 min

Supabase done right. RLS policies, edge functions, realtime, auth — in idiomatic patterns.

PostgresRLSRealtime
Code
Medium4 min

Prisma migrations and queries by the book. Index-aware, migration-safe, type-correct.

PrismaTypeScriptMigrations
Code
Medium3 min

Ranked #6 in Databases

Publish the ranking in your README. The badge reads the live score, so it updates when the ranking does.

postgres-database-migration — ranked #6 in Databases on Top Agent Skills
Markdown
[![postgres-database-migration — ranked #6 in Databases on Top Agent Skills](https://top-agent-skills.com/badge/postgres-migrations.svg)](https://top-agent-skills.com/skill/postgres-migrations)
HTML
<a href="https://top-agent-skills.com/skill/postgres-migrations"><img src="https://top-agent-skills.com/badge/postgres-migrations.svg" alt="postgres-database-migration — ranked #6 in Databases on Top Agent Skills"></a>

Skill FAQ

About postgres-database-migration

What is the postgres-database-migration skill?

Use when testing a schema migration before applying it to production; adding, removing or renaming columns safely on a live table; changing a column's data type without downtime; understanding which ALTER TABLE operations lock the table; rolling back a failed migration; or planning a zero-downtime migration strategy. Covers AccessExclusiveLock behaviour, concurrent index creation, and backfill strategies.

Which agents does postgres-database-migration work with?

Claude Code.

How do I install postgres-database-migration?

Run `npx skills add timescale/pg-aiguide --skill postgres-database-migration` for Claude Code. See the install panel for per-agent commands.

Is postgres-database-migration free to use?

Yes — postgres-database-migration is open source (Apache-2.0).

Who maintains postgres-database-migration?

postgres-database-migration is published by TigerData (Timescale) and was last updated on 2026-06-26.

What is postgres-database-migration best for?

A schema change on a live table where the failure mode is a lock that takes production down, not a syntax error.