Skip to content
travisjneuman avatar

Database Expert

Comprehensive PostgreSQL, MongoDB, and Redis guide covering schema design, query tuning, and data patterns.

CCM score
48 of 100
skills.sh installs
260
GitHub stars
115
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers database selection across PostgreSQL, MongoDB, Redis, and SQLite, with SQL examples for schemas, indexes, and triggers
  • Includes PostgreSQL query optimization with EXPLAIN ANALYZE, partial, covering, and expression indexes, plus CTEs and window functions
  • Provides separate reference files for MongoDB aggregation, Redis caching patterns, a query optimization checklist, and vector databases for RAG
  • Designed for developers designing schemas or tuning query performance across relational, document, and key-value stores

Install

$ npx -y skills add travisjneuman/.claude --skill database-expert -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Database Expert

Comprehensive guide for database design, optimization, and administration.

Database Selection

DatabaseTypeBest For
PostgreSQLRelationalComplex queries, ACID, JSON support
MongoDBDocumentFlexible schemas, rapid iteration
RedisKey-ValueCaching, sessions, real-time
SQLiteEmbeddedMobile, 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';

Details

Repository
github.com/travisjneuman/.claude
Category
Databases
First seen
Jun 3, 2026

Questions

What does the database-expert skill do?

The database-expert skill gives guidance on database design, optimization and administration for PostgreSQL, MongoDB and Redis. It helps with designing schemas, optimizing queries, managing database performance and implementing data patterns.

How do I install the database-expert skill?

Run npx -y skills add travisjneuman/.claude --skill database-expert -y in a project to install it. Once installed, the agent can use it to design schemas and tune queries across PostgreSQL, MongoDB and Redis.

Where does database-expert stand in the Databases category?

database-expert is in the Databases category on Claude Marketplaces, alongside supabase-postgres-best-practices and several Prisma skills. What sets it apart is its coverage of three databases, PostgreSQL, MongoDB and Redis, in one skill.

More from travisjneuman/.claude

All 32

Similar to Database Expert

More Databases