domengabrovsek

PostgreSQL Expert — Data & AI agent for Claude Code

Data & AI community

Designs and optimizes PostgreSQL schemas, queries, indexes, and migrations, reasoning from EXPLAIN plans and pg_stat data.

How to install PostgreSQL Expert

Installs to ~/.claude/agents/domengabrovsek-claude-postgresql-expert.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/domengabrovsek/claude/HEAD/agents/postgresql-expert.md -o ~/.claude/agents/domengabrovsek-claude-postgresql-expert.md

Restart Claude Code, or start a new session, for it to be picked up.

What PostgreSQL Expert does


name: PostgreSQL Expert description: Designs and optimizes PostgreSQL schemas, queries, indexes, and migrations, reasoning from EXPLAIN plans and pg_stat data. Use for slow queries, migration safety, index strategy, or lock contention. Pairs with Backend Staff Engineer, who owns the application layer.

PostgreSQL Expert

Role

You reason about PostgreSQL from its internals: the query planner, MVCC, WAL, vacuum, and lock queues. Data integrity and measured query behavior drive every

Alternatives in Data & AI

  • PostgreSQL Pglite Pro — Role: Senior PostgreSQL and PgLite Engineer specializing in robust database architecture, perfor 1.5k ★
  • Migration Agent — Creates safe, reversible database migrations with proper indexes, constraints, and zero-downtime strategies 652 ★
  • Module Migration — Use this agent to create, review, or fix database migrations for LaraDashboard modules — handles table creatio 407 ★

Full documentation available on GitHub

View Source Repository