postgres

Optimizes PostgreSQL configuration, queries, replication, and observability for reliable performance.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/oren-argu/papermark --skill postgres-oren-argu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: postgres
Source: https://github.com/oren-argu/papermark/tree/main/.agents/skills/postgres
Command: npx skills add https://github.com/oren-argu/papermark --skill postgres-oren-argu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PostgreSQL deployments often suffer from inconsistent performance, maintenance overhead, and fragile configurations. This Skill consolidates proven PostgreSQL practices—covering schema design, optimization, replication, and operational tuning—into a single, actionable guide to improve reliability and efficiency.

Core Features & Use Cases

  • Establish recommended memory, WAL, and checkpoint settings for stable operation under varied workloads.
  • Provide guidance on query optimization, indexing strategies, and vacuum/autovacuum tuning for durable performance.
  • Outline robust connection management, monitoring, and high-availability patterns including replication and failover readiness.
  • Offer actionable procedures to diagnose and resolve common PostgreSQL issues in production environments.

Quick Start

Review the PostgreSQL best practices and apply the recommended settings to your database deployment.

Frequently Asked Questions about postgres

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

FAQPage Schema
How do I optimize PostgreSQL configuration for stable performance under varied workloads?

PostgreSQL optimization involves establishing recommended memory, WAL, and checkpoint settings to ensure stable operation. Applying these baseline configurations helps deployments handle varied workloads reliably without performance degradation.

What are the best practices for PostgreSQL query tuning and indexing strategies?

PostgreSQL query tuning best practices focus on optimizing queries, implementing effective indexing strategies, and configuring vacuum and autovacuum settings. These steps ensure durable performance and efficient data retrieval.

How do I set up PostgreSQL replication and high-availability patterns for production readiness?

PostgreSQL high-availability patterns require configuring robust replication and failover readiness. Outlining these patterns ensures production deployments maintain uptime and data redundancy during failures.

Why does my PostgreSQL database suffer from inconsistent performance and maintenance overhead?

PostgreSQL inconsistent performance and maintenance overhead typically stem from fragile configurations and unoptimized maintenance tasks. Applying proven operational tuning and vacuum settings resolves these reliability issues.

Can I use this Skill to diagnose and resolve common PostgreSQL issues in production?

Yes, PostgreSQL production issues can be diagnosed and resolved using actionable procedures from this Skill. It provides operational best practices to troubleshoot and fix common database problems efficiently.

What is the best way to manage PostgreSQL connections and monitor database observability?

PostgreSQL connection management and monitoring require robust patterns for observability. Establishing these practices ensures database health is trackable and connections are handled efficiently in production.