·performance-optimization
</>

performance-optimization

thibautbaissac/rails_ai_agents

N+1 クエリ、遅いクエリ、メモリの問題など、Rails のパフォーマンスの問題を特定して修正します。クエリの最適化、N+1 の問題の修正、応答時間の改善を行う場合、またはユーザーがパフォーマンス、遅さ、最適化、または Bullet gem について言及する場合に使用します。

10インストール·0トレンド·@thibautbaissac

インストール

$npx skills add https://github.com/thibautbaissac/rails_ai_agents --skill performance-optimization

SKILL.md

| includes | Most cases (Rails chooses best strategy) | | preload | Forcing separate queries, large datasets | | eagerload | Filtering on association, need single query | | joins | Only need to filter, don't need association data |

| Foreign keys | accountid, userid | | Columns in WHERE | WHERE status = 'active' | | Columns in ORDER BY | ORDER BY createdat DESC | | Columns in JOIN | JOIN ON events.venueid | | Unique constraints | email, uuid |

| N+1 on belongsto | includes(:association) | | N+1 on hasmany | includes(:association) | | Slow COUNT | Add countercache | | Loading all columns | Use select or pluck | | Large dataset iteration | Use findeach | | Missing index on FK | Add index on id columns | | Slow WHERE clause | Add index on filtered column |

原文を見る

引用可能な情報

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

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

クイックアンサー

performance-optimization とは?

N+1 クエリ、遅いクエリ、メモリの問題など、Rails のパフォーマンスの問題を特定して修正します。クエリの最適化、N+1 の問題の修正、応答時間の改善を行う場合、またはユーザーがパフォーマンス、遅さ、最適化、または Bullet gem について言及する場合に使用します。 ソース: thibautbaissac/rails_ai_agents。

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

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

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

https://github.com/thibautbaissac/rails_ai_agents