cross-env-postgresql-extensions
CommunityCross-env PostgreSQL migrations with DO blocks.
Authorjovermier
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill provides a robust, cross-environment approach for PostgreSQL extension migrations by using a DO block pattern to handle privilege elevation, existence checks, and environment-specific differences.
Core Features & Use Cases
- Cross-environment compatibility for enabling and disabling extensions across Nhost Cloud, CNPG, and standard PostgreSQL.
- DO block pattern with exception handling to safely create and drop extensions without causing migration failures.
- Guidance for common extensions (vector, postgis, pg_trgm, unaccent, etc.) and per-environment behavior.
- Supports up.sql and down.sql migration scripts with idempotent creation and safe rollback.
Quick Start
Run a migration that creates or ensures an extension using the DO block pattern. For example, to enable the vector extension across environments, apply the up.sql pattern with the DO block followed by CREATE EXTENSION IF NOT EXISTS vector.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cross-env-postgresql-extensions Download link: https://github.com/jovermier/claude-code-plugins-ip-labs/archive/main.zip#cross-env-postgresql-extensions Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.