What problem does it solve?
This Skill codifies safe Railway deployment operations for the Cambium service to prevent production outages caused by hardcoded connection strings, schema drift, or mismanaged credentials during automated redeploys.
Core Features & Use Cases
- Pre-push safety checklist: Require build, tests, rebase, and schema verification before pushing to main.
- Variable reference enforcement: Ensure DATABASE_URL is the Railway Postgres variable reference to survive password rotations.
- Schema validation and emergency repair: Run schema-checks and apply idempotent emergency fixes when critical columns are missing.
- Post-deploy monitoring and rollback: Watch Railway logs, verify production login, and redeploy or revert faulty releases.
- Credential rotation and recovery guidance: Procedures for Postgres password rotation, JWT key updates, and admin password recovery in emergencies.
Quick Start
Run the pre-push checklist, verify DATABASE_URL is set to the Railway Postgres variable reference, run the schema check, then push origin main and monitor the deployment logs.