What problem does it solve? Managing databases across development and production environments is risky and error-prone. This Skill provisions Replit's built-in PostgreSQL database, verifies its status, and executes SQL queries with built-in safety guardrails so you can inspect live data without risking destructive changes. ## Core Features & Use Cases - Database Provisioning: Check whether a PostgreSQL database exists and create one on demand, automatically setting environment variables like DATABASE_URL and PGHOST. - Safe SQL Execution: Run full SQL operations against the development database and read-only SELECT queries against a production replica, with Stripe table mutations and destructive statements blocked. - Data Warehouse Queries: Query BigQuery, Databricks, and Snowflake with optional sampling for large datasets. - Use Case: A user asks to "check the prod db" for inactive users. The Skill runs a read-only SELECT against the production replica and returns the results without any risk of modifying live data. ## Quick Start Ask the assistant to check whether the database is provisioned and create one if needed, then run a SELECT query to inspect your tables.