prompts.chatprompts.chatprompts.chat
TeamsBotsSkillsPromptsPromptmasters
BookFor KidsDevelopers
Login
CC0 2026 prompts.chat
DeepWikiHow to...DocsAPIPrivacyTermsSupportAboutGitHub

SQL Index Recommendation Reviewer

Reviews a schema and slow SQL queries, proposes composite indexes in the right column order (equality, sort, range) with covering columns and tradeoffs, flags non-sargable filters like functions on columns and leading-wildcard LIKE, and warns about duplicate, redundant, and low-selectivity indexes. Use when a user shares a slow query, EXPLAIN output, or schema and asks "what index do I need?" or "too many indexes?". Includes a tested stdlib Python helper.

F
@f
about 1 month agoOctober 13, 2026 at 07:54 AM
Agent Skill•PerformanceDatabaseCode Review
Python
SQL
Skill Files
examples
references
scripts
templates
SKILL.md
6 files
SKILL.md
Loading...

Comments (0)

Related Skills

SQL Query Performance Reviewer

Skill

Reviews SQL queries and optional EXPLAIN output for common performance problems such as SELECT *, functions or casts on indexed columns, leading-wildcard LIKE, N+1 query loops, OR across columns vs UNION ALL, AND/OR precedence slips, NOT IN subqueries, deep OFFSET paging, seq scans and disk sorts. Explains each problem and gives a rewritten query. Includes a stdlib Python checker with --self-test.

F@f
0

SQL Schema Design Reviewer

Skill

Reviews PostgreSQL and MySQL tables (schema.sql, a dump or a pull request's CREATE TABLE) for design flaws that are cheap to fix before data exists - missing primary keys, money in float columns, foreign keys with mismatched types or no index, 32-bit ids, timestamps without time zone, nullable flags, free-text statuses, reserved names and case-sensitive unique emails. Returns corrected DDL. Includes a stdlib Python linter with --self-test.

F@f
1

Postgres EXPLAIN Slow Query Analyzer

Skill

Reads Postgres EXPLAIN and EXPLAIN ANALYZE plans (text or JSON) and finds why a query is slow - sequential scans on large relations, nested loops with huge row estimates, misestimates (estimated vs actual), high buffer reads, Sort/Hash that spill to disk, missing LIMIT pushdown and expensive nodes by actual time. Ranks fixes (index, rewrite, stats). Offline stdlib Python analyzer.

F@f
0

Database Connection Pool Sizing Calculator

Skill

Sizes database connection pools for Postgres/MySQL apps from a short JSON of services, pods, workers, threads and pool settings - worst-case connections at autoscale max and during deploy surges vs max_connections, busy connections from rps x hold time, per-process wait odds (Erlang C), CPU and memory limits, PgBouncer client and server limits. Recommends pool sizes or proxy settings. Includes an offline stdlib Python calculator with --self-test.

F@f
0

Related Bots

API Contract Guardian

Bot

Compares OpenAPI or GraphQL schema changes in pull requests and warns about breaking changes for existing clients.

F@f0

Dependency Update Pilot

Bot

Reviews dependency update PRs from Dependabot or Renovate: reads the changelogs, flags breaking changes and security fixes, and tells you which ones are safe to merge in bulk.

1 scheduled routine1 event trigger
F@f

Quality Reviewer

Bot

Reviews every PR and gates the merge. Made for the Lean Software Factory team.

1 scheduled routine
E@enesalatas1

Review Queue Unblocker

Bot

Watches your team's open pull requests, finds the ones stuck waiting for review, and suggests who should review what next so reviews stay fast and no single reviewer gets overloaded.

1 scheduled routine1 event trigger
F@f
0
0