routers

当用户希望“通过建表语句 + 慢 SQL 自动优化索引”时使用此 Skill,支持 MySQL、Oracle、PostgreSQL。脚本使用 Python,自动解析 DDL 与慢 SQL 中的 WHERE/JOIN/ORDER BY 列,生成候选索引及对应数据库的 CREATE INDEX 语句,并输出到文件。

@clawhub_houyalei/sql-index-optimizer-multi-db

By houyalei

About this Skill

当用户希望“通过建表语句 + 慢 SQL 自动优化索引”时使用此 Skill,支持 MySQL、Oracle、PostgreSQL。脚本使用 Python,自动解析 DDL 与慢 SQL 中的 WHERE/JOIN/ORDER BY 列,生成候选索引及对应数据库的 CREATE INDEX 语句,并输出到文件。

代码生成脚本工具

Skill files and instructions

Read SKILL.md and the other instructions or configuration files published with this Skill.

Loading file list

Details

Category
Development
Source
clawhub
Version
1.0.0
Updated
Sep 23, 2026
View original listing
Drag to dock at either edge, or use arrow keys to move. Press Enter to open support.