database

Provision and manage PostgreSQL databases with safety guards across environments.

2|2|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/tamnguyentommy-rgb/Routex_AI_Web_Project --skill database-tamnguyentommy-rgb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database
Source: https://github.com/tamnguyentommy-rgb/Routex_AI_Web_Project/tree/main/.local/skills/database
Command: npx skills add https://github.com/tamnguyentommy-rgb/Routex_AI_Web_Project --skill database-tamnguyentommy-rgb

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PostgreSQL database provisioning, connectivity verification, and safe query execution across development and production environments, preventing unsafe operations and ensuring proper isolation.

Core Features & Use Cases

  • Check database provisioning and connectivity with checkDatabase()
  • Create or verify a PostgreSQL database for a project with createDatabase()
  • Execute SQL queries safely using executeSql() with development and production modes
  • Read-only production queries and environment variable exposure for connecting apps
  • Safety guards against destructive operations and Stripe-related mutations

Quick Start

Check the status of your PostgreSQL database and run a safe SELECT query against the development database to verify connectivity.

Frequently Asked Questions about database

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

FAQPage Schema
How do I check PostgreSQL database connectivity and provisioning status?

Check PostgreSQL database connectivity by running the checkDatabase function, which verifies provisioning status and confirms the database is reachable across development and production environments. This ensures proper isolation and connectivity before executing queries.

Can I execute SQL queries safely in a production PostgreSQL environment?

You can execute SQL queries safely in production PostgreSQL using executeSql with read-only access and environment controls. Safety guards prevent destructive operations and Stripe-related mutations, ensuring secure query execution without risking data loss.

How do I provision a new PostgreSQL database for my project?

Provision a new PostgreSQL database by using the createDatabase function, which creates or verifies a database for your project across development and production environments. It applies environment controls to ensure proper isolation and safe setup.

What safety guards prevent destructive SQL operations in production environments?

Safety guards in the executeSql function prevent destructive SQL operations in production environments by enforcing read-only access and blocking Stripe-related mutations. These environment controls ensure unsafe operations are stopped before execution.

Does this database management approach support environment variable visibility for connecting apps?

Yes, database management supports environment variable visibility, exposing necessary connection variables for apps to connect to the PostgreSQL database. This feature works across development and production environments with proper isolation.