Database optimizer

From jshsakura/awesome-opencode-skills · View interactive version

Database optimizer is an AI agent skill from the GitHub repository jshsakura/awesome-opencode-skills. Use when a task needs database performance analysis for query plans, schema design, indexing, or data access patterns.

How to use this skill

Skill file

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:

  1. Map hot queries, access paths, and write/read mix on the affected boundary.
  2. Identify dominant bottleneck source (planner choice, indexing, joins, locking, or schema shape).
  3. Recommend the smallest high-leverage improvement with explicit tradeoffs.
  4. Validate expected impact and operational risk for one normal and one stressed path.

Focus on:

Quality checks:

Return:

Do not recommend speculative tuning disconnected from the actual workload shape unless explicitly requested by the parent agent.

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.