Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

pg-find-unused-index

Sterne1
Forks0
Aktualisiert13. Juli 2026 um 08:05

PostgreSQL 未使用索引检测专用技能。给定 PostgreSQL 实例的连接串(host/port/user/password 或 postgresql:// URL),自动列出实例下所有可连接数据库,逐库扫描未被使用的索引,按索引大小倒序输出索引名、索引大小、表大小及影响评估,并给出后续观察或操作建议。触发条件:用户提到"未使用索引"、"无用索引"、"冗余索引"、"索引瘦身"、"哪些索引可以删"、"index bloat"、"unused index"、"idx_scan"、"帮我检查一下这个库的索引"、"索引优化建议"、"数据库瘦身",或提供了 PostgreSQL 连接串/账号密码并希望做索引健康检查、存储优化、性能调优时,必须使用本 skill。即使用户只说"帮我看看这个 PG 实例有没有浪费空间的索引"或"这个库的索引是不是太多了",也应使用本 skill。

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

Datei-Explorer
4 Dateien
SKILL.md
readonly