agency-database-optimizer

Analyze EXPLAIN ANALYZE plans and optimize PostgreSQL indexing strategies.

Updated Jul 23, 2026
One-click install
npx skills add https://github.com/rajyeole6/AI-RECRUITER --skill agency-database-optimizer-rajyeole6
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agency-database-optimizer
Source: https://github.com/rajyeole6/AI-RECRUITER/tree/main/.agents/skills/engineering-database-optimizer
Command: npx skills add https://github.com/rajyeole6/AI-RECRUITER --skill agency-database-optimizer-rajyeole6

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses database performance bottlenecks, inefficient query execution, and poor schema design that lead to application latency and scaling issues.

Core Features & Use Cases

  • Query Optimization: Analyzes EXPLAIN ANALYZE plans to identify and resolve slow queries and N+1 patterns.
  • Schema Design: Provides best practices for indexing, normalization, and constraint management to ensure data integrity and speed.
  • Use Case: When an application experiences slow load times during high traffic, use this skill to audit existing indexes, refactor inefficient JOINs, and implement connection pooling strategies for PostgreSQL or Supabase.

Quick Start

Analyze the provided SQL query and schema definition to identify performance bottlenecks and suggest an optimized indexing strategy.

Frequently Asked Questions about agency-database-optimizer

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

FAQPage Schema
How do I optimize slow PostgreSQL queries using EXPLAIN ANALYZE?

Schema design optimization for PostgreSQL ensures data integrity and speed by applying best practices for indexing, normalization, and constraint management. This prevents application latency during high traffic by maintaining an efficient relational database structure.

Can I use this to resolve N+1 query problems in Supabase?

Yes, resolving N+1 query patterns in Supabase is supported by analyzing query execution plans to identify redundant database calls. The skill refactors inefficient JOINs and implements connection pooling strategies to reduce application latency under high traffic.

What is the best way to plan zero-downtime database migrations for high traffic applications?

Zero-downtime migration planning for high traffic applications is achieved through expert schema design and careful execution optimization. It applies relational database internals knowledge to ensure performance tuning and data integrity are maintained during the migration process.

How do I audit existing indexes to fix application latency during traffic spikes?

Auditing existing indexes to fix application latency involves analyzing current schema definitions and query execution plans to identify missing or inefficient indexes. The skill then suggests an optimized indexing strategy to resolve performance bottlenecks and improve scaling.