Stats
Actions
Tags
How this command is triggered — by the user, by Claude, or both
Slash command
/ruby-idioms:ruby-review [file]This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
Review the Ruby in **$1** (default: the files in the current change) for idiomatic quality. Apply the `writing-idiomatic-ruby` skill. For each finding, report **file:line**, the non-idiomatic pattern (manual loops, verbose nil checks, nested conditionals, `rescue Exception`), and the idiomatic rewrite — favoring the right Enumerable method and guard clauses. Offer to apply fixes with `Edit`; leave whitespace/formatting to RuboCop. Keep the review proportional to the change.
Review the Ruby in $1 (default: the files in the current change) for idiomatic quality.
Apply the writing-idiomatic-ruby skill. For each finding, report file:line, the
non-idiomatic pattern (manual loops, verbose nil checks, nested conditionals, rescue Exception), and the idiomatic rewrite — favoring the right Enumerable method and guard clauses.
Offer to apply fixes with Edit; leave whitespace/formatting to RuboCop. Keep the review
proportional to the change.
npx claudepluginhub meaganewaller/rosetta --plugin ruby-idioms