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.