·sql-query-optimization
</>

sql-query-optimization

aj-geddes/useful-ai-prompts

SQL クエリを分析してパフォーマンスを最適化します。 PostgreSQL や MySQL で遅いクエリを改善したり、実行時間を短縮したり、クエリのパフォーマンスを分析したりする場合に使用します。

78インストール·2トレンド·@aj-geddes

インストール

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill sql-query-optimization

SKILL.md

Analyze SQL queries to identify performance bottlenecks and implement optimization techniques. Includes query analysis, indexing strategies, and rewriting patterns for improved performance.

❌ Don't create indexes without testing impact ❌ Don't use LIKE with leading wildcard without full-text search ❌ Don't JOIN unnecessary tables ❌ Don't ignore ORDER BY performance impact ❌ Don't skip EXPLAIN analysis

✅ DO test query changes in development first ✅ DO monitor query performance after deployment ✅ DO update table statistics regularly ✅ DO use appropriate data types for columns ✅ DO consider materialized views for complex aggregations

SQL クエリを分析してパフォーマンスを最適化します。 PostgreSQL や MySQL で遅いクエリを改善したり、実行時間を短縮したり、クエリのパフォーマンスを分析したりする場合に使用します。 ソース: aj-geddes/useful-ai-prompts。

原文を見る

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill sql-query-optimization
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-01
更新日
2026-02-18

クイックアンサー

sql-query-optimization とは?

SQL クエリを分析してパフォーマンスを最適化します。 PostgreSQL や MySQL で遅いクエリを改善したり、実行時間を短縮したり、クエリのパフォーマンスを分析したりする場合に使用します。 ソース: aj-geddes/useful-ai-prompts。

sql-query-optimization のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill sql-query-optimization インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/aj-geddes/useful-ai-prompts