rb:perf

Analyze Ruby on Rails, Grape, Active Record, Redis, and Sidekiq performance bottlenecks.

7|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/slbug/claude-ruby-grape-rails --skill rb-perf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rb:perf
Source: https://github.com/slbug/claude-ruby-grape-rails/tree/main/plugins/ruby-grape-rails/skills/perf
Command: npx skills add https://github.com/slbug/claude-ruby-grape-rails --skill rb-perf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It identifies and prioritizes performance problems in Ruby on Rails, Grape, Active Record, Redis, and Sidekiq applications, helping developers eliminate slow endpoints, queue latency, cache misses, object churn, and N+1 query issues.

Core Features & Use Cases

  • Prioritized detection of N+1 queries, missing indexes, and inefficient serialization.
  • Analysis of background job latency and Redis key misuse.
  • Recommendations for multi‑step plans, quick fixes, or deeper investigations tailored to the most impactful performance gains.

Quick Start

Request a performance analysis for the 'OrdersController#index' endpoint to receive the top bottlenecks and improvement suggestions.

Frequently Asked Questions about rb:perf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find and fix N+1 queries in Ruby on Rails?

To find N+1 queries in Ruby on Rails, analyze Active Record patterns to detect inefficient object loading and receive prioritized impact-effort recommendations for resolving the bottlenecks.

What causes high latency in Sidekiq background queues?

High latency in Sidekiq background queues is caused by slow job execution and object churn. Analyzing queue performance helps target these bottlenecks and provides multi-step plans or quick fixes to reduce latency.

How do I analyze Redis cache misses in a Rails application?

To analyze Redis cache misses in a Rails application, evaluate your Redis key usage patterns to identify misuse. This yields prioritized findings to guide whether you need quick fixes or deeper investigation.

Does this performance analysis work with Grape and Active Record?

Yes, performance analysis works with Grape and Active Record, targeting slow endpoints and inefficient serialization across the stack. It generates prioritized findings ranked by impact and effort.

What is the best way to prioritize Ruby performance bottlenecks?

The best way to prioritize Ruby performance bottlenecks is to evaluate slow endpoints, queue latency, and cache misses using an impact-effort ranking. This determines whether to apply quick fixes, multi-step plans, or investigate further.