用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/lza6/Claude-code-cli-config --skill supabase-postgres-best-practices命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | supabase-postgres-best-practices |
| description | Supabase 的 Postgres 性能优化和最佳实践。在编写、审查或优化 Postgres 查询、模式设计或数据库配置时使用此技能。 |
| license | 麻省理工学院 |
| metadata | {"author":"supabase","version":"1.1.0","organization":"Supabase","date":"January 2026","abstract":"Comprehensive Postgres performance optimization guide for developers using Supabase and Postgres. Contains performance rules across 8 categories, prioritized by impact from critical (query performance, connection management) to incremental (advanced features). Each rule includes detailed explanations, incorrect vs. correct SQL examples, query plan analysis, and specific performance metrics to guide automated optimization and code generation."} |
Postgres 综合性能优化指南,由 Supabase 维护。包含跨 8 个类别的规则,按影响进行优先级排序,以指导自动查询优化和架构设计。
在以下情况下请参考这些指南:
| 优先 | 类别 | 影响 | 前缀 |
|---|---|---|---|
| 1 | 查询性能 | 关键 | 查询- |
| 2 | 连接管理 | 关键 | conn- |
| 3 | 安全与 RLS | 关键 | 安全- |
| 4 | 架构设计 | 高 | 模式- |
| 5 | 并发与锁定 | 中高 | 锁- |
| 6 | 数据访问模式 | 中 | 数据- |
| 7 | 监控与诊断 | 低-中 | 监视器- |
| 8 | 高级功能 | 低 | 高级- |
阅读各个规则文件以获取详细说明和 SQL 示例:
references/query-missing-indexes.md
references/schema-partial-indexes.md
references/_sections.md
每个规则文件包含: