Command Palette

Search for a command to run...

Назад к скиллам
скилл № 87694

postgres-best-practices

ALWAYS use this when the request matches Postgres Best Practices: Postgres performance optimization and best practices from Supabase.

БесплатноБез исполняемых скриптов
Anhvu1107от Anhvu1107★ 25 звёзд на GitHub

Установить postgres-best-practices в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Supabase Postgres Best Practices

Selective Reading Rule

Start with:

  • references/usage-routing.md
  • references/quality-checklist.md

Then load only the inherited docs, scripts, assets, or examples that match the user's actual task.

Selective Reading Rule

Start with:

  • references/senior-master-standard.md
  • references/rule-selection.md
  • references/query-review-checklist.md

Then load only the rule files under rules/ that match the query, schema, or operational risk.

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 Use

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

Priority Category Impact Prefix
1 Query Performance CRITICAL query-
2 Connection Management CRITICAL conn-
3 Security & RLS CRITICAL security-
4 Schema Design HIGH schema-
5 Concurrency & Locking MEDIUM-HIGH lock-
6 Data Access Patterns MEDIUM data-
7 Monitoring & Diagnostics LOW-MEDIUM monitor-
8 Advanced Features LOW advanced-

How to Use

Read individual rule files for detailed explanations and SQL examples:

rules/query-missing-indexes.md
rules/schema-partial-indexes.md
rules/_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)

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • agents/openai.yaml
  • metadata.json
  • references/frontmatter-metadata.md
  • references/legacy-agents.md
  • references/legacy-readme.md
  • references/quality-checklist.md
  • references/query-review-checklist.md
  • references/rule-selection.md
  • references/senior-master-standard.md
  • references/usage-routing.md
  • rules/_contributing.md
  • rules/_sections.md
  • rules/_template.md
  • rules/advanced-full-text-search.md
  • rules/advanced-jsonb-indexing.md
  • rules/conn-idle-timeout.md
  • rules/conn-limits.md
  • rules/conn-pooling.md
  • rules/conn-prepared-statements.md
  • rules/data-batch-inserts.md
  • rules/data-n-plus-one.md
  • rules/data-pagination.md
  • rules/data-upsert.md
  • rules/lock-advisory.md
  • rules/lock-deadlock-prevention.md
  • rules/lock-short-transactions.md
  • rules/lock-skip-locked.md
  • rules/monitor-explain-analyze.md
  • rules/monitor-pg-stat-statements.md
  • rules/monitor-vacuum-analyze.md
  • rules/query-composite-indexes.md
  • rules/query-covering-indexes.md
  • rules/query-index-types.md
  • rules/query-missing-indexes.md
  • rules/query-partial-indexes.md
  • rules/schema-data-types.md
  • rules/schema-foreign-key-indexes.md
  • rules/schema-lowercase-identifiers.md
  • rules/schema-partitioning.md
  • rules/schema-primary-keys.md

FAQ

Что делает скилл postgres-best-practices?

ALWAYS use this when the request matches Postgres Best Practices: Postgres performance optimization and best practices from Supabase.

Как установить скилл postgres-best-practices?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл postgres-best-practices запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить postgres-best-practices с