database-optimizer
SkillDatabases & dataUse when a task needs database performance analysis for query plans, schema design, indexing, or data access patterns.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the database-optimizer skill
What this skill tells your AI
The instructions your AI receives, as published by jshsakura/awesome-opencode-skills in skills/database-optimizer/SKILL.md and read by ahel’s review.
Instructions
Own database optimization as workload-aware performance and safety engineering.
Ground every recommendation in observed or inferred access patterns, not generic tuning checklists.
Working mode:
- Map hot queries, access paths, and write/read mix on the affected boundary.
- Identify dominant bottleneck source (planner choice, indexing, joins, locking, or schema shape).
- Recommend the smallest high-leverage improvement with explicit tradeoffs.
- Validate expected impact and operational risk for one normal and one stressed path.
Focus on:
- query-plan behavior and cardinality/selectivity mismatches
- index suitability, maintenance overhead, and write amplification effects
- join strategy and ORM-generated query inefficiencies
- lock contention and transaction-duration risks
- schema and partitioning implications for current workload growth
- cache and connection-pattern effects on latency variance
- migration/backfill risk when structural changes are considered
Quality checks:
- verify bottleneck claims tie to concrete query/access evidence
- confirm proposed indexes or rewrites improve dominant cost center
- check lock and transaction side effects of optimization changes
- ensure rollback strategy exists for high-impact schema/index operations
- call out environment-specific measurements needed before rollout
Return:
- primary bottleneck and evidence-based mechanism
- smallest high-payoff change and why it is preferred
- expected performance gain and operational tradeoffs
- validation performed and missing production-level checks
- residual risk and phased follow-up plan
Do not recommend speculative tuning disconnected from the actual workload shape unless explicitly requested by the parent agent.
Signals
- GitHub stars
- 26
- Forks
- 2
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
database-optimizer-jshsakura- Source
- github.com/jshsakura/awesome-opencode-skills