/ruby-rails:ruby-minitest-testingfrom ruby-rails
This skill should be used when the user asks to "write a Minitest test", "add a test under test/", "convert these specs to Minitest", "parallelize the test suite", or is working in a Rails app on the default test stack. For RSpec instead, use ruby-rspec-testing; for choosing a test type or strategy, use rails-testing.
Ships in ruby-rails. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use Minitest effectively — Rails 8's default — with clear structure and parallel execution.
test/ files in RailsAssume mise-managed Ruby and Rails with bin/* binstubs — not rbenv, rvm, or
asdf. Read ${CLAUDE_PLUGIN_ROOT}/references/conventions.md for versions,
command forms, and type-system pairing before running project commands.
Rails generators produce Minitest by default unless configured for RSpec.
Parallelize in test_helper.rb when tests are isolated:
parallelize(workers: :number_of_processors)
Fixtures for stable baseline data; factories (factory_bot) only if already adopted.
Integration vs system: Use ActionDispatch::IntegrationTest for HTTP; system tests for full browser (Cuprite/Selenium).
Run:
mise exec -- bin/rails test
mise exec -- bin/rails test test/models/user_test.rb
mise exec -- bin/rails test
mise exec -- bin/rails test:system
PARALLEL_WORKERS=4 mise exec -- bin/rails test
perform_enqueued_jobsWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub meaganewaller/marketplace --plugin ruby-rails28 skills in this plugin
/generating-rbsThis skill should be used when the user asks to "add RBS signatures", "generate RBS for this file", "write .rbs files", "set up Steep", "type-check this Ruby with RBS", or "update sig/ after these changes". Writes standalone RBS signatures under sig/**/*.rbs and never edits the Ruby source. For RBS written as inline `# @rbs` comments in the source instead, use generating-rbs-inline; for Sorbet rather than RBS, use generating-sorbet or generating-sorbet-inline./generating-rbs-inlineThis skill should be used when the user asks to "add rbs-inline annotations", "annotate this file with @rbs comments", "use rbs-inline", "add inline RBS types", or "generate RBS from comments in the source". Writes RBS types as `# @rbs` comments directly inside .rb files. For standalone sig/**/*.rbs signature files instead, use generating-rbs; for Sorbet rather than RBS, use generating-sorbet or generating-sorbet-inline./generating-sorbetThis skill should be used when the user asks to "generate RBI files", "add Sorbet types without touching the source", "write .rbi shims", "type a gem for Sorbet", or "add signatures for generated code". Writes standalone .rbi files and never edits the Ruby source — the right choice for gems, generated code, and legacy files. In a Rails app it sends ActiveRecord and other DSL methods to `tapioca dsl` and writes only the remaining shims, under sorbet/rbi/shims/. For `sig { }` blocks written in the source itself, use generating-sorbet-inline; for RBS rather than Sorbet, use generating-rbs or generating-rbs-inline./generating-sorbet-inlineThis skill should be used when the user asks to "add sig blocks", "add Sorbet signatures to this class", "make this file typed: strict", "add T.let annotations", or "type this Ruby with Sorbet inline". Writes `sig { }` blocks and `# typed:` sigils directly into .rb source. For standalone .rbi shim files that leave the source untouched, use generating-sorbet; for RBS rather than Sorbet, use generating-rbs or generating-rbs-inline./rails-action-cableThis skill should be used when the user asks to "add real-time updates", "set up Action Cable", "create a channel", "broadcast changes to the browser", "push updates without polling", or mentions WebSockets, Solid Cable, or broadcasting from a model. Covers channels, subscriptions, connection authentication, and Turbo Stream broadcasts./rails-activerecordThis skill should be used when the user asks to "add an association", "add a validation", "write a scope", "set up has_many :through", "add a counter cache", or "use an enum", or is working with models, callbacks, or query chains. For schema changes and migration files, use rails-database-migrations; for diagnosing slow or N+1 queries, use rails-performance.Other plugins' skills for the same job