·performance-optimization
</>

performance-optimization

thibautbaissac/rails_ai_agents

Identifies and fixes Rails performance issues including N+1 queries, slow queries, and memory problems. Use when optimizing queries, fixing N+1 issues, improving response times, or when user mentions performance, slow, optimization, or Bullet gem.

10Installs·0Trend·@thibautbaissac

Installation

$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 |

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/thibautbaissac/rails_ai_agents --skill performance-optimization
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is performance-optimization?

Identifies and fixes Rails performance issues including N+1 queries, slow queries, and memory problems. Use when optimizing queries, fixing N+1 issues, improving response times, or when user mentions performance, slow, optimization, or Bullet gem. Source: thibautbaissac/rails_ai_agents.

How do I install performance-optimization?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/thibautbaissac/rails_ai_agents --skill performance-optimization Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/thibautbaissac/rails_ai_agents