postgresql-guide

Query official PostgreSQL documentation for SQL syntax and configuration parameters.

Updated Jan 10, 2026
One-click install
npx skills add https://github.com/PsychQuant/psychquant-claude-plugins --skill postgresql-guide
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: postgresql-guide
Source: https://github.com/PsychQuant/psychquant-claude-plugins/tree/main/plugins/postgresql-guide/skills/postgresql-guide
Command: npx skills add https://github.com/PsychQuant/psychquant-claude-plugins --skill postgresql-guide

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides accurate and up-to-date information on PostgreSQL, ensuring correct SQL syntax, configuration, and best practices without relying on potentially outdated internal knowledge.

Core Features & Use Cases

  • Accurate SQL Syntax: Get precise commands for creating tables, querying data, and managing databases.
  • Configuration Guidance: Understand settings in postgresql.conf and pg_hba.conf.
  • Performance Tuning: Learn about indexing, EXPLAIN analysis, and optimization techniques.
  • Use Case: When a user asks "How do I create a unique index in PostgreSQL?", this Skill will fetch the exact syntax from the official documentation.

Quick Start

Use the postgresql-guide skill to find the syntax for creating a PostgreSQL index.

Frequently Asked Questions about postgresql-guide

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

FAQPage Schema
How do I get the correct syntax for creating a unique index in PostgreSQL?

To create a unique index in PostgreSQL, you need the exact command syntax from official documentation to ensure database constraints are applied correctly. This retrieves precise index creation statements directly from the PostgreSQL website.

What is the best way to configure settings in postgresql.conf and pg_hba.conf?

Configuring PostgreSQL settings in postgresql.conf and pg_hba.conf requires understanding specific parameter definitions and authentication rules. Fetching official documentation provides accurate configuration guidance for database server tuning and client authentication.

How does EXPLAIN analysis work for PostgreSQL performance tuning?

PostgreSQL performance tuning uses EXPLAIN analysis to evaluate query execution plans and identify optimization techniques. Official documentation details how to interpret EXPLAIN output for indexing strategies and query performance improvements.

Can I find PL/pgSQL syntax and backup procedures in the PostgreSQL documentation?

PostgreSQL documentation covers PL/pgSQL syntax, backup commands, restore procedures, and replication setup. Querying the official docs ensures you retrieve accurate procedural language structures and database recovery operations.

Why should I query official PostgreSQL documentation instead of relying on internal knowledge?

Querying official PostgreSQL documentation ensures you get accurate and up-to-date information on SQL syntax, configuration, and best practices. This avoids the risk of using potentially outdated or incorrect internal knowledge for database management.

Do I need WebFetch to retrieve current PostgreSQL configuration parameters?

Retrieving current PostgreSQL configuration parameters requires WebFetch to access the live official PostgreSQL website. This ensures the SQL commands, data types, and functions you reference are accurate and reflect the latest updates.