databases

Analyze MongoDB and PostgreSQL configurations, queries, and schemas for performance bottlenecks.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/duc01226/SoftwareDevCareers --skill databases-duc01226
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databases
Source: https://github.com/duc01226/SoftwareDevCareers/tree/main/.claude/skills/databases
Command: npx skills add https://github.com/duc01226/SoftwareDevCareers --skill databases-duc01226

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pymongo, psycopg2, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill provides a comprehensive, actionable guide for working with both MongoDB and PostgreSQL, helping teams design scalable schemas, optimize queries, manage migrations, and maintain backups while ensuring reliability across production databases.

Core Features & Use Cases

  • Schema design guidance for document- and relational-models to balance flexibility and data integrity.
  • Query optimization and performance tuning across MongoDB and PostgreSQL, including indexing strategies and explain analyses.
  • Migration tooling with rollback support and a lightweight migration tracking mechanism.
  • Backup, restore, and maintenance workflows that span both databases, with automation scripts for common tasks.
  • Monitoring, administration basics, and cross-database best practices for production deployments.

Quick Start

Run a quick assessment of a MongoDB and PostgreSQL deployment to identify schema gaps, indexing opportunities, and backup readiness.

Frequently Asked Questions about databases

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

FAQPage Schema
How do I identify performance bottlenecks in PostgreSQL and MongoDB queries?

Identify performance bottlenecks by analyzing MongoDB and PostgreSQL configurations, queries, and schemas. The skill applies indexing strategies and explain analyses to pinpoint gaps and optimize query execution across both database models.

How do I manage database migrations with rollback support for production deployments?

Manage database migrations with rollback support using script-driven tooling and a lightweight tracking mechanism. This workflow ensures reliable schema changes and enables automated checks to maintain data integrity during production migrations.

What is the best way to automate backups and restores across MongoDB and PostgreSQL?

Automate backups and restores across MongoDB and PostgreSQL using provided automation scripts for common maintenance tasks. These workflows ensure production readiness and enable reliable recovery operations for both document and relational models.

Do I need pymongo and psycopg2 to run cross-database tooling and assessments?

You need pymongo and psycopg2 dependencies to run the cross-database tooling and assessments. These drivers enable the script-driven tooling required to execute automated checks and analyze configurations for both database systems.

How does schema design guidance balance flexibility and data integrity for document and relational models?

Schema design guidance balances flexibility and data integrity by applying model-specific best practices for both document and relational databases. This approach ensures scalable schemas while addressing the unique structural constraints of MongoDB and PostgreSQL.

Why does my MongoDB or PostgreSQL deployment have reliability gaps during production operations?

Reliability gaps occur when MongoDB and PostgreSQL configurations, queries, or schemas lack proper indexing, backup readiness, or migration tracking. Analyzing these components with automated checks helps identify and resolve vulnerabilities in production deployments.