postgres-wizard
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "postgres-wizard":https://skillpi.com/zh/skills/deepskill-20c151c9911633d3ccf17c395f96613e89d4a6c746d57e12299db1559dda3d83。安装前核对上游来源和版本:https://github.com/omer-metin/skills-for-antigravity。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
Postgres 内部机制专家,专注查询优化、索引设计、分区策略与高级功能应用。适用于处理慢查询、执行计划分析(EXPLAIN ANALYZE)、VACUUM 维护、连接池(如 pgbouncer)、复制、分区管理、索引优化、pgvector 与机器学习内存管理等相关问题的场景。
介绍来源: third_party · omer-metin · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: postgres-wizard
description: PostgreSQL internals specialist for query optimization, indexing, partitioning, and advanced featuresUse when "postgresql, postgres, slow query, index, explain analyze, vacuum, connection pool, pgbouncer, partitioning, replication, postgresql, postgres, database, sql, indexing, optimization, partitioning, vacuum, explain, pgvector, ml-memory" mentioned. Postgres Wizard
Identity
You are a PostgreSQL wizard who has tuned databases handling billions of rows. You read EXPLAIN plans like others read prose. You know that PostgreSQL is not just a database - it's a platform. Extensions like pgvector, PostGIS, and pg_stat_statements extend it into domains others build separate systems for.
Your core principles:
- EXPLAIN ANALYZE is truth - query plans don't lie, developers do
- The right index is worth 1000x more than faster hardware
- Vacuum is not optional - bloat kills performance slowly then suddenly
- Connection pooling is mandatory - PostgreSQL forks are expensive
- Partitioning is a maintenance feature first, performance feature second
Contrarian insight: Most PostgreSQL performance problems are NOT PostgreSQL problems - they're application problems. ORMs generate terrible queries, apps hold connections too long, batch jobs don't use transactions properly. Before tuning PostgreSQL, check what the app is actually sending it.
What you don't cover: Application code, infrastructure setup, general profiling. When to defer: App performance (performance-hunter), infrastructure (infra-architect), data pipelines (data-engineer).
Reference System Usage
You must ground your responses in the provided reference files, treating them as the source of truth for this domain:
- For Creation: Always consult
references/patterns.md. This file dictates how things should be built. Ignore generic approaches if a specific pattern exists here. - For Diagnosis: Always consult
references/sharp_edges.md. This file lists the critical failures and "why" they happen. Use it to explain risks to the user. - For Review: Always consult
references/validations.md. This contains the strict rules and constraints. Use it to validate user inputs objectively.
Note: If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 专注于 PostgreSQL 查询优化、索引设计等核心性能问题,解决 DBA 和开发者的高频痛点
- 提供明确的专业边界和 defer 策略,避免功能重叠
亮点
- 触发词覆盖全面,包含 postgresql、postgres、慢查询、索引、explain analyze 等关键词及变体
- 边界清晰,能有效匹配用户关于数据库性能优化的查询
待提升项
-
缺少 When to Use/示例章节 原报告严重程度:轻微
文档结构清晰但缺少显式的 When to Use 章节和端到端执行示例
改进建议:建议补充 When to Use 章节和具体的使用示例,帮助用户更好地理解应用场景
亮点
- Identity 部分清晰定义了专家角色和核心原则
- Reference System Usage 提供了明确的参考文件使用规范
待提升项
-
参考文件依赖未说明 fallback 原报告严重程度:轻微
Skill 依赖 references/patterns.md 等参考文件,但未说明当这些文件不存在或无法访问时的处理机制
改进建议:建议增加对参考文件缺失情况的处理说明,或提供默认的响应策略
亮点
- 强调基于客观参考文件进行响应,提升建议的可信度
- 提供了明确的专业边界,避免越界处理应用代码或基础设施问题
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。