516-frameworks-micronaut-mongodb-migrations-mongock
Skill by jabrena
Guides AI assistants to add and review Mongock MongoDB data migrations in Micronaut applications. It is for Java developers who use Micronaut Data MongoDB and need controlled, tested schema or data changes.
Install 516-frameworks-micronaut-mongodb-migrations-mongock
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jabrena/plinth /tmp/plinth && mkdir -p ~/.claude/skills && cp -r /tmp/plinth/skills/516-frameworks-micronaut-mongodb-migrations-mongock ~/.claude/skills/516-frameworks-micronaut-mongodb-migratiRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install 516-frameworks-micronaut-mongodb-migrations-mongock in Claude Code
git clone --depth 1 https://github.com/jabrena/plinth /tmp/plinth && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/plinth/skills/516-frameworks-micronaut-mongodb-migrations-mongock ~/.gemini/antigravity-cli/skills/516-frameworks-micronaut-mongodb-migratiAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install 516-frameworks-micronaut-mongodb-migrations-mongock in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant guidance for adding and reviewing Mongock MongoDB data migrations in Micronaut applications, including Micronaut Data MongoDB. It covers choosing a Mongock runner and driver, wiring the runner through Micronaut beans, configuring migration scan packages, and writing code-first @ChangeUnit classes with @Execution and rollback hooks.
It also covers locking, idempotency, transaction limits, and startup versus controlled-job execution. Integration tests use @MicronautTest with Testcontainers MongoDB. The skill tells the assistant to compile before making changes and run a clean verify afterwards. It points to a companion skill for Micronaut MongoDB persistence patterns and is aimed at developers maintaining Micronaut services that use MongoDB.
Written from the project's SKILL.md and checked against it.
What it can do
- Runner and driver selectionSelects compatible Mongock coordinates for a Micronaut project.
- Micronaut bean wiringWires the Mongock runner through Micronaut beans and sets migration scan packages.
- ChangeUnit migrationsWrites idempotent @ChangeUnit classes with @Execution and rollback hooks.
- Lock and transaction reviewChecks lock, transaction, and migration ordering settings.
- Testcontainers verificationRuns @MicronautTest integration tests against MongoDB in Testcontainers.
- Build verificationRuns compile before changes and clean verify after applying them.
What you need
- Micronaut project with a pom.xml
- Maven, via ./mvnw or mvn
Try asking
- Add Mongock migrations to my Micronaut MongoDB service
- Review my Mongock change units for idempotency and ordering
- Create a ChangeUnit that backfills a new field in MongoDB
Good to know
- Compilation must succeed before changes; if it fails, the skill stops.
- If no compatible Micronaut-specific Mongock runner exists, an explicit standalone runner bean or job is used and the trade-off is documented.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/516-frameworks-micronaut-mongodb-migrations-mongock/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB -
references/516-frameworks-micronaut-mongodb-migrations-mongock-antipatterns.md5 KB -
references/516-frameworks-micronaut-mongodb-migrations-mongock-parallel-change.md3 KB -
references/516-frameworks-micronaut-mongodb-migrations-mongock.md15 KB
Alternatives to 516-frameworks-micronaut-mongodb-migrations-mongock
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
516-frameworks-micronaut-mongodb-migrations-mongock: common questions
What does this skill help with in Micronaut?
It helps add and review Mongock MongoDB data migrations, including runner setup, bean wiring, and @ChangeUnit classes.
How does it verify changes?
It runs a Maven compile before changes and a clean verify after, including @MicronautTest tests with Testcontainers MongoDB where feasible.
Does it work with Micronaut Data MongoDB?
Yes, the skill covers configuring Mongock change units with Micronaut Data MongoDB and coordinates with a related Micronaut MongoDB persistence skill.
How do I install 516-frameworks-micronaut-mongodb-migrations-mongock?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is 516-frameworks-micronaut-mongodb-migrations-mongock free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is 516-frameworks-micronaut-mongodb-migrations-mongock safe to use?
It scores 75 of 100. Grades: maintenance A, 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 516-frameworks-micronaut-mongodb-migrations-mongock?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
