postgres

Standardize PostgreSQL schema design, Flyway migrations, and query performance conventions.

1|Updated Jul 20, 2026
One-click install
npx skills add https://github.com/pessinamistic/pitwall --skill postgres-pessinamistic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: postgres
Source: https://github.com/pessinamistic/pitwall/tree/main/.claude/skills/postgres
Command: npx skills add https://github.com/pessinamistic/pitwall --skill postgres-pessinamistic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves inconsistencies in database design and migration management by enforcing strict conventions for relational data, ensuring team-wide alignment on schema evolution and performance optimization.

Core Features & Use Cases

  • Migration Discipline: Standardizes Flyway-based schema changes to ensure all database modifications are versioned, reproducible, and safe.
  • Data Placement Strategy: Provides clear rules for distinguishing between relational Postgres data and document-based MongoDB data.
  • Performance Guardrails: Defines mandatory indexing for foreign keys and query optimization patterns to prevent common bottlenecks like slow joins or primary database starvation.

Quick Start

Use the postgres skill to validate your current migration scripts and check for missing foreign key indexes.

Frequently Asked Questions about postgres

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

FAQPage Schema
How do I standardize PostgreSQL schema migrations in a microservices architecture?

To standardize PostgreSQL schema migrations, apply strict conventions for Flyway versioning and relational data placement to ensure database modifications are reproducible and safe across microservices. This enforces team-wide alignment on schema evolution and system integrity.

What's the best way to manage Flyway migrations to prevent slow joins and database starvation?

Managing Flyway migrations to prevent slow joins requires defining mandatory indexing for foreign keys and applying query optimization patterns. These performance guardrails prevent common bottlenecks and primary database starvation during schema evolution.

When do I need soft-delete patterns and connection pooling configurations for PostgreSQL?

You need soft-delete patterns and connection pooling configurations for PostgreSQL when maintaining system integrity within a microservices architecture. These conventions ensure relational data consistency and prevent primary database starvation during concurrent access.

Does this approach distinguish between relational PostgreSQL data and MongoDB document data?

Yes, this approach distinguishes between relational PostgreSQL data and MongoDB document data by providing clear data placement rules. This strategy ensures appropriate data placement and enforces strict relational data conventions within microservices.

How do I validate Flyway migration scripts for missing foreign key indexes?

To validate Flyway migration scripts for missing foreign key indexes, check your schema changes against mandatory indexing conventions. This standardization process ensures all foreign keys are properly indexed to prevent slow joins and query bottlenecks.