Zurück zum Katalog
ModellkuratiertDaten & Analyse

Skill-Dossier

postgres-pro

Quellenangabe

Use when optimizing PostgreSQL queries, configuring replication, or implementing advanced database features. Invoke for EXPLAIN analysis, JSONB operations, extension usage, VACUUM tuning, performance monitoring.

Die ursprüngliche Beschreibung der Autorinnen und Autoren, unverändert auf Englisch. Sie beschreibt die Absicht, nicht die geprüfte Leistung.

Use when optimizing PostgreSQL queries, configuring replication, or implementing advanced database features. Invoke for EXPLAIN analysis, JSONB operations, extension usage, VACUUM tuning, performance monitoring.

datareferences

Die Forschungsinhalte dieser Website sind auf Englisch und Chinesisch veröffentlicht und werden hier auf Englisch angezeigt.

Forschungszusammenfassung

Modellkuratiert

Skill Atlas model curation · model-curated-1.0.0

A PostgreSQL Skill for query optimization with EXPLAIN (ANALYZE, BUFFERS), index design, JSONB, VACUUM tuning and replication monitoring.

Prüfungsumfang

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.

Beobachtbare Fähigkeiten

  • Analyzes slow queries using pg_stat_statements and EXPLAIN (ANALYZE, BUFFERS).
  • Designs indexes (B-tree, GIN, GiST, BRIN) and verifies the planner uses them.
  • Uses CREATE INDEX CONCURRENTLY to avoid table locks.
  • Monitors autovacuum, bloat and replication lag via pg_stat views.

Grenzen & Umfang

  • Needs database access; the file targets PostgreSQL 12-16.
  • Extension, replication and maintenance details live in separate reference files.
  • Performance impact is not measured here.

Relevant für

  • Backend developers tuning slow queries
  • DBAs managing replication and vacuum
  • SREs monitoring database health

Was der Skill enthält

Die Dateiübersicht stammt aus der erfassten Quelle beim protokollierten Commit. Pfade und Größen sind strukturelle Beobachtungen, kein Qualitätsmaß.

Dateien
6
Markdown-Dateien
6
Skripte
0
Verweise
5
Größe
51,7 KB
Strukturelle Komplexität
Niedrig

Dateiübersicht

PfadArtBytes
skills/postgres-pro/references/extensions.mdVerweis9,4 KB
skills/postgres-pro/references/jsonb.mdVerweis8 KB
skills/postgres-pro/references/maintenance.mdVerweis11,8 KB
skills/postgres-pro/references/performance.mdVerweis6,9 KB
skills/postgres-pro/references/replication.mdVerweis9,8 KB
skills/postgres-pro/SKILL.mdAnweisung5,9 KB

SKILL.md-Frontmatter

{
  "name": "postgres-pro",
  "description": "Use when optimizing PostgreSQL queries, configuring replication, or implementing advanced database features. Invoke for EXPLAIN analysis, JSONB operations, extension usage, VACUUM tuning, performance monitoring.",
  "license": "MIT",
  "metadata": {
    "author": "https://github.com/Jeffallan",
    "company": "https://synergetic.solutions",
    "version": "1.1.0",
    "domain": "infrastructure",
    "triggers": "PostgreSQL, Postgres, EXPLAIN ANALYZE, pg_stat, JSONB, streaming replication, logical replication, VACUUM, PostGIS, pgvector",
    "role": "specialist",
    "scope": "implementation",
    "output-format": "code",
    "related-skills": "database-optimizer, devops-engineer, sre-engineer"
  }
}

Eine Lesart des Ablaufs

Dieser Workflow rekonstruiert die offensichtliche Reihenfolge aus dem Quellmaterial. Sofern nicht ausdrücklich eine kontrollierte Evaluation protokolliert ist, ist er vorläufig und keine beobachtete Ausführung.

  1. 01
    Eingabe

    Analyze performance

    Run EXPLAIN (ANALYZE, BUFFERS) to identify bottlenecks.

  2. 02
    Aktion

    Optimize queries

    Rewrite inefficient queries and run ANALYZE to refresh statistics.

  3. 03
    Entscheidung

    Verify before deploying

    Choose index types by workload and verify with EXPLAIN before deploying.

  4. 04
    Ausgabe

    Deliver with evidence

    Provide queries with EXPLAIN output, index rationale, config changes and monitoring queries.

Mögliche Risikoflächen

Statische Befunde zeigen Stellen, die vor der Installation zu prüfen sind. Sie belegen nicht, dass ein Skill sicher, bösartig oder wirksam ist.

Aufmerksamkeit empfohlen

112 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

NetzwerkzugriffBeobachtet
DateischreibzugriffeBeobachtet
Verwendung von ZugangsdatenBeobachtet
Hinweis

File modification is described or implemented

100 Vorkommen

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 100 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Hoch

File deletion is described or implemented

2 Vorkommen

Deletion syntax occurs in this line, including possible documentation. Review its exact target, recursive scope, and safeguards. The analyzer did not execute it. This rule matched 2 location(s) in the collected text; 2 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Hoch

Credential or secret material is referenced

4 Vorkommen

This line resembles a credential literal or reads a sensitive environment value. Do not expose its contents; verify whether it is a placeholder, required secret, or accidentally committed material. This rule matched 4 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Mittel

Network access is mentioned

6 Vorkommen

A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 6 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Redaktioneller Sicherheitshinweis

Run EXPLAIN ANALYZE, index builds and VACUUM on a non-production copy first, since they execute queries and add load.

Wo Kontext verbraucht werden kann

Discovery-, Aktivierungs- und Ressourcenschichten haben unterschiedliche Bedeutung. Exakte Werte erscheinen nur, wenn die offizielle Zählmethode mit einem benannten Modell lief.

Keine exakten Token-Zählwerte verfügbar

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

Es wurde keine Token-Messung mit der vorgeschriebenen offiziellen Methode erfasst. Dieses Dossier ersetzt sie nicht durch Zeichenanzahl, Dateigröße oder Schätzwerte.

Kontrollierte Evaluation

Keine kontrollierte Evaluation

Für diesen Skill liegen nur die oben genannten Belege vor. Es wird keine Aufgabenerfolgsquote, Token-Effizienz, Latenz oder kein Qualitätsvorteil behauptet.

Nicht getestet

Verwendung mit der Quelle im Blick

Installationsbefehl
git clone https://github.com/Jeffallan/claude-skills.git cd claude-skills # Copy this skill directory into one of: # ~/.claude/skills/postgres-pro # .claude/skills/postgres-pro
  1. Open the pinned source at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/postgres-pro/SKILL.md.
  2. Review the license, prerequisites and all bundled reference files.
  3. Copy the skill directory into a personal or project-level Claude Code skills directory.
  4. Restart or refresh Claude Code so the skill can be discovered.
Installation prüfen

Ask Claude Code to tune a slow query and confirm it runs EXPLAIN (ANALYZE, BUFFERS) before and after creating an index.

Voraussetzungen

  • Needs database access; the file targets PostgreSQL 12-16.
  • Extension, replication and maintenance details live in separate reference files.
  • Performance impact is not measured here.

Beispiel-Prompts

Representative task

Using the postgres-pro skill, find the slowest queries in pg_stat_statements, analyze the orders query with EXPLAIN (ANALYZE, BUFFERS), propose a concurrent partial index and verify the planner uses it.

Inspect before use

Read the postgres-pro skill at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/postgres-pro/SKILL.md and its reference files. Explain its workflow, any commands it tells the agent to run, and the main risks before I decide whether to install it.

Ein Urteil, mit seinen Grenzen

Stärken

  • Gives an end-to-end slow-query to fix to verification example.
  • Requires verifying index use before and after changes.

Abwägungen

  • EXPLAIN ANALYZE actually executes the query, so use care with writes.
  • Index and VACUUM changes affect live systems.
Forschungsfazit

A verification-first guide for PostgreSQL tuning and operations.

Konstruktiv nachvollziehbar

Das Dossier ist eine zeitlich begrenzte Lesart eines öffentlichen Artefakts, keine Empfehlung. Über den Quelllink können Sie das exakte Upstream-Material prüfen.

Jeffallanclaude-skillsskills/postgres-pro
Quellenart
Community
Commit
67c1961b180dc92cf08983344627109e983e8f51
Erfasst
20. Nov. 2026
Zuletzt geprüft
20. Nov. 2026
Upstream-Lizenz
MIT
Repository-Sterne
12.469
Inhaltsgrundlage

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.