sz-liquibase-db-compat
Skill by feiyuchuixue
sz-liquibase-db-compat is a workflow skill for designing, reviewing, fixing and validating Liquibase migrations that must work on both MySQL and PostgreSQL. It is aimed at developers working on the Sz-Admin backend.
Install sz-liquibase-db-compat
Built from the published package, never by AI.
git clone --depth 1 https://github.com/feiyuchuixue/sz-boot-parent /tmp/sz-boot-parent && mkdir -p ~/.claude/skills && cp -r /tmp/sz-boot-parent/docs/codex-skills/skills/sz-liquibase-db-compat ~/.claude/skills/sz-liquibase-db-compatRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/feiyuchuixue/sz-boot-parent /tmp/sz-boot-parent && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/sz-boot-parent/docs/codex-skills/skills/sz-liquibase-db-compat ~/.gemini/antigravity-cli/skills/sz-liquibase-db-compatAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install sz-liquibase-db-compat in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
sz-liquibase-db-compat is a workflow skill for designing, reviewing, fixing and validating Liquibase migrations that must work on both MySQL and PostgreSQL in the Sz-Admin project. It covers db/changelog XML files, changeSet structure, module changelog includes, type differences between the two databases, initial data, upgrade scripts, code generator output, and role, menu, dictionary and configuration migrations.
Before any conclusion, the skill requires reading the project knowledge file docs/project-knowledge-conventions.md and reports its status. It advises explicit includes, idempotent preconditions, and dbms-specific properties or split changesets where the two databases differ. It asks before running live migrations, destructive SQL or changing published framework changeSet IDs, and it says XML checks alone do not prove runtime success. It is for developers maintaining Sz-Admin database changes.
Written from the project's SKILL.md and checked against it.
What it can do
- Task classificationSorts a database task into new changelogs, schema changes, seed data, upgrade scripts, generator output or code checks.
- Changelog boundariesPicks the right place for a change: service master, module changelog, version init file or table-level file.
- Idempotent designAdds preconditions with MARK_RAN and stable changeSet IDs so changes are safe to repeat.
- Dual-database compatibilityUses dbms-specific properties or split changesets where MySQL and PostgreSQL differ.
- Application coupling checksChecks PO and DTO fields, Mapper XML, TypeHandlers and data permission settings alongside migrations.
- Verification stepsChecks XML structure, include paths and duplicate changeSet IDs, and compiles affected services.
- ReportingReports changed changeSet IDs, how each database is handled, the idempotency strategy and remaining risks.
What you need
- Sz-Admin backend repository with docs/project-knowledge-conventions.md
- Liquibase changelog files under db/changelog
- Ability to compile affected services (service POM)
Try asking
- Review this Liquibase changelog for MySQL and PostgreSQL compatibility.
- Add a new table changelog in a Sz-Admin module with idempotent preconditions.
- Check whether this generator output works on both MySQL and PostgreSQL.
Good to know
- Must ask the user before running migrations on a live database.
- Must ask before destructive SQL such as DROP, TRUNCATE or unscoped DELETE/UPDATE.
- XML checks alone do not prove a runtime migration succeeded.
- MySQL results do not prove PostgreSQL compatibility, and the reverse.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: docs/codex-skills/skills/sz-liquibase-db-compat/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
agents/openai.yaml290 B -
references/current-liquibase-map.md4 KB
Alternatives to sz-liquibase-db-compat
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
sz-liquibase-db-compat: common questions
Does this skill run migrations on a live database?
No. The source says it must ask the user before running a migration against a live database.
Does passing XML checks mean a migration works?
No. The source says XML checks alone do not justify a claim of successful runtime migration.
Which databases does it cover?
MySQL and PostgreSQL. The source says compatibility must be checked for both paths and not assumed from one.
How do I install sz-liquibase-db-compat?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is sz-liquibase-db-compat free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is sz-liquibase-db-compat safe to use?
It scores 72 of 100. Grades: maintenance B, licence A, quality B. 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 sz-liquibase-db-compat?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
