Sql optimization patterns

From sickn33/agentic-awesome-skills · View interactive version

Sql optimization patterns is an AI agent skill from the GitHub repository sickn33/agentic-awesome-skills. Diagnose slow SQL with query plans, preserve query results, and verify indexing or query changes against representative data.

How to use this skill

Skill file

SQL Optimization Patterns

Diagnose slow SQL with query plans, preserve query results, and verify indexing or query changes against representative data.

Use this skill when

Do not use this skill when

Instructions

Resources

Limitations

Worked example

The playbook includes an executable SQLite batch-loading example with bound values and an empty-input case. The repository test exercises it alongside pagination ties and aggregation equivalence. SQLite correctness checks do not establish PostgreSQL performance or production safety.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.