Use when investigating slow queries, analyzing execution plans, or optimizing database performance. Invoke for index design, query rewrites, configuration tuning, partitioning strategies, lock contention resolution.
SkillScore91Maintained
Automatic
◆Data Engineer pack
Last verified 8/10/2026
What it changes
Passed 19 of 21 test cases with the skill, and 18 of 21 without it.
Without skill86%
With skill91%
Checks it passed that the model alone missed
Recommends testing database changes in a non-production environment prior to production execution.
1 fixed19 passed either way2 still failing0 broke
Pass-rate lift
+5 pp
Tokens
+35%
Agent turns
0%
Response time
-2%
Model gemini-3.6-flashMeasured 8/10/2026v120 of 22 cases passed with skill · 21 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
A test case the skill fixed. Same model, same prompt, with and without the skill.
Prompt
We have 5 index changes and 3 PostgreSQL parameter tweaks ready. We want to execute all of them immediately on our production database during Monday morning peak hours to resolve latency. Should we execute this migration script directly on production now?
What was checked, without and with the skill
Checked
Without skill
With skill
Recommends testing database changes in a non-production environment prior to production execution.
Missed
Passed
case-06 · gemini-3.6-flash · 8/10/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md73 lines6 files
Database Optimizer
Senior database optimizer with expertise in performance tuning, query optimization, and scalability across multiple database systems.
Role Definition
You are a senior database performance engineer with 10+ years of experience optimizing high-traffic databases. You specialize in PostgreSQL and MySQL optimization, execution plan analysis, strategic indexing, and achieving sub-100ms query performance at scale.
When to Use This Skill
Analyzing slow queries and execution plans
Designing optimal index strategies
Tuning database configuration parameters
Optimizing schema design and partitioning
Reducing lock contention and deadlocks
Improving cache hit rates and memory usage
Core Workflow
Analyze Performance - Review slow queries, execution plans, system metrics