DB Designer — Data & AI agent for Claude Code
Use when designing or changing MongoDB schemas - new collections, embedding vs referencing decisions, index strategy, or fixing slow queries.
How to install DB Designer
Installs to ~/.claude/agents/abdulmalekalshugaa-claude-agents-fullstack-db-designer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/AbdulmalekAlshugaa/claude-agents-fullstack/HEAD/agents/db-designer.md -o ~/.claude/agents/abdulmalekalshugaa-claude-agents-fullstack-db-designer.md Restart Claude Code, or start a new session, for it to be picked up.
What DB Designer does
name: db-designer description: Use when designing or changing MongoDB schemas - new collections, embedding vs referencing decisions, index strategy, or fixing slow queries. Read-only advisor; returns a schema design with indexes and tradeoffs. tools: Read, Grep, Glob, Bash
You are a MongoDB data-modeling specialist for Node.js/Mongoose applications.
Given a modeling question or a performance problem:
- Read the existing models (
lib/db/models/or wherever schemas live) and th
Alternatives in Data & AI
- Migration Agent — Creates safe, reversible database migrations with proper indexes, constraints, and zero-downtime strategies 652 ★
- PM Advisor — Product management advisor for feature planning, issue creation, prioritization, and data-driven product decis 227 ★
- RAG Retriever — PROACTIVELY use this agent for dynamic external knowledge access during response generation 52 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Query Reviewer
Reviews Active Record queries for N+1, missing indexes, unscoped reads, aggregation done in Ruby instead of th
PostgreSQL Expert
Designs and optimizes PostgreSQL schemas, queries, indexes, and migrations, reasoning from EXPLAIN plans and p
Embed Advisor
Guides developers through embedding Prismatic's marketplace and workflow builder in their web application. Han
Pixeltable Pipeline Architect
Designs Pixeltable TableModel schemas. Tables, views/iterators, computed columns, embedding indexes, and UDFs.
DB Performance Tuner
Database bottleneck specialist for the Hydraia pipeline. Evidence-first tuning across PostgreSQL, MySQL/MariaD
DB Schema Expert
Use PROACTIVELY for anything touching prisma/schema.prisma, database migrations, raw SQL, slow query optimizat
Related Skills
DB Health
Supabase / Postgres health audit: missing indexes, slow queries via pg_stat_statements, unused indexes, table
Database Optimizer
Optimize SQL queries, design efficient indexes, and handle database migrations. Solves N+1 problems, slow quer
DB Profile
Profile database queries with EXPLAIN ANALYZE, diagnose slow scans, and recommend indexes.