db-env-check

Validate database environment variables, SSL mode, pooler config, and PostgreSQL connectivity.

3|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/GDSDN/kord-aios --skill db-env-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: db-env-check
Source: https://github.com/GDSDN/kord-aios/tree/main/src/features/builtin-skills/kord-aios/database/db-env-check
Command: npx skills add https://github.com/GDSDN/kord-aios --skill db-env-check

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill ensures your database environment variables are correctly configured for secure operations without exposing sensitive credentials.

Core Features & Use Cases

  • Environment Variable Validation: Checks for the presence of essential database connection variables like SUPABASE_DB_URL.
  • Security Checks: Validates SSL mode and pooler configurations to enhance database security and performance.
  • Tooling Verification: Confirms that necessary PostgreSQL client tools (psql, pg_dump) are installed and accessible.
  • Connectivity Test: Establishes a connection to the database to verify credentials and network accessibility.
  • Use Case: Before running any database migration or data import script, use this Skill to preemptively catch configuration errors and ensure a stable connection.

Quick Start

Run the db-env-check skill to validate your database environment variables and connection.

Frequently Asked Questions about db-env-check

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

FAQPage Schema
How do I validate database environment variables for secure PostgreSQL connections?

To validate database environment variables for secure PostgreSQL connections, check for required variables like `SUPABASE_DB_URL`, verify SSL mode, confirm pooler configuration, and test connectivity to ensure credentials and network accessibility are correct.

Do I need PostgreSQL client tools installed to check database connectivity?

Yes, checking database connectivity requires PostgreSQL client tools installed. You need `psql` and `pg_dump` accessible in your environment to verify tooling and establish a secure database connection successfully.

What environment variables are required to establish a secure database connection?

Required environment variables to establish a secure database connection include `SUPABASE_DB_URL`. Additionally, SSL mode and pooler configuration variables are validated to ensure secure and properly configured database operations.

Why does my database migration script fail due to configuration errors?

Database migration scripts fail due to configuration errors when environment variables are missing, SSL mode is incorrect, or PostgreSQL client tools are inaccessible. Validating your database environment preemptively catches these connectivity and credential issues.

Can I test database network accessibility before running data import scripts?

Yes, you can test database network accessibility before running data import scripts by establishing a test connection. This verifies credentials, checks SSL mode, and confirms pooler configuration to ensure a stable database environment.

What is the best way to verify SSL mode and pooler configuration for database security?

The best way to verify SSL mode and pooler configuration for database security is to run a validation check that inspects these settings alongside required environment variables and PostgreSQL client tool availability before connecting.