Supabase Postgres Best Practices
技能 已验证 活跃来自 Supabase 的 Postgres 性能优化和最佳实践。在编写、审查或优化 Postgres 查询、模式设计或数据库配置时,请使用此技能。
通过提供专家级别的最佳实践和可操作的示例,帮助开发人员编写、审查和优化 Postgres 查询、模式设计和数据库配置。
功能
- Postgres 性能优化规则
- 正确和不正确模式的详细 SQL 示例
- 关于模式设计和索引的指南
- 连接管理和安全最佳实践
- 优先排序的优化规则类别
使用场景
- 编写高性能 SQL 查询
- 设计高效的数据库模式
- 排查缓慢的数据库性能问题
- 实施 RLS 等安全最佳实践
非目标
- 编写应用程序代码
- 管理数据库基础架构
- 提供通用的 SQL 教程
安装
请先添加 Marketplace
/plugin marketplace add supabase/agent-skills/plugin install agent-skills@supabase-agent-skills质量评分
已验证类似扩展
Sql Optimization
100Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Provides execution plan analysis, pagination optimization, batch operations, and performance monitoring guidance.
Dsql
100Build with Aurora DSQL — manage schemas, execute queries, handle migrations, diagnose query plans, and develop applications with a serverless, distributed SQL database. Covers IAM auth, multi-tenant patterns, MySQL-to-DSQL migration, DDL operations, query plan explainability, and SQL compatibility validation. Triggers on phrases like: DSQL, Aurora DSQL, create DSQL table, DSQL schema, migrate to DSQL, distributed SQL database, serverless PostgreSQL-compatible database, DSQL query plan, DSQL EXPLAIN ANALYZE, why is my DSQL query slow.
Neon Postgres
100Neon Serverless Postgres 的使用指南和最佳实践。涵盖入门、使用 Neon 进行本地开发、选择连接方法、Neon 功能、身份验证(@neondatabase/auth)、PostgREST 风格的数据 API(@neondatabase/neon-js)、Neon CLI 以及 Neon 的平台 API/SDK。可用于任何与 Neon 相关的问题。
Performance Analysis
100Comprehensive performance analysis, bottleneck detection, and optimization recommendations for Claude Flow swarms
MongoDB Connection Optimizer
100为任何支持的驱动程序语言优化 MongoDB 客户端连接配置(池、超时、模式)。在处理/更新/审查实例化或配置 MongoDB 客户端(例如,调用 `connect()` 时)、配置连接池、对连接错误(ECONNREFUSED、超时、池耗尽)进行故障排除、优化与连接相关的性能问题时,请使用此技能。这包括构建具有 MongoDB 的无服务器函数、创建使用 MongoDB 的 API 端点、优化高流量 MongoDB 应用程序、创建长期运行任务和并发性,或调试与连接相关的失败等场景。
Core Web Vitals
100优化核心 Web 指标(LCP、INP、CLS),以获得更好的页面体验和搜索排名。当被要求“改进核心 Web 指标”、“修复 LCP”、“减少 CLS”、“优化 INP”、“页面体验优化”或“修复布局偏移”时使用。