postgresql

Solid

PostgreSQL query optimization, indexing, full-text search, JSONB, and advanced features.

API & Backend 1,160 stars 71 forks Updated today MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
48
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# PostgreSQL Skill Expert assistance for PostgreSQL database design and optimization. ## Capabilities - Design optimal schemas - Create performant indexes - Implement full-text search - Work with JSONB data - Optimize query performance - Configure replication ## Indexing Patterns ```sql -- B-tree for equality and range CREATE INDEX idx_users_email ON users(email); -- GIN for JSONB and arrays CREATE INDEX idx_posts_tags ON posts USING GIN(tags); -- Full-text search CREATE INDEX idx_posts_search ON posts USING GIN(to_tsvector('english', title || ' ' || content)); -- Partial index CREATE INDEX idx_active_users ON users(created_at) WHERE active = true; ``` ## JSONB Operations ```sql -- Query JSONB SELECT * FROM users WHERE metadata->>'role' = 'admin'; -- Update JSONB UPDATE users SET metadata = metadata || '{"verified": true}'::jsonb WHERE id = 1; ``` ## Target Processes - database-design - performance-optimization - backend-development

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

API & Backend Listed

postgresql

PostgreSQL schema design, query optimization, indexing, and administration. Use when writing schemas, queries, migrations, or mentions PostgreSQL, Postgres, JSONB, partitioning, RLS, CTEs, window functions, EXPLAIN ANALYZE, or connection pooling.

20 Updated today
iliaal
AI & Automation Listed

postgres-pro

Use when optimizing PostgreSQL queries, configuring replication, or implementing advanced database features. Invoke for EXPLAIN analysis, JSONB operations, extension usage, VACUUM tuning, performance monitoring.

2 Updated today
zacklecon
API & Backend Solid

postgres-pro

Use when optimizing PostgreSQL queries, configuring replication, or implementing advanced database features. Invoke for EXPLAIN analysis, JSONB operations, extension usage, VACUUM tuning, performance monitoring.

9,537 Updated 1 weeks ago
Jeffallan
AI & Automation Solid

postgres

Use this skill for any PostgreSQL database work — table design, indexing, data types, constraints, extensions (pgvector, PostGIS, TimescaleDB), search, and migrations. **Trigger when user asks to:** - Design or modify PostgreSQL tables, schemas, or data models - Choose data types, constraints, indexes, or partitioning strategies - Work with pgvector embeddings, semantic search, or RAG - Set up full-text search, hybrid search, or BM25 ranking - Use PostGIS for spatial/geographic data - Set up TimescaleDB hypertables for time-series data - Migrate tables to hypertables or evaluate migration candidates **Keywords:** PostgreSQL, Postgres, SQL, schema, table design, indexes, constraints, pgvector, PostGIS, TimescaleDB, hypertable, semantic search, hybrid search, BM25, time-series

1,751 Updated 1 weeks ago
timescale
API & Backend Listed

database-optimizer

Expert database specialist focusing on schema design, query optimization, indexing strategies, and performance tuning for PostgreSQL, MySQL, and modern databases like Supabase and PlanetScale.

5 Updated today
LiHongwei-cn