Liquibase Migration Generator

Generate deterministic Liquibase migration SQL files for PostgreSQL schemas and tables.

1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/united-software-platform/req-control --skill liquibase-migration-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Liquibase Migration Generator
Source: https://github.com/united-software-platform/req-control/tree/main/.claude/skills/liquibase-migration-generator
Command: npx skills add https://github.com/united-software-platform/req-control --skill liquibase-migration-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Liquibase Migration Generator automates the creation of deterministic Liquibase .sql migration files for PostgreSQL based on user requests to create schemas, create tables, or modify columns, eliminating manual scripting and reducing human error.

Core Features & Use Cases

  • Generates Versioned migration files using the template Version{timestamp}{action}{schema}_{table}.sql.
  • Validates inputs, asks a single clarifying question if data is missing, and writes the migration file to migrations/sql/ without executing migrations.
  • Updates docs/database/schema.sql to reflect the new changes, ensuring the central schema reference stays in sync.

Quick Start

Create a migration file to add a new table invoices in the billing schema using the supported actions.

Frequently Asked Questions about Liquibase Migration Generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Liquibase migration files for PostgreSQL tables?

To generate Liquibase migration files for PostgreSQL, provide a natural language request to create schemas, tables, or columns. The tool parses your input, asks one clarifying question if needed, and writes a deterministic SQL migration file to the migrations/sql/ directory.

Can I create a PostgreSQL schema migration from a natural language description?

Yes, you can create a PostgreSQL schema migration from natural language. The generator extracts schema, table, and column details from your text input, validates data completeness, and automatically produces the corresponding Liquibase SQL file without manual scripting.

What naming convention does the Liquibase PostgreSQL migration generator use?

The Liquibase PostgreSQL migration generator uses the Version{timestamp}_{action}_{schema}_{table}.sql naming convention. This deterministic template ensures every generated migration file in the migrations/sql/ folder is uniquely identified and chronologically ordered.

Does the Liquibase migration generator execute SQL migrations against the database?

No, the Liquibase migration generator does not execute SQL migrations against the database. It strictly writes the migration files to your migrations/sql/ directory and updates the central docs/database/schema.sql reference, ensuring you maintain full control over database execution.

How do I add a new column to an existing PostgreSQL table using Liquibase?

To add a new column to an existing PostgreSQL table using Liquibase, describe the desired column updates in natural language. The tool validates the details and generates a versioned SQL migration file specifying the exact column modifications for your target schema.

Do I need to manually update the schema reference after generating a PostgreSQL migration?

No, you do not need to manually update the schema reference. The migration generator automatically updates the docs/database/schema.sql file to reflect the newly created schemas, tables, or columns, ensuring your central database reference stays synchronized.