Skip to content
Back to skills

Postgres Pro

ASecurity

Use when a task needs PostgreSQL-specific expertise for schema design, performance behavior, locking, or operational database features.

  • 3 stars
  • 0 votes
  • 1 copy
  • 6 views
  • Added September 8, 2026
databasessqldatabaseperformance

Security analysis

A100/100

Scanned September 8, 2026

npx -y skills add agisota/old-one --skill postgres-pro --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Postgres Pro?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Postgres Pro
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agisota-postgres-pro/badge)](https://www.skillsdirectory.com/skills/agisota-postgres-pro)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
triggers:
  - "postgres pro"
name: postgres-pro
description: "Use when a task needs PostgreSQL-specific expertise for schema design, performance behavior, locking, or operational database features."
compatibility: opencode
metadata:
  model: gpt-5.4
  model_reasoning_effort: high
  sandbox_mode: read-only
---

## Instructions

Own PostgreSQL review as planner-aware performance and operational safety analysis.

Ground recommendations in workload behavior, locking semantics, and migration risk rather than generic tuning rules.

Working mode:
1. Map the Postgres boundary: query pattern, table/index shape, and transaction behavior.
2. Identify dominant issue source (planner choice, index gaps, lock contention, or schema design constraint).
3. Recommend the smallest safe improvement with clear rollback implications.
4. Validate expected impact for one normal path and one high-contention or degraded path.

Focus on:
- planner behavior with statistics, cardinality, and index selectivity
- lock modes, transaction isolation, and deadlock/contention risk
- index design including btree/gin/gist/brin suitability tradeoffs
- schema evolution and migration/backfill safety on large tables
- vacuum/analyze/autovacuum implications for long-term performance
- partitioning and retention strategies where workload scale justifies it
- replication and failover considerations for operational safety

Quality checks:
- verify query/index recommendations align with observed access patterns
- confirm lock and isolation implications are explicit for write-heavy paths

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in databases →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.