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

database-migrations-migration-observability

Skill by sickn33

Provides observability patterns for database migrations, covering MongoDB migration metrics, Change Data Capture with Debezium and Kafka, and monitoring dashboards and alerts. It is aimed at engineers running database migrations who want progress, lag and error visibility.

  • Score 86
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install database-migrations-migration-observability

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/database-migrations-migration-observability ~/.claude/skills/database-migrations-migration-observabil

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

Step-by-step: install database-migrations-migration-observability in Claude Code

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

About

This skill gives an AI assistant a set of observability patterns for database migrations. It includes a MongoDB migration wrapper that runs each migration in a session transaction, logs progress with winston, and records Prometheus metrics for duration, documents processed and errors. It also includes a Change Data Capture consumer that reads Kafka topics, tracks event and consumer lag metrics, and commits offsets only after changes are applied. A Debezium PostgreSQL connector can be registered through Kafka Connect.

The skill also covers enterprise monitoring. It shows a monitor that tracks migration progress, flags anomalies such as low throughput or high error rates, and sends Slack or email alerts. It provides a Grafana dashboard definition with panels for progress, data lag and error rate. The source is aimed at developers and database engineers building monitoring for live database migrations.

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

What it can do

  • MongoDB migration metricsWraps each migration in a transaction and records duration, documents processed and errors with Prometheus.
  • CDC event consumptionReads change events from a Kafka topic and tracks events processed and consumer lag.
  • Debezium connector setupRegisters a Debezium PostgreSQL connector through the Kafka Connect REST API.
  • Migration progress trackingPolls a running migration and records rows migrated and data lag every 30 seconds.
  • Anomaly detectionFlags low throughput below half the expected rate and error rates above 1 percent.
  • Slack and email alertsSends alert messages to a Slack webhook or email, with colour by severity.
  • Grafana dashboard creationCreates a migration monitoring dashboard with progress, data lag and error rate panels.

What you need

  • Node.js with mongodb, winston and prom-client packages
  • Python with kafka, prometheus_client, requests and numpy packages
  • Kafka and Kafka Connect with Debezium
  • Grafana API token
  • Slack webhook URL for alerts

Try asking

  • Add Prometheus metrics to my MongoDB migration script
  • Register a Debezium PostgreSQL connector in Kafka Connect
  • Create a Grafana dashboard for migration row counts and data lag

Good to know

  • Several helper functions and variables, such as apply_to_target, parse_cdc_event and calculate_progress_stats, are used but not defined in the source.
  • The CI/CD section at the end of the source is cut off and has no content.
  • The front matter labels this skill as risk: critical.

Security check

A

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

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

Inside the skill

  • SKILL.md15 KB

Alternatives to database-migrations-migration-observability

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

database-migrations-migration-observability: common questions

What does the migration observability skill monitor?

The source describes monitoring for MongoDB migrations, CDC event flow through Kafka and Debezium, and migration progress, data lag and errors. It also covers alerting and Grafana dashboards.

Which databases does this skill cover?

The source shows a MongoDB migration example and a Debezium PostgreSQL connector example. It does not say which other databases are supported.

Does the skill send alerts?

The source includes an alerting system that sends messages to Slack through a webhook and includes an email option. Anomalies such as low throughput and high error rates trigger alerts.

How do I install database-migrations-migration-observability?

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

Is database-migrations-migration-observability free?

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

Is database-migrations-migration-observability safe to use?

It scores 86 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 database-migrations-migration-observability?

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

database-migrations-migration-observability Install

Add to stack

Loading.