Skip to main content
skill CX Codex

postgresql-database-engineering — Claude Code skill: how to install

Guides database design, index selection, and query optimization in PostgreSQL. Useful when tuning slow queries, setting up table partitioning, or configuring replication.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add manutej/luxor-claude-marketplace --skill postgresql-database-engineering -a claude-code
Open on GitHub

What postgresql-database-engineering does

The skill supplies your coding agent with engineering guidelines for PostgreSQL. It covers transaction isolation levels, connection pooling with pgBouncer or PgPool, and query plan diagnosis via EXPLAIN ANALYZE. The material details engine internals, including shared memory, write-ahead logs, and multi-version concurrency control mechanics where VACUUM reclaims dead tuple storage.

Index guidance spans six access methods, from standard B-Tree to BRIN for append-only datasets. GiST handles geometric types, while GIN covers array and JSONB searches. Index selection requires tradeoffs. GIN indexes slow down writes, while hash indexes support only strict equality.

For massive datasets with 100M+ rows, the skill outlines declarative range, list, and hash partitioning. This setup enables partition pruning, letting the planner discard irrelevant tables before reading disk blocks.

What it helps with

  • choose appropriate index types for JSONB, arrays, and geometric data
  • optimize slow queries using EXPLAIN ANALYZE execution plans
  • partition large tables exceeding 100M rows by range, list, or hash
  • configure connection pooling with pgBouncer or PgPool
  • tune autovacuum to reclaim space from dead tuples under MVCC

Example prompts for the agent

  • Analyze this EXPLAIN ANALYZE output and suggest whether to use a B-Tree or BRIN index
  • Help me set up monthly range partitioning for an events table with over 100M rows
  • Review our VACUUM and transaction isolation settings to handle frequent updates without table bloat

How to install postgresql-database-engineering

1Skills CLI (Vercel)

npx skills add manutej/luxor-claude-marketplace --skill postgresql-database-engineering -a claude-code

2Manually: put the files in place

~/.claude/skills/postgresql-database-engineering/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/postgresql-database-engineering/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about postgresql-database-engineering

How do I install postgresql-database-engineering in Claude Code?

Run npx skills add manutej/luxor-claude-marketplace --skill postgresql-database-engineering -a claude-code in your terminal. You can also place the skill file directly at ~/.claude/skills/postgresql-database-engineering/SKILL.md.

What does postgresql-database-engineering do?

It equips your AI assistant with database engineering rules for PostgreSQL. The skill covers index selection, query optimization with EXPLAIN, MVCC maintenance, and table partitioning.

When does the skill suggest using BRIN instead of B-Tree indexes?

BRIN is suggested for massive, naturally sorted datasets such as time-series and append-only logs. It creates very small indexes that scale to billions of rows by summarizing data across block ranges.

Similar skills

All skills for Data and databases →

From the same set31

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor