database-expert

Design, optimize, and administer PostgreSQL, MongoDB, Redis, and vector databases.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/MrAlexisCord/chatbot-prototype --skill database-expert-mralexiscord
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-expert
Source: https://github.com/MrAlexisCord/chatbot-prototype/tree/main/.agents/skills/database-expert
Command: npx skills add https://github.com/MrAlexisCord/chatbot-prototype --skill database-expert-mralexiscord

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides expert guidance on designing, optimizing, and administering various database systems, including relational (PostgreSQL), document (MongoDB), key-value (Redis), and vector databases.

Core Features & Use Cases

  • Database Design: Create efficient schemas for different database types.
  • Query Optimization: Improve the performance of SQL and NoSQL queries.
  • Performance Tuning: Manage and enhance database speed and resource utilization.
  • Vector DB Integration: Understand and implement vector databases for AI/RAG workloads.
  • Use Case: Optimize a slow-running PostgreSQL query by analyzing its execution plan and adding appropriate indexes, or design a scalable MongoDB schema for a new application.

Quick Start

Use the database-expert skill to generate a PostgreSQL schema for a blog with users and posts.

Frequently Asked Questions about database-expert

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

FAQPage Schema
How do I optimize a slow PostgreSQL query?

To optimize a slow PostgreSQL query, analyze its execution plan and add appropriate indexes to improve performance. This targets query bottlenecks by evaluating execution paths and applying schema-level adjustments for better resource utilization.

What is the best way to design a scalable MongoDB schema?

Designing a scalable MongoDB schema requires creating efficient document structures tailored to your application's data access patterns. It involves structuring relational data into optimized document formats to ensure high performance and scalability.

How does vector database integration work for AI and RAG workloads?

Vector database integration for AI and RAG workloads stores vector embeddings to enable semantic search and retrieval. It requires understanding vector embedding principles to effectively query and manage unstructured data for generative models.

When should I use Redis over PostgreSQL or MongoDB?

Use Redis over PostgreSQL or MongoDB when you need high-speed key-value data access rather than complex relational or document queries. Redis manages rapid data pattern implementation for caching and session management, distinct from full database systems.

Do I need to understand SQL and NoSQL concepts to manage database performance?

Yes, understanding SQL and NoSQL concepts is required to effectively manage database performance and data pattern implementation. This knowledge enables accurate schema design, query optimization, and administration across relational and document stores.