AGENT SKILL
drin-database-query-optimizer
Specialized workflow for identifying and fixing slow SQL queries.
- License 许可
- MIT
- 最近更新
- 2026-04-11
- Stars
- ★ 12
- Forks
- 1
01 前言 Front Matter
- name
- drin-database-query-optimizer
- status
- production
- description
- Specialized workflow for identifying and fixing slow SQL queries.
03 SKILL.md 正文
Database Query Optimizer
Purpose
To ensure database performance remains high as the data grows.
Steps
- Identify: Find slow queries via logs or
@monitoring. - Explain: Use
EXPLAIN ANALYZEto see the query plan. - Diagnosis: Check for Sequential Scans, missing indexes, or N+1 patterns.
- Optimization:
- Add/adjust indexes (covering, GIN, BRIN).
- Rewrite query to avoid expensive joins/subqueries.
- Denormalize data if strictly necessary for read performance.
- Verify: Re-run
EXPLAIN ANALYZEand compare timings.
Rules
- Never add an index without verifying it will be used.
- Monitor the write-performance cost of new indexes.
04 同仓库更多 Skills
drin-whatsapp-outbound-engine
Specialized workflow for sales and engagement via WhatsApp, focused on speed and intimacy.
★ 12
drin-vector-database-sync
Specialized workflow for managing, syncing, and optimizing data in Vector DBs for RAG systems.
★ 12
drin-ux-interaction-standard
Definition of standards for micro-interactions, animations, and UI feedback states.
★ 12
drin-ux-audit-framework
Heuristic evaluation framework for identifying usability issues in digital products.
★ 12
drin-user-story-generator
Automated generator for well-structured user stories following the INVEST principles.
★ 12
drin-user-feedback-synthesizer
Workflow for aggregating and summarizing user feedback from support tickets, social media, and interviews.
★ 12