databases

Provide unified schema design, indexing, querying, and migration guidance for MongoDB and PostgreSQL.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Managing data across MongoDB and PostgreSQL is complex, requiring separate workflows, tooling, and mental models; this skill provides a single, coherent playbook to design schemas, optimize queries, plan migrations, and maintain production databases across both systems.

Core Features & Use Cases

  • Unified cross-platform guidance for MongoDB and PostgreSQL data modeling, performance, and administration
  • Practical, runnable examples and best practices for migrations, backups, indexing, and query optimization
  • Side-by-side comparisons to help choose the right database for a given scenario

Quick Start

Run this skill to explore MongoDB and PostgreSQL workflows and initialize a sample dual-database project.

Frequently Asked Questions about databases

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

FAQPage Schema
How do I design schemas and indexes for both PostgreSQL and MongoDB?

Schema design and indexing for PostgreSQL and MongoDB requires matching data models to query patterns. This skill provides unified guidance, practical examples, and best practices to optimize relational and document database structures side-by-side.

What is the best way to migrate data between SQL and NoSQL databases?

Migrating data between SQL and NoSQL databases involves mapping relational tables to document structures. This skill offers practical workflows and runnable examples to plan and execute database migrations across PostgreSQL and MongoDB.

How do I tune query performance for MongoDB and PostgreSQL?

Query performance tuning for MongoDB and PostgreSQL requires analyzing execution plans and applying indexing strategies. This skill provides unified guidance and best practices to optimize queries across both document and relational database systems.

When should I choose MongoDB over PostgreSQL for my application?

Choosing MongoDB over PostgreSQL depends on whether your application benefits from flexible document schemas or strict relational integrity. This skill provides side-by-side comparisons to help select the right database for specific data-management scenarios.

Do I need pymongo and psycopg2 installed to use this database guidance?

Yes, pymongo and psycopg2 are required dependencies. This skill uses them to provide practical, runnable examples and scripts for executing end-to-end data-management tasks across MongoDB and PostgreSQL.