rb:init

Install Ruby/Rails/Grape plugin behavioral instructions into CLAUDE.md.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Installs and configures the Ruby/Rails/Grape plugin behavioral guidance into the project's CLAUDE.md to ensure consistent auto-activation, stack-aware advice, Iron Laws enforcement, and safe workflow routing across the codebase.

Core Features & Use Cases

  • Detection-first initialization: Runs a dedicated detect-stack script and prefers exact resolved versions, avoiding fragile Gemfile.lock parsing.
  • Managed-block injection and updates: Appends or replaces a guarded managed block in CLAUDE.md with conditional sections for Sidekiq, Sequel, Packwerk, Hotwire, Karafka, and Betterleaks.
  • Verification and tooling policy: Encodes required verification steps, preferred tooling commands, and runtime_env-aware behavior so post-change verification is repeatable and explicit.
  • Use Case: Add or update plugin guidance for a Rails monolith or Packwerk-style modular app so all /rb:* workflows are stack-aware and enforce mandatory safety checks.

Quick Start

Run the rb:init command to detect your stack and inject or update the managed Ruby/Rails/Grape plugin block in CLAUDE.md.

Frequently Asked Questions about rb:init

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

FAQPage Schema
How do I configure CLAUDE.md for Ruby on Rails plugin auto-activation?

Configuring Ruby on Rails plugin auto-activation involves running an initialization command that injects managed behavioral blocks into CLAUDE.md, enforcing stack-aware advice, Iron Laws, and safe workflow routing across your codebase.

What is the best way to detect a Ruby stack without parsing the Gemfile.lock?

The best way to detect a Ruby stack without parsing the Gemfile.lock is by running a dedicated detect-stack script that prefers exact resolved versions, avoiding fragile lockfile parsing during initialization.

Does the Rails initialization plugin support conditional sections for Sidekiq and Sequel?

Yes, the Rails initialization plugin supports conditional sections for Sidekiq, Sequel, Packwerk, Hotwire, Karafka, and Betterleaks, appending or replacing guarded managed blocks in CLAUDE.md during setup.

How do I enforce tooling policies and verification steps in a Ruby project?

You can enforce tooling policies and verification steps in a Ruby project by initializing a plugin that encodes required verification commands and runtime_env-aware behavior into CLAUDE.md, making post-change verification repeatable and explicit.

Can I use this initialization approach for a Packwerk modular Rails app?

Yes, you can use this initialization approach for a Packwerk modular Rails app to ensure all workflows are stack-aware and enforce mandatory safety checks across the modular architecture.

Why does stack detection avoid inline ad-hoc checks during Ruby project setup?

Stack detection avoids inline ad-hoc checks during Ruby project setup to prevent destructive external changes and ensure accurate, managed-block injection by relying on a dedicated detection script instead.