Help us improve
Share bugs, ideas, or general feedback.
From ruby-rails
Runs RubyCritic to analyze Ruby code quality, detecting code smells, complexity, and duplication. Use for Ruby projects when creating/editing files, refactoring, or reviewing quality.
npx claudepluginhub el-feo/ai-context --plugin ruby-railsHow this skill is triggered — by the user, by Claude, or both
Slash command
/ruby-rails:rubycriticThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run quality check on Ruby files:
Analyzes Ruby and Rails code quality using RubyCritic. Scores files A-F, detects smells/complexity/duplication/churn, compares branches, prioritizes refactoring.
Reviews Ruby and Rails code changes using Sandi Metz rules, SOLID principles, rubycritic, and simplecov. Detects OOP violations, Rails anti-patterns, security issues, code smells, and test coverage gaps. Outputs REVIEW.md with VSCode links.
Guides on RuboCop cops including built-in cops, configuration, auto-correction, and custom development for Ruby code quality enforcement.
Share bugs, ideas, or general feedback.
Run quality check on Ruby files:
scripts/check_quality.sh [path/to/ruby/files]
Analyzes the current directory if no path provided. Auto-installs RubyCritic if missing.
Check recently modified files:
scripts/check_quality.sh $(git diff --name-only | grep '\.rb$')
Run RubyCritic automatically:
Skip for: simple variable renames, comment changes, minor formatting.
RubyCritic combines three analyzers:
Fix in priority order: high complexity > duplication > code smells > style.
Fix one issue at a time, re-run after each fix, verify score improves.
.rubycritic.yml options, CI mode, score calculation