Communitygithub.com

supabase/supabase-postgres-best-practices

来自 Supabase 的 Postgres 性能优化与最佳实践。在编写、审查或优化 Postgres 查询、模式设计或数据库配置时使用此技能。

supabase-postgres-best-practices 是什么?

此技能提供由 Supabase 团队整理的 Postgres 性能优化和最佳实践指南。它适用于任何使用 Postgres 的开发场景,包括编写、审查或优化查询、设计数据库模式以及调整数据库配置。技能涵盖索引策略(如部分索引、覆盖索引)、查询优化(如避免 N+1 问题、使用联接)、配置调优(如内存分配、连接池)等核心主题。支持在 Claude Code、Cursor、Codex 等 AI Agent 平台中作为上下文指导 AI 生成更高效的 SQL 代码。通过遵循这些实践,开发者可以显著提升数据库性能并避免常见陷阱。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/supabase/agent-skills/tree/main/skills/supabase-postgres-best-practices

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

supabase-postgres-best-practices 是做什么的?

来自 Supabase 的 Postgres 性能优化与最佳实践。在编写、审查或优化 Postgres 查询、模式设计或数据库配置时使用此技能。

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

相关技能