Overview
- Skill Key
- daniellummis/prisma-migrate-guard
- Author
- daniellummis
- Source Repo
- openclaw/skills
- Version
- 1.0.0
- Source Path
- skills/daniellummis/prisma-migrate-guard
- Latest Commit SHA
- d792d64403613b532d4a98c2dfe2ef8434c7e8d9
Preflight Prisma migration state before deploy; fails fast on drift, failed migrations, missing DB URLs, or unapplied migration files.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 prisma-migrate-guard 技能。 若已安装,则直接安装 prisma-migrate-guard 技能。
# Prisma Migrate Guard Use this skill before deploys or CI release steps to verify Prisma migrations are healthy and ready to apply. ## What this skill does - Verifies required Prisma CLI/runtime tools are available - Validates migration DB URL inputs (`DATABASE_URL` by default) - Runs `prisma migrate status` against a target schema - Fails on common dangerous states: - failed migrations - migration drift warnings - unapplied migration files - missing migration history table hints - Exits non-zero for CI/deploy gating ## Inputs - Optional env vars: - `PRISMA_SCHEMA_PATH` (default: `prisma/schema.prisma`) - `PRISMA_MIGRATE_DB_URL_ENV` (default: `DATABASE_URL`) - `PRISMA_MIGRATE_GUARD_ALLOW_UNAPPLIED` (`1` to warn instead of fail) - `PRISMA_MIGRATE_GUARD_ALLOW_DRIFT` (`1` to warn instead of fail) ## Run ```bash bash scripts/check-prisma-migrate.sh ``` With explicit schema and env key: ```bash PRISMA_SCHEMA_PATH=apps/api/prisma/schema.prisma \ PRISMA_MIGRATE_DB_URL_ENV=POSTGRES_PRISMA_URL \ bash scripts/check-prisma-migrate.sh ``` ## Output contract - Prints a concise PASS/FAIL report - Exit code `0` on healthy status - Exit code `1` on blocking migration issues ## Notes - This guard is read-only (`migrate status`), it does not apply migrations. - Keep it in CI before deploy or startup migration steps.
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.