Retour au catalogue
Annoté par modèleDonnées et analyse

Dossier du skill

postgres-pro

Déclaration de la source

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

La description originale de l'auteur, conservée en anglais. Elle décrit l'intention, pas des performances vérifiées.

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

Le contenu de recherche de ce site est publié en anglais et en chinois ; il est affiché ici en anglais.

Résumé de la recherche

Annoté par modèle

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.

Portée de l'examen

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.

Capacités observables

  • 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.

Limites et portée

  • 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.

Pertinent pour

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

Ce que contient le skill

L'inventaire des fichiers provient de la source collectée au commit consigné. Les chemins et les tailles sont des observations structurelles, pas une mesure de qualité.

fichiers
6
Fichiers Markdown
6
scripts
0
références
5
Taille
51,7 KB
Complexité structurelle
Faible

Inventaire des fichiers

CheminTypeOctets
skills/postgres-pro/references/extensions.mdRéférence9,4 KB
skills/postgres-pro/references/jsonb.mdRéférence8 KB
skills/postgres-pro/references/maintenance.mdRéférence11,8 KB
skills/postgres-pro/references/performance.mdRéférence6,9 KB
skills/postgres-pro/references/replication.mdRéférence9,8 KB
skills/postgres-pro/SKILL.mdInstruction5,9 KB

Frontmatter du SKILL.md

{
  "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"
  }
}

Une lecture de la séquence de fonctionnement

Ce workflow reconstitue la séquence apparente à partir du matériel source. Sauf si une évaluation contrôlée est explicitement consignée, il est provisoire et non une trace observée.

  1. 01
    Entrée

    Analyze performance

    Run EXPLAIN (ANALYZE, BUFFERS) to identify bottlenecks.

  2. 02
    Action

    Optimize queries

    Rewrite inefficient queries and run ANALYZE to refresh statistics.

  3. 03
    Décision

    Verify before deploying

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

  4. 04
    Sortie

    Deliver with evidence

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

Surfaces de risque potentielles

Les constats statiques signalent les points à examiner avant l'installation. Ils n'établissent pas qu'un skill est sûr, malveillant ou efficace.

Attention recommandée

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.

Accès réseauObservé
Écritures de fichiersObservé
Utilisation d'identifiantsObservé
Note

File modification is described or implemented

100 occurrences

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.

Élevé

File deletion is described or implemented

2 occurrences

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.

Élevé

Credential or secret material is referenced

4 occurrences

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.

Moyen

Network access is mentioned

6 occurrences

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.

Note de sécurité éditoriale

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

Où le contexte peut être consommé

Les couches de découverte, d'activation et de ressources n'ont pas la même signification. Les valeurs exactes n'apparaissent que si la méthode officielle de comptage a été exécutée avec un modèle nommé.

Comptage exact des tokens indisponible

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

Aucune mesure de tokens n'a été consignée selon la méthode officielle requise. Ce dossier ne la remplace ni par un nombre de caractères, ni par une taille de fichier, ni par une estimation.

Évaluation contrôlée

Aucune évaluation contrôlée

Ce skill ne dispose que des preuves identifiées ci-dessus. Aucun taux de réussite, gain d'efficience en tokens, latence ou avantage de qualité n'est affirmé.

Non testé

Utiliser en gardant la source en vue

Commande d'installation
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.
Vérifier l'installation

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

Prérequis

  • 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.

Exemples de 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.

Une conclusion, avec ses limites

Points forts

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

Points d'attention

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

A verification-first guide for PostgreSQL tuning and operations.

Traçable par construction

Le dossier est une lecture datée d'un artefact public, pas une approbation. Utilisez le lien source pour examiner le contenu amont exact.

Jeffallanclaude-skillsskills/postgres-pro
Type de source
Communauté
Commit
67c1961b180dc92cf08983344627109e983e8f51
Collecté
20 nov. 2026
Dernière vérification
20 nov. 2026
Licence amont
MIT
Étoiles du dépôt
12 469
Base du contenu

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.