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

316-frameworks-spring-mongodb-migrations-mongock

Skill by jabrena

Guides an AI assistant to add or review Mongock MongoDB data migrations in Spring Boot apps using Spring Data MongoDB. Aimed at Java developers maintaining Spring services with MongoDB.

  • Score 78
  • 468 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install 316-frameworks-spring-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/316-frameworks-spring-mongodb-migrations-mongock ~/.claude/skills/316-frameworks-spring-mongodb-migrations

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

Step-by-step: install 316-frameworks-spring-mongodb-migrations-mongock in Claude Code

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

About

This skill guides an AI assistant through adding or reviewing Mongock data migrations in a Spring Boot application that uses Spring Data MongoDB. It covers Maven coordinates for the Mongock BOM, the Spring Boot runner and the Spring Data MongoDB driver, along with migration scan package configuration and startup execution. It also covers code-first @ChangeUnit classes with @Execution and rollback hooks.

The workflow asks the assistant to read its reference files and compile before making changes, then run verification afterwards. It stresses locking, idempotency, transaction limits and forward-only rollout. MongoDB-backed integration tests run only when the project already defines an approved runtime or the user approves a pinned container image. It is aimed at Java developers maintaining Spring Boot services that use MongoDB.

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

What it can do

  • Mongock coordinatesSelects Mongock BOM, Spring Boot runner and Spring Data MongoDB driver versions that match the project.
  • Migration scan configurationConfigures mongock.migration-scan-package and startup execution of migrations.
  • ChangeUnit migrationsWrites code-first @ChangeUnit classes with @Execution and rollback hooks.
  • Locking and idempotency reviewChecks locking, idempotency, transaction limits and forward-only rollout discipline.
  • Migration ordering reviewReviews migration ordering inside a Spring service.
  • Optional MongoDB integration checksRuns MongoDB-backed migration checks only with an approved or user-approved pinned container image.

What you need

  • Java project built with Maven (./mvnw or mvn)
  • Spring Boot application using Spring Data MongoDB
  • Docker, only if MongoDB verification with a container image is approved

Try asking

  • Add Mongock migrations to my Spring Boot app for MongoDB
  • Review my Spring MongoDB data migrations for ordering and idempotency
  • Create a Mongock ChangeUnit that adds an index to the users collection

Good to know

  • Stops if the Spring Data MongoDB version is not compatible with the selected Mongock driver.
  • Does not pull or run Docker images for MongoDB verification without explicit user approval.
  • Requires compiling before changes and running clean verify after them.

Security check

A

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

Checked automatically: skills/316-frameworks-spring-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/316-frameworks-spring-mongodb-migrations-mongock-antipatterns.md5 KB
  • references/316-frameworks-spring-mongodb-migrations-mongock-parallel-change.md4 KB
  • references/316-frameworks-spring-mongodb-migrations-mongock.md16 KB

Alternatives to 316-frameworks-spring-mongodb-migrations-mongock

All alternatives →
hugging-face-datasetssickn33
94

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.

AAA Skill 50k
db-repairgarrytan
94

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.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

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.

AAA Skill 116k
fix-slow-queriespaperclipai
94

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.

AAA Skill 119k
prisma-8prisma
94

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.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

316-frameworks-spring-mongodb-migrations-mongock: common questions

What does the Mongock skill check before changing code?

The source says to compile with ./mvnw compile or mvn compile before applying any change, and to stop if compilation fails.

Can it run MongoDB tests in a container?

Only when the project already defines an approved MongoDB test runtime or the user explicitly approves a pinned, policy-approved image.

What happens to Mongock in generic Spring Boot smoke tests?

If those tests do not provide MongoDB, the source says to disable Mongock only for them with mongock.enabled=false.

How do I install 316-frameworks-spring-mongodb-migrations-mongock?

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

Is 316-frameworks-spring-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 316-frameworks-spring-mongodb-migrations-mongock safe to use?

It scores 78 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 316-frameworks-spring-mongodb-migrations-mongock?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

316-frameworks-spring-mongodb-migrations-mongock Install

Add to stack

Loading.