database-optimization
Installation
SKILL.md
Database Optimization
Use this skill when improving query performance, schema layout, indexing, or database-heavy code paths.
Priorities
- Correctness
- Measured bottlenecks
- Query and index simplicity
- Write/read tradeoff awareness
- Operational safety
Core Rules
1. Measure before tuning
- Start with the real slow query, workload, or access pattern.
- Use the database's plan/explain tooling before changing indexes or schema.
- Do not optimize based on intuition alone.