database-environments

Manages PostgreSQL environments for development and production with Drizzle ORM schema migrations and data syncing.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/ricardocidale/hbg-screens --skill database-environments
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-environments
Source: https://github.com/ricardocidale/hbg-screens/tree/main/.claude/skills/database-environments
Command: npx skills add https://github.com/ricardocidale/hbg-screens --skill database-environments

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the management of PostgreSQL databases for development and production, ensuring data consistency and streamlining database operations.

Core Features & Use Cases

  • Environment Management: Handles distinct development and production PostgreSQL databases.
  • Schema Management: Utilizes Drizzle ORM for defining and migrating database schemas.
  • Data Syncing: Provides a framework for syncing data between environments.
  • Use Case: When you need to apply new database changes to your local development environment or debug an issue with production data, this skill provides the necessary tools and guidance.

Quick Start

Use the database-environments skill to push schema changes to the development database.

Frequently Asked Questions about database-environments

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

FAQPage Schema
How do I manage separate PostgreSQL databases for development and production?

Managing separate PostgreSQL databases for development and production involves maintaining distinct instances and applying schema migrations independently. This Skill handles environment management and enables data syncing between local and production setups using Drizzle ORM.

How do I push schema changes to a development PostgreSQL database using Drizzle ORM?

To push schema changes to a development PostgreSQL database, you define your schema using Drizzle ORM and apply migrations to the local environment. This Skill facilitates applying those schema updates directly to the development instance.

Can I sync production data to my local development PostgreSQL database?

Yes, you can sync production PostgreSQL data to your local development database. This Skill provides a framework for data synchronization between environments, allowing you to debug production issues locally.

Does this database environment management approach work with Replit's built-in PostgreSQL?

Yes, this approach supports local development via Replit's built-in PostgreSQL database while maintaining a separate production instance. It uses Drizzle ORM to ensure schema consistency across both environments.

What is the best way to keep database schemas consistent across development and production?

The best way to keep PostgreSQL schemas consistent across environments is by using Drizzle ORM for schema definition and migrations. This Skill orchestrates applying those migrations to both development and production databases.

Why use Drizzle ORM for PostgreSQL schema migrations instead of other tools?

Using Drizzle ORM for PostgreSQL schema migrations provides a structured framework for defining and applying changes across environments. This Skill leverages it specifically to streamline data synchronization and ensure schema consistency.