What problem does it solve?
Prevents production outages and inconsistent app behavior caused by unsafe or incomplete Drizzle schema and migration changes against Railway-hosted PostgreSQL.
Core Features & Use Cases
- Change-safety guardrails: Aligns
server/src/db/schema.ts updates with related Drizzle config, affected routes/services, and DB handoff documentation before any push or deployment.
- Migration and production-risk controls: Enforces explicit checks around whether
drizzle-kit push is required, which databases are targeted, and blocks high-risk operations (e.g., large UPDATE/DELETE, DROP/TRUNCATE, production migrations) without separate confirmation.
- Verification workflow: Recommends type checking, migration review, API-call validation, and post-change checks via
npm run skills:sync and npm run skills:check.
Quick Start
Review a proposed change by running the office-drizzle-guardian skill for the specific schema/migration update and any related code paths, then confirm whether drizzle-kit push is needed and whether any production-impacting steps were attempted.