rb:examples

Extract representative Ruby/Rails/Grape code examples with file paths.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provide concrete, local examples of common Ruby/Rails/Grape patterns so developers can quickly understand how features are implemented and learn idiomatic approaches used in the repository.

Core Features & Use Cases

  • Controllers and Endpoints: Extract representative controller actions and Grape endpoints to illustrate routing and request handling.
  • Service / Query Objects: Show typical service layers and query objects to demonstrate business logic separation.
  • Models and Migrations: Surface Active Record models and relevant migrations to explain data structure and schema evolution.
  • Background Jobs and Tests: Include Sidekiq jobs, request specs, and worker tests to highlight async processing and verification patterns.
  • Hotwire/Turbo Interactions: Identify examples of Hotwire/Turbo usage where present to show real-time UI update patterns.

Quick Start

Show me representative examples of controllers, models, service objects, Sidekiq jobs, and tests in this repository and include file paths for each example.

Frequently Asked Questions about rb:examples

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

FAQPage Schema
How do I find representative Ruby on Rails code examples in a repository?

To find representative Ruby on Rails code examples, the Skill extracts annotated snippets from controllers, Active Record models, service objects, and Sidekiq jobs with file paths for developer review.

Can I extract Grape endpoints and Sidekiq job implementations from a local codebase?

Yes, you can extract Grape endpoints and Sidekiq job implementations. The Skill targets local repository files to surface concise annotated snippets of background jobs and API endpoints.

What is the best way to identify service object patterns in a Ruby codebase?

The best way to identify service object patterns is extracting typical service and query layers from your Ruby codebase, which demonstrates business logic separation with file paths and context.

Does this extract Active Record migrations and request specs for onboarding documentation?

Yes, this extracts Active Record migrations and request specs for onboarding documentation. It surfaces schema evolution and verification patterns by returning concise annotated snippets from local repository files.

How do I locate Hotwire and Turbo interaction patterns in a Rails project?

To locate Hotwire and Turbo interaction patterns in a Rails project, the Skill identifies examples of Hotwire and Turbo usage where present to show real-time UI update patterns.