supabase-postgres-best-practices — community supabase-postgres-best-practices, patrimonio-pwa, Lrmdom, community, ai agent skill, ide skills, agent automation, AI agent skills, Claude Code, Cursor, Windsurf

v1.1.0
GitHub

About this Skill

Perfect for Database Optimization Agents needing advanced Postgres performance tuning and automated query optimization capabilities. Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.

Lrmdom Lrmdom
[0]
[0]
Updated: 3/4/2026

Quality Score

Top 5%
44
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
> npx killer-skills add Lrmdom/patrimonio-pwa/supabase-postgres-best-practices
Supports 19+ Platforms
Cursor
Windsurf
VS Code
Trae
Claude
OpenClaw
+12 more

Agent Capability Analysis

The supabase-postgres-best-practices skill by Lrmdom is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Perfect for Database Optimization Agents needing advanced Postgres performance tuning and automated query optimization capabilities.

Core Value

Empowers agents to optimize Postgres database performance by applying best practices across 8 categories, including automated query optimization and schema design, leveraging connection pooling and scaling, and prioritizing rules by impact to ensure efficient database operations.

Capabilities Granted for supabase-postgres-best-practices

Automating query optimization for improved database performance
Designing efficient schemas for large-scale applications
Reviewing and resolving database performance issues using Postgres-specific features

! Prerequisites & Limits

  • Requires Supabase maintenance and updates for best practices
  • Postgres database compatibility required
  • Knowledge of SQL queries and schema design necessary for effective application
Project
SKILL.md
1.7 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Supabase Postgres Best Practices

Comprehensive performance optimization guide for Postgres, maintained by Supabase. Contains rules across 8 categories, prioritized by impact to guide automated query optimization and schema design.

When to Apply

Reference these guidelines when:

  • Writing SQL queries or designing schemas
  • Implementing indexes or query optimization
  • Reviewing database performance issues
  • Configuring connection pooling or scaling
  • Optimizing for Postgres-specific features
  • Working with Row-Level Security (RLS)

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Query PerformanceCRITICALquery-
2Connection ManagementCRITICALconn-
3Security & RLSCRITICALsecurity-
4Schema DesignHIGHschema-
5Concurrency & LockingMEDIUM-HIGHlock-
6Data Access PatternsMEDIUMdata-
7Monitoring & DiagnosticsLOW-MEDIUMmonitor-
8Advanced FeaturesLOWadvanced-

How to Use

Read individual rule files for detailed explanations and SQL examples:

references/query-missing-indexes.md
references/schema-partial-indexes.md
references/_sections.md

Each rule file contains:

  • Brief explanation of why it matters
  • Incorrect SQL example with explanation
  • Correct SQL example with explanation
  • Optional EXPLAIN output or metrics
  • Additional context and references
  • Supabase-specific notes (when applicable)

References

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is supabase-postgres-best-practices?

Perfect for Database Optimization Agents needing advanced Postgres performance tuning and automated query optimization capabilities. Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.

How do I install supabase-postgres-best-practices?

Run the command: npx killer-skills add Lrmdom/patrimonio-pwa/supabase-postgres-best-practices. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for supabase-postgres-best-practices?

Key use cases include: Automating query optimization for improved database performance, Designing efficient schemas for large-scale applications, Reviewing and resolving database performance issues using Postgres-specific features.

Which IDEs are compatible with supabase-postgres-best-practices?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for supabase-postgres-best-practices?

Requires Supabase maintenance and updates for best practices. Postgres database compatibility required. Knowledge of SQL queries and schema design necessary for effective application.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add Lrmdom/patrimonio-pwa/supabase-postgres-best-practices. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use supabase-postgres-best-practices immediately in the current project.

Related Skills

Looking for an alternative to supabase-postgres-best-practices or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
Design

linear

Logo of lobehub
lobehub

Linear issue management. MUST USE when: (1) user mentions LOBE-xxx issue IDs (e.g. LOBE-4540), (2) user says linear, linear issue, link linear, (3) creating PRs that reference Linear issues. Provides

73.4k
0
Communication

testing

Logo of lobehub
lobehub

Testing guide using Vitest. Use when writing tests (.test.ts, .test.tsx), fixing failing tests, improving test coverage, or debugging test issues. Triggers on test creation, test debugging, mock setup

73.3k
0
Communication

zustand

Logo of lobehub
lobehub

Zustand state management guide. Use when working with store code (src/store/**), implementing actions, managing state, or creating slices. Triggers on Zustand store development, state management questions, or action implementation.

72.8k
0
Communication