database-operations

Automate Neon PostgreSQL schema migrations, validation, and query optimization.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/nxtleveltech1/MantisNXT --skill database-operations-nxtleveltech1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-operations
Source: https://github.com/nxtleveltech1/MantisNXT/tree/main/.claude/skills/database-operations
Command: npx skills add https://github.com/nxtleveltech1/MantisNXT --skill database-operations-nxtleveltech1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides expert guidance on Neon PostgreSQL database operations, migrations, schema validation, and query optimization to keep data pipelines healthy and fast.

Core Features & Use Cases

  • Schema Management: Create, modify, and validate database schemas.
  • Migration Management: Generate and apply migrations safely.
  • Query Optimization: Analyze slow queries and optimize them with indexing and plan changes.
  • Connection Troubleshooting: Diagnose and fix database connection issues.

Quick Start

Apply pending migrations, verify schema integrity, and review a sample query plan to optimize performance.

Frequently Asked Questions about database-operations

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

FAQPage Schema
How do I optimize slow PostgreSQL queries on Neon?

Query optimization on Neon PostgreSQL involves analyzing execution plans with EXPLAIN ANALYZE, identifying sequential scans or missing indexes, and adding strategic indexes to reduce query cost. This Skill automates plan analysis and recommends indexing strategies to accelerate slow queries.

How do I safely generate and apply database migrations in PostgreSQL?

Database migrations version schema changes and apply them transactionally to ensure consistency. This Skill generates migration files, validates them for safety, and applies them across your Neon PostgreSQL schemas with transactional execution to prevent partial updates.

Can I validate schema integrity and foreign keys in Neon PostgreSQL?

Schema validation checks that tables, columns, data types, and foreign key constraints match your intended design. This Skill validates data type strictness, foreign key relationships, and cross-database queries via Foreign Data Wrappers (FDW) on Neon to ensure data integrity.

How do I troubleshoot database connection issues in Neon?

Connection problems stem from authentication, network, or configuration mismatches. This Skill diagnoses connection failures and provides remediation steps to restore connectivity to your Neon PostgreSQL instance.

What's the best approach to managing multiple database schemas in PostgreSQL?

Schema management separates logical data structures and permissions within a single database. This Skill creates, modifies, and validates multiple schemas on Neon PostgreSQL to organize related tables and enforce isolation between environments or tenants.