database-expert
Advanced database design and administration for PostgreSQL, MongoDB, and Redis.
Skill by travisjneuman
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/travisjneuman-database-expert
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, backend, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/database-expert
What's inside
- Skill name
database-expert- Description
- Advanced database design and administration for PostgreSQL, MongoDB, and Redis. Use when designing schemas, optimizing queries, managing database performance, or implementing data patterns.
- License
- MIT
- Instructions
- 512 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: 512 lines (spec recommends under 500)
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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
```sql
-- 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';
-- Automatic updated_at trigger
CREATE OR REPLACE FUNCTION update_updated_at_column()
RETURNS TRIGGER AS $$
BEGIN
NEW.updated_at = NOW();
RETURN NEW;
END;
$$ LANGUAGE plpgsql;
CREATE TRIGGER update_users_updated_at
BEFORE UPDATE ON users
FOR EACH ROW
EXECUTE FUNCTION update_updated_at_column();
-- Posts with full-text search
CREATE TABLE posts (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
author_id UUID NOT NULL REFERENCES users(id) ON DELETE CASCADE,
title VARCHAR(255) NOT NULL,
content TEXT NOT NULL,
tags TEXT[] DEFAULT '{}',
search_vector TSVECTOR,
published_at TIMESTAMPTZ,
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
);
-- Full-text search index
CREATE INDEX idx_posts_search ON posts USING GIN(search_vector);
```
### Query Optimization
```sql
-- EXPLAIN ANALYZE for query analysis
EXPLAIN (ANALYZE, BUFFERS, FORMAT TEXT)
SELECT u.full_name, COUNT(p.id) as post_count
FROM users u
LEFT JOIN posts p ON p.author_id = u.id
WHERE u.status = 'active'
GROUP BY u.id
ORDER BY post_count DESC
LIMIT 10;
-- Partial index for filtered queries
CREATE INDEX idx_posts_published
ON posts(published_at)
WHERE published_at IS NOT NULL;
-- Covering index (index-only scan)
CREATE INDEX idx_posts_author_title
ON posts(author_id)
INCLUDE (title, published_at);
-- Expression index
CREATE INDEX idx_users_email_lower
ON users(LOWER(email));
```
### Advanced Features
```sql
-- Common Table Expression (CTE)
WITH active_authors AS (
SELECT DISTINCT author_id
FROM posts
WHERE published_at > NOW() - INTERVAL '30 days'
),
author_stats AS (
SELECT
u.id,
u.full_name,
COUNT(p.id) as total_posts
FROM users u
JOIN active_authors aa ON aa.author_id = u.id
LEFT JOIN posts p ON p.author_id = u.id
GROUP BY u.id
)
SELECT * FROM author_stats
ORDER BY total_posts DESC;
-- Window functions
SELECT
id,From travisjneuman/.claude, MIT.
More from travisjneuman/.claude
- 0.638score
risk-management
travisjneuman
Enterprise risk management expertise for ERM frameworks, risk assessment, business continuity, insurance strategy, third-party risk, and reputational risk.
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
operations
travisjneuman
Operations excellence expertise for supply chain optimization, process improvement (Lean, Six Sigma), capacity planning, vendor management, quality assurance…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
codebase-documenter
travisjneuman
Write codebase documentation: READMEs, architecture docs, getting-started guides, API docs, and code comments.
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
health-wellness
travisjneuman
Workplace health and wellness expertise for employee wellness programs, mental health initiatives, ergonomics and safety, healthcare benefits strategy, and…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
leadership
travisjneuman
Executive leadership expertise for decision-making, change management, crisis management, stakeholder management, team building, and organizational leadership.
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
legal-compliance
travisjneuman
Legal and compliance expertise for corporate governance, contract analysis, regulatory compliance (SOX, GDPR, HIPAA), risk assessment, intellectual property…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
rd-management
travisjneuman
R&D management expertise for R&D portfolio management, technology roadmapping, research methodology, patent strategy, lab management, academic partnerships…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
business-strategy
travisjneuman
Business strategy expertise for strategic planning, competitive analysis, market entry, M&A strategy, portfolio management, and strategic decision-making.
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
finance
travisjneuman
Financial analysis expertise for financial modeling (DCF, LBO, M&A), valuation, financial statement analysis, capital allocation, treasury management, and…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
data-science
travisjneuman
Data science and analytics expertise for statistical analysis, machine learning pipelines, data governance, business intelligence, predictive modeling, and…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
hr-talent
travisjneuman
HR and talent management expertise for talent acquisition, performance management, compensation strategy, organizational design, culture building, succession…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
sales
travisjneuman
Sales strategy expertise for sales methodologies (MEDDIC, SPIN, Challenger), sales forecasting, account management, pipeline management, sales enablement, and…
SkillAFreshness: A★ 106Claude Code +9
Signals
- Stars
- 106
- Forks
- 26
- Open issues
- 2
- Last commit (this folder)
- Feb 7, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/travisjneuman/.claude
- Website
- claude.travisjneuman.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from travisjneuman
- 0.638score
business-strategy
travisjneuman
Business strategy expertise for strategic planning, competitive analysis, market entry, M&A strategy, portfolio management, and strategic decision-making.
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
finance
travisjneuman
Financial analysis expertise for financial modeling (DCF, LBO, M&A), valuation, financial statement analysis, capital allocation, treasury management, and…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
data-science
travisjneuman
Data science and analytics expertise for statistical analysis, machine learning pipelines, data governance, business intelligence, predictive modeling, and…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
rd-management
travisjneuman
R&D management expertise for R&D portfolio management, technology roadmapping, research methodology, patent strategy, lab management, academic partnerships…
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
codebase-documenter
travisjneuman
Write codebase documentation: READMEs, architecture docs, getting-started guides, API docs, and code comments.
SkillAFreshness: A★ 106Claude Code +9 - 0.638score
health-wellness
travisjneuman
Workplace health and wellness expertise for employee wellness programs, mental health initiatives, ergonomics and safety, healthcare benefits strategy, and…
SkillAFreshness: A★ 106Claude Code +9
Cite this page
database-expert skill. Agent Mart. https://agentmart.dev/skills/travisjneuman-database-expert (last updated 2026-10-24)