database-expert

Design and optimize data schemas and query performance across database families.

Updated Jul 23, 2026
One-click install
npx skills add https://github.com/rahulgupta2018/agent-skills --skill database-expert-rahulgupta2018
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-expert
Source: https://github.com/rahulgupta2018/agent-skills/tree/main/skills/database-expert
Command: npx skills add https://github.com/rahulgupta2018/agent-skills --skill database-expert-rahulgupta2018

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill eliminates the guesswork in database design and performance tuning by providing expert-level guidance on schema modeling, indexing strategies, and query optimization across relational, NoSQL, vector, and graph databases.

Core Features & Use Cases

  • Multi-Model Expertise: Provides specialized design patterns for PostgreSQL, MongoDB, Pinecone, and Neo4j.
  • Performance Optimization: Offers actionable advice on index selection, query plan analysis, and migration strategies to prevent system bottlenecks.
  • Use Case: When transitioning from a prototype to production, use this skill to audit your schema for N+1 query patterns, design an efficient partitioning strategy, and ensure your database migrations are reversible and zero-downtime.

Quick Start

Analyze the current database schema and suggest an indexing strategy for the primary access patterns defined in the project context.

Frequently Asked Questions about database-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize database schema design for high-performance access patterns?

Optimizing database schema design involves applying access-pattern-driven modeling and engine-specific indexing strategies to ensure scalability and consistency. It targets performance bottlenecks like N+1 query issues across relational, document, vector, and graph databases.

What's the best way to plan zero-downtime database migrations for production?

Zero-downtime database migrations require reversible strategies that prevent system bottlenecks during the transition. Applying engine-specific best practices for consistency and scalability guarantees a smooth production rollout without data loss.

How do I choose the right indexing strategy for a NoSQL or SQL database?

Choosing the right indexing strategy requires analyzing query plans and matching index selection to your primary access patterns. Specialized design patterns for relational SQL and NoSQL databases ensure optimal query performance and prevent production bottlenecks.

When do I need a vector database schema versus a graph database model?

A vector database schema suits similarity search workloads, while a graph database model handles relationship-heavy traversals. Specialized design patterns optimize data stores for their specific query mechanics, ensuring high-performance access.

How do I diagnose and resolve database performance bottlenecks in production?

Diagnosing database performance bottlenecks involves query plan analysis and auditing schema modeling for inefficient patterns. Implementing access-pattern-driven design and proper index tuning resolves production environment slowdowns effectively.