Use when optimizing Rails performance — follows a strict workflow: measure baseline, identify bottleneck, write failing RED regression spec asserting query count with db-query-matchers, apply fix, verify spec GREEN, check with EXPLAIN ANALYZE in rails dbconsole, and report quantified improvements. Regression spec must be written before any optimization is applied. Trigger words: performance, optimize, N+1, slow query, caching, Bullet, profiling.
$npx -y skills add igmarin/rails-agent-skills --skill optimize-performanceInstalls into the current project.
Run `npx skills use "https://github.com/igmarin/rails-agent-skills" --skill "igmarin/rails-agent-skills/optimize-performance"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/igmarin/rails-agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/igmarin/rails-agent-skills"` and select the relevant skills, then follow their instructions.