pgplexpgplexOfficialยท6 Agent Skills Included

pgschema

Declarative Terraform-style schema migrations for PostgreSQL databases

Generates PostgreSQL migration plans automatically by comparing your desired schema files against the live database. Eliminates hand-written migration scripts, shadow databases, and manual change sequencing. Dumps, diffs, plans, and applies schema changes safely with concurrent change detection and lock timeout control.
npx skills add pgplex/pgschema --all -g -y
Available:

Tells the AI agent how the pgschema codebase is structured, which development skills to invoke for tasks like testing, bug fixing, and database validation, and how to run builds and tests.

All Skills in This Repository (6)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install pgschema?โ–ผ

Run `npx skills add pgplex/pgschema --all -g -y` in your terminal to install all skills in this suite globally.

How does pgschema differ from Flyway or Liquibase?โ–ผ

Instead of writing numbered migration files, you declare the desired schema as plain SQL and pgschema generates the migration plan automatically, with no history table required.

Does pgschema need a shadow database?โ–ผ

No. It spins up a temporary embedded PostgreSQL instance internally to validate plans and cleans up after itself, so no extra infrastructure is needed.

Which PostgreSQL versions and objects are supported?โ–ผ

pgschema supports PostgreSQL 14 through 18 and covers tables, indexes, triggers, views, functions, row-level security policies, partitions, privileges, and more.

Can AI agents use pgschema for database changes?โ–ผ

Yes. It ships agent-ready skills and llms.txt documentation so AI coding assistants can dump, plan, and apply schema changes safely on your behalf.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’