What problem does it solve?
This Skill provides expert PostgreSQL guidance using Bun's native SQL client, covering patterns for queries, schema design, JSON/JSONB operations, full-text search, indexing, PL/pgSQL, pgvector, and performance optimization. It helps developers build scalable, maintainable database access in Bun-powered apps.
Core Features & Use Cases
- Bun.sql integration: Write and manage PostgreSQL queries directly with Bun.sql for fast, type-safe access.
- Comprehensive patterns: Access a complete set of database techniques—queries, schemas, JSON/JSONB, FTS, indexing, PL/pgSQL, pgvector, and performance tuning.
- Use Case: When architecting a Bun-based Node service that talks to PostgreSQL, apply these patterns to implement robust data access, efficient reads, and reliable writes.
Quick Start
Start by connecting Bun.sql to your PostgreSQL database and applying the patterns to build a solid data layer, then iterate with small, safe migrations.