Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

liquibase-migration

Skill by ls1intum

Guides an AI assistant through writing, changing or debugging a Liquibase schema migration in Artemis. It is for developers who need to add or alter database changes that work on PostgreSQL and MySQL.

  • Score 77
  • 842 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install liquibase-migration

Built from the published package, never by AI.

git clone --depth 1 https://github.com/ls1intum/Artemis /tmp/Artemis && mkdir -p ~/.claude/skills && cp -r /tmp/Artemis/skills/liquibase-migration ~/.claude/skills/liquibase-migration

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install liquibase-migration in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill sets out how to write a Liquibase schema migration for the Artemis codebase. It explains where new changelogs go, how to name changesets, and how to include them in master.xml. It gives a decision procedure for common cases, such as adding a nullable column, adding a NOT NULL constraint, or dropping or renaming a column that code still uses.

The skill also covers rules for seed data, checksums of merged changesets, and rollback safety. It says migrations must work on both PostgreSQL and MySQL, and that triggers and stored routines should not be used. Verification steps include starting the application against a database with data and running the schema checks with verify_schema.py, which needs Docker. It is written for developers contributing schema changes to Artemis.

Written from the project's SKILL.md and checked against it.

What it can do

  • Changelog creationCreates a timestamped changelog and includes it at the end of master.xml.
  • Changeset namingNames changesets as timestamp, sequence and slug, authored by your username.
  • NOT NULL constraintsBackfills or removes invalid rows and verifies no NULL values remain before constraining.
  • Expand and contractDrops or renames columns across two releases so rolling back still works.
  • Rollback compatibility checkChecks that the new schema still accepts reads and writes from the previous version.
  • Dialect guidancePrefers Liquibase change types over raw SQL and checks raw SQL against both databases.
  • Seed data placementDirects seed data into data/ rather than changelog/.
  • Verification stepsRuns the app with bootRun and the schema checks in verify_schema.py before pushing.

What you need

  • Docker, for the verify_schema.py schema checks
  • Python 3, to run the verification scripts
  • Gradle wrapper (./gradlew) in the Artemis repository
  • A local database that already contains data, for testing backfills

Try asking

  • Add a nullable column to a table with a Liquibase changelog in Artemis
  • Help me make an existing column NOT NULL safely in a migration
  • Check my Liquibase changeset for PostgreSQL and MySQL compatibility

Good to know

  • Triggers and stored routines are not allowed in migrations.
  • CI tests PostgreSQL only, so MySQL-only breaks need local validation.
  • Schema checks use empty databases and do not test backfills.
  • Merged changesets cannot have their change elements edited without breaking checksums.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/liquibase-migration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to liquibase-migration

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

liquibase-migration: common questions

Can I edit a changeset that is already merged?

No. Liquibase records a checksum over the forward change elements and any modifySql, and the application refuses to start if it no longer matches. Comments, comment elements and rollback bodies can be corrected.

Where does seed data go in a Liquibase migration?

Seed data goes in data/, not changelog/. A folded changeset is recorded rather than executed on a fresh installation, so seed rows placed in changelog/ would be missing.

Are triggers allowed in Artemis migrations?

No. The source says the repository removed its last trigger when it moved to PostgreSQL and has rejected proposals to add new ones.

How do I install liquibase-migration?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is liquibase-migration free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is liquibase-migration safe to use?

It scores 77 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to liquibase-migration?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

liquibase-migration Install

Add to stack

Loading.