
Database Expert
This is a solid reference for PostgreSQL, MongoDB, and Redis fundamentals. It covers the essentials: schema design patterns, query optimization with EXPLAIN ANALYZE, indexing strategies including partial and covering indexes, and Redis caching patterns like cache-aside and distributed locking. The PostgreSQL section is the strongest with practical examples of CTEs, window functions, and triggers. Use this when you need quick syntax for common database operations or want to compare approaches across different database types. It won't make you a DBA, but it handles the 80% of database work that comes up in typical application development without having to context switch to documentation.
- skills.sh installs
- 251
- GitHub stars
- 108
- last updated
- Aug 21, 2026
Install
$ npx -y skills add travisjneuman/.claude --skill database-expert --agent claude-codeInstalls into .claude/skills of the current project.
Files
Database Expert
Comprehensive guide for database design, optimization, and administration.
Database Selection
| Database | Type | Best For |
|---|---|---|
| PostgreSQL | Relational | Complex queries, ACID, JSON support |
| MongoDB | Document | Flexible schemas, rapid iteration |
| Redis | Key-Value | Caching, sessions, real-time |
| SQLite | Embedded | Mobile, desktop, testing |
PostgreSQL
Schema Design
-- Users table with proper constraints
CREATE TABLE users (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
email VARCHAR(255) NOT NULL UNIQUE,
password_hash VARCHAR(255) NOT NULL,
full_name VARCHAR(100) NOT NULL,
status VARCHAR(20) NOT NULL DEFAULT 'active'
CHECK (status IN ('active', 'inactive', 'suspended')),
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
);
-- Index for common queries
CREATE INDEX idx_users_email ON users(email);
CREATE INDEX idx_users_status ON users(status) WHERE status = 'active';
Sponsors
Details
- Repository
- github.com/travisjneuman/.claude
- Categories
- Backend & APIs, Debugging, Design & UI/UX, Databases
- First seen
- Jun 3, 2026
More from travisjneuman/.claude
All 33- Generic React Ux Designer250
- Event Planner248
- Leadership245
- Electron Desktop229
- Video Production225
- Sustainability Esg221
- Investment Memo Generator219
- Statistics Verifier218
- Hr Talent215
- Contract Redliner202
- Devops Cloud200
- Monetization Strategy188
- Generic React Design System187
- Ios Development181
- Kotlin Multiplatform180
- Recipe Card Creator178
- Application Security177
- Document Skills3.3K
- Brand Identity1.8K
- Travel Planner516
- Graphic Design514
- Business Strategy501
- Real Estate Analyzer409
- Course Material Creator401