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.
npx skills add manutej/luxor-claude-marketplace --skill postgresql-database-engineering -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/postgresql-database-engineering/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/postgresql-database-engineering/
1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill postgresql-database-engineering -a codex2Manually: put the files in place
.agents/skills/postgresql-database-engineering/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill postgresql-database-engineering -a cursor2Manually: put the files in place
.cursor/skills/postgresql-database-engineering/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install manutej/luxor-claude-marketplace postgresql-database-engineering2Manually: put the files in place
.github/skills/postgresql-database-engineering/SKILL.md1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill postgresql-database-engineering -a gemini-cli2Platform CLI
gemini skills install https://github.com/manutej/luxor-claude-marketplace --path plugins/luxor-database-pro/skills/postgresql-database-engineeringManually: put the files in place
.devin/skills/postgresql-database-engineering/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill postgresql-database-engineering -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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.