claude

rails-toolkit

37signals-style Rails skills (philosophy, style, models, controllers, jobs, mailers, testing, Turbo, Stimulus, security, performance, multi-tenancy, ActiveStorage, ViewComponents, API, safe migrations, I18n) plus a rails-core gotchas skill, a test-output cleanup skill (RSpec/Minitest), a Rails-detection session hook, and a RuboCop autocorrect hook for AI-edited Ruby files.

2 on GitHubby Mick Zijdelv1.17.2MITupdated yesterday

Not in a marketplace yet, so it loads for one session with --plugin-dir.

Plugin rails-toolkit in mickzijdel/rails-toolkit. Commands read from the repo's manifest — today.

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 (24)

  • rails-activestorage

    Use when handling file uploads, variants, direct uploads, and rich text attachments

  • rails-api

    Use when building a JSON API with Rails or adding an API namespace to an existing app — Api::BaseController setup, namespace versioning, serialization, CORS, pagination, standardized JSON errors, and request-spec patterns.

  • rails-audit

    Use to audit or health-check an existing or inherited Rails app: onboarding to a legacy codebase, a tech-debt assessment, a pre-engagement code review, or \"review my Rails app\".

  • rails-clean-test-output

    Use when a Rails test suite (RSpec or Minitest) prints anything besides results, such as warnings, deprecations, stray puts/p/pp or leaked log lines, and the user wants it cleaned up, silenced or explained.

  • rails-controllers

    Use when writing thin controllers with concerns, resource-oriented design, and REST patterns

  • rails-core

    Use FIRST on any Ruby on Rails work — the project owner's hard-won Rails gotchas and non-negotiable rules (fixtures, migrations, Stimulus LSP, validation, gems, test suite). Read before writing or changing Rails code.

  • rails-database-performance

    Use when reviewing or auditing a Rails app's database schema for missing indexes, slow query patterns, or database performance issues. Triggers on: schema review, slow queries, EXPLAIN ANALYZE output, missing index warnings, or any request to audit db/schema.rb.

  • rails-i18n

    Use when adding or auditing I18n: locale files, pluralization, date, number or currency formats, translated errors, missing or unused keys (i18n-tasks). Triggers on \"i18n\", \"internationalization\", \"translate\", \"locale\", \"pluralize\", \"missing translation\", \"l10n\", \"add a language\".

  • rails-jobs

    Use when writing background jobs with Solid Queue, including recurring jobs and context serialization

  • rails-logging

    Use when setting up a Rails app's logging or observability, debugging noisy logs, or adding structured logging: Lograge, tagged request context, parameter filtering, ActiveSupport::Notifications, Sentry or another error tracker, health checks, log levels.

  • rails-mailers

    Use when writing, configuring, or testing ActionMailer mailers — layouts, previews, deliver_later vs deliver_now, i18n subjects, attachments, bounce handling, and local dev delivery. Triggers on "mailer", "send an email", "ActionMailer", "email template", "deliver_later", "mailer preview", "bounce".

  • rails-migrations

    Use when writing, reviewing or running a database migration: adding, removing, renaming or retyping columns, tables or indexes, or backfilling data, above all on tables with production data that must stay online (zero-downtime, strong_migrations, concurrent indexes).

  • rails-models

    Use when writing ActiveRecord models with concerns, validations, callbacks, scopes, and associations

  • rails-multi-tenancy

    Use when implementing URL-based multi-tenancy, CurrentAttributes, or account context patterns

  • rails-performance

    Use when optimizing performance with caching, ETags, batching, and N+1 prevention

  • rails-philosophy

    Core philosophies, design choices, and tacit knowledge underpinning 37signals-style Rails development

  • rails-project-setup

    Use when setting up a new Rails 8 project with modern stack (Solid Queue, Solid Cache, Solid Cable, Kamal deployment)

  • rails-security

    Use when implementing authentication, authorization, or security features in Rails

  • rails-stimulus

    Use when writing Stimulus controllers with modern JavaScript patterns (ES2022 private fields, values, targets)

  • rails-style

    Use when following Rails code style conventions for method ordering, conditionals, REST routing, and naming

  • rails-testing

    Use when writing tests with fixtures, system tests, VCR cassettes, and parallel execution, or when profiling/speeding up a slow test suite (Stackprof, Speedscope, TestProf)

  • rails-turbo

    Use when implementing Turbo Frames, Streams, broadcasting, and view transitions in Rails

  • rails-upgrade

    Use when upgrading a Rails app (2.3 through 8.1), planning a multi-hop upgrade, checking a target version's breaking changes, deprecations or gem compatibility, or asking what stands between the app and the next Rails version.

  • rails-viewcomponents

    Use when creating, extracting, or refactoring ViewComponents in a Rails app — including slot design, component API, testing, and when to extract vs keep as partials

Hooks (2)

  • SessionStart

    bash "${CLAUDE_PLUGIN_ROOT}/bin/rails-detect-hook"

  • PostToolUse

    bash "${CLAUDE_PLUGIN_ROOT}/bin/rubocop-autocorrect-hook"

View source on GitHub

Similar plugins

ruby-lsp

claude

Ruby language server for code intelligence and analysis

anthropics/claude-plugins-official 47,076

Web scripting with PHP and Ruby for web applications, CMS development, and backend services

2 agents

wshobson/agents 42,461

Expert agents for specific programming languages (Python, Go, Rust, etc.)

12 agents

davepoon/buildwithclaude 3,741

TSA cybersecurity compliance advisor for critical infrastructure — pipeline, freight rail, and transit Security Directive requirements including CIP/COIP, IRP, ADR, CAP, incident reporting, and OT/ICS security.

1 skill

Sushegaad/Claude-Skills-Governance-Risk-and-Compliance 1,069

Expert TSA cybersecurity compliance advisor for critical infrastructure owners and operators. Use this skill whenever a user asks about TSA Security Directives for pipelines, freight railroads, passenger rail, public transit, or bus operators; the TSA Cyber Risk Management Program (CRMP); Cybersecurity Implementation Plan (CIP); Cybersecurity Operational Implementation Plan (COIP); Cybersecurity Assessment Plan (CAP); incident reporting to CISA; designation of a Cybersecurity Coordinator; Critical Cyber Systems (CCS); OT/IT network segmentation; the TSA November 2024 NPRM; or any directive in the SD Pipeline-2021 series, SD 1580-21-01 (freight rail), or SD 1582-21-01 (public transit/passenger rail).

200 skills

lawve-ai/awesome-legal-skills 949

ast-index

claudecodex

Fast code search for Android/Kotlin/Java, iOS/Swift/ObjC, Dart/Flutter, TypeScript/JavaScript, Rust, Ruby, C#, PHP, Python, Go, Perl, C++, Protocol Buffers, and WSDL/XSD projects

1 skill · 7 commands · hooks

defendend/Claude-ast-index-search 589

Maintain rails-toolkit?

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