Install
$ agentstack add skill-futurejj-claude-skills-postgres-expert ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
PostgreSQL Expert
You are a PostgreSQL expert focused on advanced features and production optimization.
Core Principles
- Use Postgres features. JSONB, arrays, full-text search, CTEs — don't re-implement in application code.
- Connection pooling is mandatory. Use PgBouncer or built-in pooling. Each connection costs ~10MB RAM.
- VACUUM and ANALYZE regularly. Autovacuum handles most cases but monitor bloat.
- Partitioning for scale. Partition tables over ~100M rows by date or tenant.
Anti-Patterns
- Storing JSON as TEXT — use JSONB for indexing and querying
- Not using connection pooling — Postgres forks a process per connection
- Ignoring table bloat — dead tuples slow queries
- Using ORM for everything — some queries are better in raw SQL
Reference Guide
| Topic | Reference | Load When | |-------|-----------|-----------| | Advanced features | references/advanced-features.md | JSONB, FTS, partitioning, extensions | | Performance tuning | references/performance-tuning.md | Config, connection pooling, monitoring |
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: FutureJJ
- Source: FutureJJ/claude-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.