Skip to content
CommandImported

supabase-performance-optimizer

Optimize Supabase database performance with intelligent analysis and recommendations

Imported description, not reviewed yet

This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.

Download

Files: 1 · Size: 3.3 KB

Download the ZIP

The file carries the license of the original source.

Install

After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.

  • For this project

    It goes in: .claude/commands/

    mkdir -p .claude/commands && unzip ~/Downloads/supabase-performance-optimizer.zip -d .claude/commands

  • For your account on the whole machine

    It goes in: ~/.claude/commands/

    mkdir -p ~/.claude/commands && unzip ~/Downloads/supabase-performance-optimizer.zip -d ~/.claude/commands

Instructions

Supabase Performance Optimizer

Optimize Supabase database performance with intelligent analysis and automated improvements: $ARGUMENTS

Current Performance Context

  • Supabase metrics: Database performance data via MCP integration
  • Query patterns: !find . -name "*.sql" -o -name "*.ts" -o -name "*.js" | xargs grep -l "from\|select\|insert\|update" 2>/dev/null | head -5 application queries
  • Schema analysis: Current table structures and relationship complexity
  • Performance logs: Recent query execution times and resource usage patterns

Task

Execute comprehensive performance optimization with intelligent analysis and automated improvements:

Optimization Focus: Use $ARGUMENTS to focus on query optimization, index management, storage optimization, RLS policies, or database functions

Performance Optimization Framework:

  1. Performance Analysis - Analyze query execution times, identify slow operations, assess resource utilization, evaluate bottlenecks
  2. Index Optimization - Analyze index usage, recommend new indexes, identify redundant indexes, optimize index strategies
  3. Query Optimization - Review application queries, suggest query improvements, implement query caching, optimize join operations
  4. Storage Optimization - Analyze storage patterns, recommend archival strategies, optimize data types, implement compression
  5. RLS Policy Review - Analyze Row Level Security policies, optimize policy performance, reduce policy complexity, improve security efficiency
  6. Function Optimization - Review database functions, optimize function performance, implement caching strategies, improve execution plans

Advanced Features: Automated index recommendations, query plan analysis, performance trend monitoring, cost optimization, scaling recommendations.

Monitoring Integration: Real-time performance tracking, alert configuration, performance regression detection, optimization impact measurement.

Output: Comprehensive optimization plan with performance improvements, index recommendations, query optimizations, and monitoring setup.

Files

  • LICENSE1 KB
  • supabase-performance-optimizer.md2.3 KB

What the automatic scan found

We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.

  • Needs a lookAllowed tools with no limits

    In file cli-tool/components/commands/database/supabase-performance-optimizer.md

Comments (0)

No comments yet. Be the first.

Sign in to comment. Commenting comes at level 1 (Member).

Report

Similar items

  • CommandImported

    code-migrate

    Generate comprehensive migration plans and scripts for transitioning codebases between frameworks, languages, versions, or platforms with minimal disruption.

    MITFiles: 1

  • CommandImported

    create-database-migrations

    Create and manage database migrations with proper versioning and rollback support

    MITFiles: 1

  • CommandImported

    deps-upgrade

    Plan and execute safe, incremental dependency upgrades with minimal risk — including breaking-change migration paths and proper test verification.

    MITFiles: 1

  • CommandImported

    design-database-schema

    Design optimized database schemas with proper relationships, constraints, and performance considerations

    MITFiles: 1

  • CommandImported

    full-stack-feature

    Orchestrate end-to-end full-stack feature development across backend, frontend, database, and infrastructure layers

    MITFiles: 1

  • CommandImported

    legacy-modernize

    Orchestrate legacy system modernization using the strangler fig pattern with gradual component replacement

    MITFiles: 1