postgresql

Provide PostgreSQL development and administration guidance for SQL, schemas, and performance tuning.

22.7k|2.4k|Updated Dec 17, 2025
One-click install
npx skills add https://github.com/2025Emma/vibe-coding-cn --skill postgresql-2025emma
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: postgresql
Source: https://github.com/2025Emma/vibe-coding-cn/tree/main/i18n/en/skills/postgresql
Command: npx skills add https://github.com/2025Emma/vibe-coding-cn --skill postgresql-2025emma

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PostgreSQL Skill provides official documentation guidance for SQL, DB design, administration, and performance tuning.

Core Features & Use Cases

  • SQL basics to advanced database concepts
  • Database connections and optimization patterns
  • Getting started with hypertables, indexes, and queries

Quick Start

Follow PostgreSQL docs to learn common tasks like creating tables, writing queries, and optimizing performance.

Frequently Asked Questions about postgresql

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

FAQPage Schema
How do I design and optimize PostgreSQL database schemas for performance?

PostgreSQL schema design involves choosing appropriate data types, creating indexes strategically, and normalizing tables to reduce redundancy. The Skill provides guidance on schema structure, index selection, and query optimization aligned with official PostgreSQL documentation to improve performance for your workload.

What's the best way to write efficient SQL queries in PostgreSQL?

Efficient SQL queries use proper joins, indexes, and query planning. This Skill covers SQL fundamentals through advanced concepts, including how to analyze query execution plans and apply optimization techniques from PostgreSQL documentation to write performant queries.

How do I configure secure PostgreSQL database connections?

PostgreSQL connections are configured using libpq functions like PQconnectdb, PQconnectdbParams, and PQsetdbLogin. The Skill provides secure schema usage practices and connection patterns from official PostgreSQL documentation to establish and manage database connections safely.

What are hypertables and how do I use them in PostgreSQL?

Hypertables are specialized PostgreSQL structures for time-series data management. The Skill covers getting started with hypertables, including their creation, indexing strategies, and query optimization based on PostgreSQL documentation for handling large time-series datasets.

How do I tune PostgreSQL performance for production databases?

Performance tuning involves configuring connection parameters, optimizing indexes, and analyzing query plans. This Skill provides administration and tuning guidance from PostgreSQL documentation to identify bottlenecks and implement optimizations for production environments.

Can I use PostgreSQL for database administration and monitoring tasks?

Yes. PostgreSQL administration covers configuration, maintenance, and monitoring. The Skill provides comprehensive administration guidance aligned with PostgreSQL documentation for managing connections, indexes, and database health in production.