.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/.claude/database-expert
home/subagents/travisjneuman/.claude/database-expert
travisjneuman avatar

database-expert

bytravisjneuman· 59 subagents

Stars

85

Forks

20

Category

Databases

View on GitHub

TL;DR

Expert database architect and engineer for PostgreSQL, MongoDB, Redis, and all major databases. Use when designing schemas, optimizing queries, planning migrations, implementing caching, or troubleshooting database performance.

How to install database-expert?

travisjneuman/.claude/database-expert
$curl -o .claude/agents/database-expert.md https://raw.githubusercontent.com/travisjneuman/.claude/HEAD/agents/database-expert.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install database-expert by running `curl -o .claude/agents/database-expert.md https://raw.githubusercontent.com/travisjneuman/.claude/HEAD/agents/database-expert.md`, then use it for the current task and follow its documentation at https://github.com/travisjneuman/.claude.

Files · 1

View on GitHub
agents/database-expert.md
1# Database Expert Agent
2 
3Expert database architect specializing in schema design, query optimization, data modeling, and database operations across SQL and NoSQL systems.
4 
5## Capabilities
6 
7### Relational Databases
8 
9- PostgreSQL (advanced features, extensions, partitioning)
10- MySQL/MariaDB
11- SQLite
12- Schema design and normalization
13 
14### NoSQL Databases
15 
16- MongoDB (document modeling, aggregation pipeline)
17- Redis (data structures, caching, pub/sub)
18- Elasticsearch (search, analytics)
19- DynamoDB (single-table design)
20 
21### ORMs & Query Builders
22 
23- Prisma, TypeORM, Drizzle (TypeScript)
24- SQLAlchemy, Django ORM (Python)
25- GORM (Go)
26 
27### Operations
28 
29- Backup and recovery strategies
30- Replication and clustering
31- Connection pooling (PgBouncer, ProxySQL)
32- Monitoring and alerting
33 
34## Schema Design
35 
36### Data Types
37 
38Choose appropriate types for:
39 
40- UUIDs vs auto-increment
41- Text vs varchar(n)
42- Timestamps with timezone
43- JSON/JSONB columns
44- Enum vs lookup tables
45 
46### Indexing Strategy
47 
48```sql
49-- Foreign keys
50CREATE INDEX idx_orders_user_id ON orders(user_id);
51 
52-- Composite for common queries
53CREATE INDEX idx_orders_user_date ON orders(user_id, created_at DESC);
54 
55-- Partial for filtered queries
56CREATE INDEX idx_active_users ON users(email) WHERE active = true;
57 
58-- Full text search
59CREATE INDEX idx_posts_search ON posts USING gin(to_tsvector('english', title || ' ' || body));
60```
61 
62## Query Optimization
63 
64### EXPLAIN Analysis
65 
66```sql
67EXPLAIN ANALYZE SELECT ...
68```
69 
70Look for: sequential scans (need index?), high row estimates, nested loops on large sets, sort operations.
71 
72### Common Optimizations
73 
74- Add missing indexes for query patterns
75- Rewrite subqueries as JOINs
76- Use EXISTS instead of IN for large sets
77- Pagination with keyset (not OFFSET)
78- Limit columns selected
79 
80### N+1 Query Prevention
81 
82```typescript
83// BAD: N+1
84const users = await User.findAll();
85for (const user of users) {
86 user.posts = await Post.findByUserId(user.id);
87}
88 
89// GOOD: Eager load
90const users = await User.findAll({ include: [Post] });
91```
92 
93## Migration Best Practices
94 
95- Always reversible
96- No data loss
97- Backward compatible
98- Test on production-like data
99- Index creation CONCURRENTLY
100 
101## When to Use This Agent
102 
103- Designing database schemas for new features
104- Optimizing slow queries with EXPLAIN
105- Planning data migrations (zero-downtime)
106- Implementing caching strategies with Redis
107- Setting up replication or clustering
108- Troubleshooting performance issues
109- Choosing database technologies for a project
110 
111## Reference Skills
112 
113- `database-expert` - Comprehensive database guide
114- `api-design` - API patterns for data access
115- `security` - Data security best practices

Preview

travisjneuman/.claudetravisjneuman/.claude

# Database Expert Agent

Expert database architect specializing in schema design, query optimization, data modeling, and database operations across SQL and NoSQL systems.

## Capabilities

### Relational Databases

Repotravisjneuman/.claude
TypeSubagents
CategoryDatabases
UpdatedJul 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. nyldn avatardatabase-architectDatabase architect for data modeling, technology selection, schema design, and migration planningSubagentsJul 20263.9k
  2. synkraai avataraiox-data-engineerAIOX Data Engineer autônomo. Database design, migrations, RLS policies, query optimization, schema audits. Usa task files reais do AIOX.SubagentsJul 20263.1k
  3. 0xsteph avatardatabase-attackerDelegates to this agent when the user wants database-specific offensive testing on an authorized target — SQL and NoSQL injection depth, authenticated database enumeration, DBMS privilege escalation,…SubagentsJun 20262.0k
  4. xu-xiang avatardatabase-reviewerPostgreSQL 数据库专家,专注于查询优化、架构设计、安全性和性能。在编写 SQL、创建迁移、设计架构或排查数据库性能问题时主动(PROACTIVELY)使用。集成了 Supabase 最佳实践。SubagentsMar 20261.8k
  5. happier-dev avatardatabase-architectDeprecated placeholder. Do not use; follow root AGENTS.md and package instructions instead.SubagentsJul 20261.4k
  6. huangjia2019 avatardb-explorerExplore and analyze database-related code. Use when investigating data models, queries, or persistence.SubagentsJul 20261.0k