database

Provision and query PostgreSQL databases with safety controls.

Updated Apr 18, 2026
One-click install
npx skills add https://github.com/Mo7amed-Mahmoud/ZeinaGuard-Pro --skill database-mo7amed-mahmoud
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database
Source: https://github.com/Mo7amed-Mahmoud/ZeinaGuard-Pro/tree/main/.local/skills/database
Command: npx skills add https://github.com/Mo7amed-Mahmoud/ZeinaGuard-Pro --skill database-mo7amed-mahmoud

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PostgreSQL databases for your project can be provisioned, verified, and queried with safety checks, including production read-only access.

Core Features & Use Cases

  • Create and verify PostgreSQL databases for your project
  • Check provisioning status and accessibility
  • Execute SQL queries with safety checks, including read-only production queries against a replica
  • Query data warehouses (BigQuery, Databricks, Snowflake) when needed

Quick Start

Simply ask to check the database status and run a safe, read-only query against production when you need live data.

Frequently Asked Questions about database

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run safe read-only SQL queries against a production PostgreSQL database?

You can run safe read-only SQL queries against a production PostgreSQL database by routing requests through a replica, which enforces environment isolation and prevents destructive operations from impacting live data.

What is the best way to provision and verify a PostgreSQL database for development?

The best way to provision and verify a PostgreSQL database for development is to use automated safety controls that check provisioning status and accessibility, ensuring the environment is correctly isolated before executing queries.

Can I execute destructive SQL operations in production using this database safety approach?

No, you cannot execute destructive SQL operations in production because the system strictly blocks them and enforces environment isolation, ensuring only safe, read-only queries run against a production replica.

How do I check if my PostgreSQL database is provisioned and accessible before querying?

You can check if your PostgreSQL database is provisioned and accessible by using a helper function like checkDatabase, which verifies the provisioning status and connectivity before you attempt to execute SQL.

Does this PostgreSQL safety approach work with data warehouses like BigQuery, Databricks, or Snowflake?

Yes, this approach works with data warehouses like BigQuery, Databricks, and Snowflake, allowing you to query these platforms when needed alongside your standard PostgreSQL provisioning and verification workflows.

Why should I use environment isolation for PostgreSQL queries in development and production?

You should use environment isolation for PostgreSQL queries to maintain strict boundaries between development and production, which prevents accidental destructive operations and ensures only safe, controlled SQL execution occurs.