claude

ruby-grape-rails

Specialist agents, Iron Laws, parallel code review, and plan→work→verify→review→compound workflow for Ruby, Rails, Grape, Sidekiq, Hotwire, Active Record, and Sequel projects.

0 on GitHubby Alexander Grebennikv1.16.13MITupdated 1 month agodevelopment
/

Plugin ruby-grape-rails from marketplace slbug in review-bench/slbug_claude-ruby-grape-rails. Commands read from the repo's manifest — 1 month ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (51)

  • rb:constraint-debug

    Diagnosing Active Record constraint failures: unique-index, foreign-key, NOT-NULL violations. Triggers: \"constraint error\", \"unique violation\", \"foreign key\", \"PG::UniqueViolation\".

  • active-record-patterns

    Active Record patterns: models, queries, associations, transactions, locking, migrations. Triggers: \"AR scope\", \"has_many through\", \"polymorphic\". Do NOT use for: Sequel, N+1.

  • rb:n1-check

    Diagnosing N+1 query patterns in Rails/Grape: slow index pages, serializers, nested API responses. Triggers: \"N+1\", \"includes\", \"preload\", \"bullet warning\".

  • rb:async-patterns

    Implementing Ruby fiber concurrency: async gem, Falcon server, I/O-bound parallelism, fiber-safe locking.

  • rb:audit

    Running a project-wide audit of a Ruby/Rails/Grape codebase: architecture, security, performance, testing coverage, ops risk. Emits findings to .claude/audit/.

  • rb:brainstorm

    Exploring approaches, comparing options, and gathering requirements for a vague Ruby/Rails/Grape feature idea before /rb:plan. Interview-style discovery; emits interview.md.

  • rb:brief

    Walking through a Ruby/Rails/Grape plan, diff, or review in a concise summary. Triggers: \"explain plan\", \"summarize review\", \"walk me through\".

  • rb:challenge

    Running rigorous adversarial scrutiny on Active Record changes, Hotwire/Turbo events, or PR readiness — devil's-advocate questioning before approval.

  • rb:compound

    Capturing a solved Ruby/Rails/Grape problem as reusable knowledge. YAML solution doc. Triggers: \"compound this\", \"save this solution\", \"capture this fix\".

  • rb:compression-report

    Drafting an anonymized GitHub-issue-ready report from verify-output compression telemetry: PII-redacted, actionable, user copies into a maintainer issue.

  • rb:deploy

    Configuring Rails deployment: Kamal, Docker, Thruster, Solid Queue, Procfile, container layout.

  • rb:document

    Generating documentation for implemented Ruby/Rails/Grape features: YARD/RDoc method docs, README updates, ADRs. Runs after /rb:review passes.

  • rb:dry-rb-patterns

    Applying dry-rb gems: dry-validation contracts, dry-types coercion, dry-monads Result/Maybe, dry-struct value objects, dry-transaction pipelines, dry-system DI.

  • rb:full

    Running the end-to-end Ruby/Rails/Grape lifecycle in one shot: plan → work → verify → review → compound, chained. Autonomous on happy path; halts on /rb:verify --full failure (HALTED_VERIFY_FAILED), BLOCKED review (HALTED_REVIEW_BLOCKED), REQUIRES CHANGES review (HALTED_REVIEW_REQUIRES_CHANGES), or

  • grape-idioms

    Grape APIs: endpoint design, param coercion, versioning, grape-entity. Triggers: \"API versioning\", \"param coercion\", \"endpoint design\", \"Grape::Entity\". Do NOT use for: Rails controllers.

  • rb:hotwire-native

    Building native iOS/Android shells with Hotwire Native: path configuration, bridge components, native navigation, Turbo Native bridges.

  • hotwire-patterns

    Hotwire in Rails: Turbo Frames, Streams, Stimulus, Action Cable. Triggers: \"live update no reload\", \"broadcast model\", \"stimulus controller\". Do NOT use for: native mobile, jobs.

  • rb:init

    Initializing the Ruby/Rails/Grape plugin: writes stack notes (queues, ORM-per-package, layout) into CLAUDE.md. Triggers: \"initialize plugin\", \"setup ruby plugin\", \"configure Claude for Rails\".

  • intent-detection

    Routing Ruby/Rails/Grape/Sidekiq/AR/Sequel/Hotwire work to the correct /rb: command BEFORE doing it. Pushy gateway, never blocks. Triggers: \"my Rails app\", \"which command\", multi-step task. Do NOT use when user typed /rb:<name>.

  • rb:intro

    Walking a user through the Ruby/Rails/Grape plugin commands, capabilities, and workflow. Tutorial-style intro for newcomers who want to learn what the plugin offers rather than tackle a specific task.

  • rb:investigate

    Root-cause analysis for Ruby/Rails/Grape bugs whose cause is unknown. Triggers: \"why is this broken\", \"root cause\", \"error analysis\". Do NOT use for: perf, tracing.

  • iron-laws

    Iron Laws of Ruby/Rails/Grape (AR, Sidekiq, security, Ruby, Hotwire, verify). Non-negotiable rules. Triggers: \"iron law\", \"non-negotiable rule\", \"iron-law-judge\".

  • rb:karafka

    Building Kafka consumers and producers with Karafka in Rails: multi-threaded batch processing, message handlers, OffsetStore.

  • rb:learn

    Capturing in-flight lessons when the user corrects your approach or teaches a pattern: ActiveRecord, Rails, Grape, Sidekiq mistakes during work. Writes lightweight learning notes.

  • rb:perf

    Analyzing performance issues in Rails, Grape, Active Record, Redis, and Sidekiq: slow endpoints, queue latency, cache misses, object churn, memory bloat, p95 spikes.

  • rb:permissions

    Analyzing recent Claude Code sessions to recommend safe Bash permissions entries for Ruby/Rails/Grape workflows in settings.json. Reduces approval prompts by promoting frequently-used safe commands into permissions allowlist.

  • rb:plan

    Planning Ruby/Rails/Grape features, Sidekiq, migrations before code. Accepts plan.md, interview.md, REQUIRES CHANGES review. Triggers: \"plan this feature\", \"implementation plan\", \"design before code\".

  • rb:pr-review

    Addressing GitHub PR review comments: fetches them via gh, categorizes by comment type (code change / question / nit / etc.), drafts responses, and optionally fixes code. Use when a reviewer leaves comments or shares a PR number/URL.

  • rb:provenance-scan

    Auditing research/review `*.provenance.md` sidecars under `.claude/`: classifies each by trust_state (clean / weak / conflicted / missing) and writes a dated report. Pure post-hoc disk analysis; no model calls, no network.

  • rb:quick

    Making trivial one-line fixes, typos, and tiny config changes in a Ruby/Rails/Grape codebase. Skips planning ceremony: inspect, fix, verify. For obvious changes under ~20 lines.

  • rails-contexts

    Deciding where Rails logic belongs: controllers, services, forms, queries, policies, serializers. Triggers: \"where does this go\", \"extract service\", \"form object pattern\", \"Pundit policy\".

  • rails-idioms

    Rails framework idioms: controllers, before_action, callbacks, autoloading, jobs, routes. Triggers: \"Rails way\", \"callback order\", \"autoload constant\", \"route helper\". Do NOT use for: plain Ruby.

  • rb:boundaries

    Analyzing context and service boundaries in Rails apps: detect coupling, misplaced logic, layer-interaction violations. For refactors, monolith splits, package extraction.

  • rb:trace

    Tracing a request, job, or service flow through Rails/Grape/Sidekiq. Triggers: \"trace this request\", \"follow the code path\", \"where does this value change\".

  • rb:state-audit

    Auditing Rails request-scoped state hygiene: CurrentAttributes, sessions, caching policies, Redis usage, request-lifecycle leaks between calls.

  • rb:research

    Evidence-based research on Ruby/Rails/Grape gems, upgrade paths, security choices, architecture. Cites sources. Triggers: \"research this gem\", \"upgrade path\", \"evidence for\".

  • rb:review

    Reviewing Ruby/Rails/Grape changes via parallel specialists: correctness, security, tests, AR, Grape, Sidekiq. Triggers: \"review my changes\", \"code review\", \"check this PR\".

  • ruby-idioms

    Plain Ruby idioms: value objects, error handling, pattern matching, ractors, YJIT. Triggers: \"frozen string literal\", \"plain Ruby code\", \"endless method\", \"value object\". Do NOT use for: Rails patterns.

  • rubydoc-fetcher

    Looking up Ruby or gem documentation cheaply via WebFetch: rubydoc.info, Rails Guides, official gem docs, API references. Low-MCP-token doc retrieval.

  • rb:runtime

    Integrating the Tidewave runtime for live Rails introspection: code exec, SQL queries, model inspection, log retrieval against a running server.

  • safe-migrations

    Zero-downtime Rails migrations: strong_migrations, backfill, locking, multi-step rename/drop/add-NOT-NULL. Triggers: \"is migration safe\", \"will it lock table\", \"backfill strategy\", \"add NOT NULL prod\".

  • rb:secrets

    Scanning code for leaked secrets, API keys, tokens, and credentials using betterleaks. Manual on-demand scan with baseline + validate + git-history flows.

  • security

    Rails/Grape security review: authz, injection, output sanitization, SSRF. Triggers: \"is this vulnerable\", \"SQL injection\", \"XSS\", \"Brakeman warning\". Do NOT use for: secret scans.

  • rb:sequel-patterns

    Applying Sequel ORM patterns: datasets, migrations, associations, plugins, transactions, Sequel-vs-AR boundary decisions.

  • sidekiq

    Sidekiq / Solid Queue jobs: idempotency, JSON-safe args, after_commit enqueue, retries. Triggers: \"perform_async\", \"worker stalled\", \"retry on failure\", \"job stuck\". Do NOT use for: HTTP endpoints, Kafka.

  • rb:discovery-report

    Drafting an internal report from skill-discovery telemetry collected when RUBY_PLUGIN_DISCOVERY_LOG=1 is set. Reads ${CLAUDE_PLUGIN_DATA}/discovery.jsonl, summarizes hook events that matched trigger patterns, lists candidate-skill suggestions, computes per-rule match rate, suggests trigger-table twe

  • rb:techdebt

    Scanning a Ruby/Rails/Grape codebase for tech-debt items: overgrown services, query repetition, callback sprawl, decorative abstractions, dead code, missing tests around legacy seams. Read-only — logs items, routes fixes elsewhere.

  • testing

    Authoring Ruby/Rails/Grape/Sidekiq tests: request specs, factories, anti-flake. Triggers: \"RSpec patterns\", \"factory setup\", \"flaky test\". Do NOT use for: running tests, executing rspec.

  • rb:triage

    Triaging review findings: pick fix now, skip, or defer. Prioritizes Blockers (Iron Law violations, security). Triggers: \"triage\", \"which to fix\", \"prioritize findings\".

  • rb:verify

    Strongest check stack on Ruby/Rails/Grape: CI wrapper if present, else Zeitwerk + lint + tests + Brakeman. Stops at first failure. Triggers: \"verify my work\", \"run checks\", \"CI check\".

  • rb:work

    Executing a Ruby/Rails/Grape plan checklist: reads plan.md, runs tasks, ticks checkboxes. Resumes newest active plan. Triggers: \"implement plan\", \"resume work\", \"execute plan\".

Subagents (19)

  • active-record-schema-designer

    Designs or reviews Active Record schemas, migrations, indexes, constraints, locking strategy, and query shape for Ruby/Rails/Grape applications.

  • call-tracer

    Traces Rails, Grape, service, model, and Sidekiq call chains from an entry point to downstream effects.

  • data-integrity-reviewer

    Reviews Active Record or Sequel models, migrations, and transactions for data integrity risks, rollback safety, and constraint gaps during review.

  • deep-bug-investigator

    Investigates tricky Ruby/Rails/Grape bugs, race conditions, stale cache problems, and Sidekiq failures using structured evidence gathering. Writes the investigation report to a file.

  • dependency-analyzer

    Analyze dead code, circular requires, and cross-package coupling before refactor planning, cleanup review, or modular-monolith extraction in Rails/Grape codebases.

  • deployment-validator

    Reviews deployment configuration for Ruby/Rails/Grape applications, including Docker, Procfile/process layout, migrations, assets, environment config, and Sidekiq runtime concerns.

  • iron-law-judge

    Checks Ruby/Rails/Grape code for project Iron Law violations using pattern analysis. Use proactively after code changes or during review.

  • migration-safety-reviewer

    Reviews Active Record or Sequel migrations for locking risk, rollback safety, indexes, and constraint gaps before deployment review.

  • output-verifier

    Verify factual claims in research briefs and review findings before the user acts on them. Use for version-specific, externally sourced, or policy-heavy claims that need provenance checks.

  • rails-architect

    Advises on Rails and Grape interaction architecture, user-facing workflows, Hotwire patterns, and service-layer fit.

  • rails-patterns-analyst

    Analyzes a Ruby/Rails/Grape codebase for existing controller, endpoint, service, model, policy, serializer, and job patterns before planning or refactoring.

  • ruby-gem-researcher

    Researches Ruby gems and library swaps using primary sources, version support, migration risk, and Rails/Grape integration fit.

  • ruby-reviewer

    Reviews Ruby/Rails/Grape changes for correctness, maintainability, boundary discipline, and idiomatic Ruby design.

  • ruby-runtime-advisor

    Advises on Ruby runtime, threading, connection-pool, and background execution tradeoffs for Rails/Grape systems.

  • security-analyzer

    Reviews Ruby/Rails/Grape changes for authorization gaps, SQL safety issues, unsafe rendering, secrets handling, request-boundary problems, and Sidekiq security risks.

  • sidekiq-specialist

    Reviews Sidekiq job classes, queueing strategy, retries, idempotency, payload shape, and enqueue timing. Use when implementing or reviewing async workflows.

  • testing-reviewer

    Reviews Ruby/Rails/Grape test code for spec quality, fixture/factory discipline, request coverage, worker coverage, and anti-flake patterns.

  • verification-runner

    Runs the strongest available Ruby/Rails/Grape verification stack, preferring a repo-native composite verify wrapper when available, and reports the first failing step or a clean pass.

  • web-researcher

    Fetches and extracts information from focused web sources efficiently. Optimized for official Ruby, Rails, Grape, Sidekiq, and gem documentation.

Hooks (30)

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/log-progress.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/secret-scan.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/security-reminder.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/security-reminder.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/security-reminder.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/security-reminder.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/security-reminder.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/security-reminder.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/security-reminder.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/security-reminder.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/security-reminder.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/security-reminder.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/security-reminder.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/security-reminder.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/security-reminder.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/security-reminder.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/security-reminder.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/security-reminder.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/rubyish-post-edit.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/rubyish-post-edit.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/rubyish-post-edit.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/rubyish-post-edit.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/rubyish-post-edit.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/rubyish-post-edit.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/rubyish-post-edit.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/rubyish-post-edit.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/rubyish-post-edit.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/rubyish-post-edit.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/plan-stop-reminder.sh

  • PostToolUse

    ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/compress-verify-output.rb

View source on GitHub

Similar plugins

superpowers

claudecodex

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

15 skills · hooks

obra/superpowers 316,836

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

Build powerful, stateful CLI interfaces for any GUI application using the cli-anything harness methodology.

5 commands

HKUDS/CLI-Anything 58,665

Automates browser interactions for web testing, form filling, screenshots, and data extraction

12 skills

vercel-labs/agent-browser 50,373

Use Alibaba Open Code Review from local Codex.

2 skills

alibaba/open-code-review 50,068

slidev

claude

Claude Code skill for creating and presenting Slidev slidedecks

1 skill

slidevjs/slidev 49,452

Maintain ruby-grape-rails?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted