A pre-deployment health check tool for Prisma migrations that prevents broken database states in production.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install prisma-migrate-guard
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install prisma-migrate-guard using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Prisma Migrate Guard is a specialized Openclaw Skills utility designed to act as a fail-fast mechanism in your CI/CD pipeline. It programmatically inspects the state of your Prisma migrations before any schema changes are actually applied, ensuring that your database is in a healthy, synchronized state.
By integrating this skill, developers can detect drift, failed migrations, and missing environment variables early in the deployment lifecycle. It provides a read-only safety layer that validates the integrity of the database schema without making any accidental modifications, making it a critical component for teams practicing continuous delivery with Openclaw Skills.
To use this Openclaw Skills entry, ensure your environment has Node.js and Bash installed. You can execute the guard script directly from your CLI:
bash scripts/check-prisma-migrate.sh
For custom project structures, you can configure explicit schema paths and database environment variable names:
PRISMA_SCHEMA_PATH=apps/api/prisma/schema.prisma \
PRISMA_MIGRATE_DB_URL_ENV=POSTGRES_PRISMA_URL \
bash scripts/check-prisma-migrate.sh
The skill utilizes environment variables for configuration and reports status through standard output. The following schema defines the input configuration:
| Variable | Description | Default |
|---|---|---|
PRISMA_SCHEMA_PATH |
File system path to the Prisma schema | prisma/schema.prisma |
PRISMA_MIGRATE_DB_URL_ENV |
The env var key used for DB connection | DATABASE_URL |
PRISMA_MIGRATE_GUARD_ALLOW_UNAPPLIED |
Toggle to warn instead of fail on unapplied migrations | 0 |
PRISMA_MIGRATE_GUARD_ALLOW_DRIFT |
Toggle to warn instead of fail on schema drift | 0 |
Loading
Cluster noisy JUnit test failures into stable, repeatable fingerprints to streamline CI triage and identify root causes.

A static analysis tool to identify security hardening gaps in GitHub Actions workflow files before they reach production.

A diagnostic tool for identifying flaky GitHub Actions workflows by analyzing failure rates across specific trigger events and repositories.

Proactively identify and fix near-timeout GitHub Actions jobs before they break your CI pipeline.

An automated utility to synchronize environment variable tables in your README with .env.example files to prevent documentation drift.

A pre-deployment utility that detects environment variable drift between local configurations and live Render services to prevent failed builds.








































