Rubocop
Comprehensive RuboCop skills for Ruby linting and style enforcement with configuration, cops, and CI integration.
Installation
First, install the Han CLI tool:
npm install -g @thebushidocollective/hanThen install the plugin:
han plugin install buki-rubocopOverview
Comprehensive RuboCop skills for Ruby linting and style enforcement with configuration, cops, and CI integration.
Skills
This plugin provides the following skills:
- Rubocop Configuration
- Rubocop Cops
- Rubocop Integration
Usage
Once enabled, Claude will automatically apply these skills when working with relevant code. The plugin provides context and expertise that Claude uses to:
- Write idiomatic code following best practices
- Suggest appropriate patterns and architectures
- Catch common mistakes and anti-patterns
- Provide framework-specific guidance
License
Licensed under MIT - see repository for details.
Skills
rubocop-configuration
Use when ruboCop configuration including YAML config, departments, inheritance, and customization.
rubocop-cops
Use when ruboCop cops including built-in cops, configuration, auto-correction, and development.
rubocop-integration
Use when ruboCop CI integration including GitHub Actions, plugins, and performance optimization.
Hooks
Stop
Runs when the main Claude Code agent has finished responding.
npx -y @thebushidocollective/han hook run --fail-fast --dirs-with Gemfile -- bundle exec rubocopSubagentStop
Runs when a Claude Code subagent (Task tool call) has finished responding.
npx -y @thebushidocollective/han hook run --fail-fast --dirs-with Gemfile -- bundle exec rubocop