db-advisor
CommunityOptimize PostgreSQL database performance.
Authorkangnam7654
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps optimize PostgreSQL database performance by providing best practices for query optimization, schema design, indexing, and security.
Core Features & Use Cases
- Index Recommendations: Suggests appropriate index types (B-tree, GIN, BRIN) based on query patterns.
- Data Type Guidance: Recommends optimal data types for various use cases (IDs, strings, timestamps, money, flags).
- Pattern Examples: Demonstrates effective SQL patterns for composite indexes, covering indexes, partial indexes, Row Level Security (RLS), UPSERT, cursor pagination, and queue processing.
- Anti-Pattern Detection: Provides SQL queries to identify unindexed foreign keys, slow queries, and table bloat.
- Configuration Template: Offers a template for essential PostgreSQL configuration settings.
Quick Start
Use the db-advisor skill to get recommendations for optimizing a slow PostgreSQL query.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: db-advisor Download link: https://github.com/kangnam7654/ai-config-sync/archive/main.zip#db-advisor Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.