postgresql
SolidPostgreSQL query optimization, indexing, full-text search, JSONB, and advanced features.
API & Backend 814 stars
53 forks Updated today MIT
Install
Quality Score: 93/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
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
Related Skills
API & Backend Featured
api-endpoint-builder
Builds production-ready REST API endpoints with validation, error handling, authentication, and documentation. Follows best practices for security and scalability.
38,979 Updated today
sickn33 API & Backend Featured
database
Database development and operations workflow covering SQL, NoSQL, database design, migrations, optimization, and data engineering.
38,979 Updated today
sickn33 API & Backend Featured
firebase
Firebase gives you a complete backend in minutes - auth, database, storage, functions, hosting. But the ease of setup hides real complexity. Security rules are your last line of defense, and they're often wrong.
38,979 Updated today
sickn33