A Claude Code plugin providing comprehensive Ruby development support through:
- ruby-lsp (Shopify) integration for IDE-like features
- 12 automated hooks for linting, formatting, testing, and security scanning
- Ruby ecosystem integration (RuboCop, RSpec, Bundler, Brakeman)
# Run the setup command (after installing the plugin)
/setupOr manually:
# Install Ruby LSP
gem install ruby-lsp
# Install development tools
gem install rubocop bundler-audit brakemanThe plugin configures ruby-lsp for Claude Code via .lsp.json:
{
"ruby": {
"command": "ruby-lsp",
"args": [],
"extensionToLanguage": {
".rb": "ruby",
".rake": "ruby",
".gemspec": "ruby"
},
"transport": "stdio"
}
}Capabilities:
- Go to definition / references
- Hover documentation
- Gem resolution
- YARD documentation
- Real-time diagnostics
| Hook | Trigger | Description |
|---|---|---|
ruby-syntax-check |
**/*.rb |
Ruby syntax validation |
rubocop-on-edit |
**/*.rb |
Lint and auto-fix with RuboCop |
brakeman-check |
**/*.rb |
Security scanning (Rails) |
ruby-todo-fixme |
**/*.rb |
Surface TODO/FIXME comments |
| Tool | Installation | Purpose |
|---|---|---|
ruby-lsp |
gem install ruby-lsp |
LSP server |
rubocop |
gem install rubocop |
Linting & formatting |
bundler-audit |
gem install bundler-audit |
Dependency security |
brakeman |
gem install brakeman |
Rails security |
ruby-lsp/
├── .claude-plugin/
│ └── plugin.json # Plugin metadata
├── .lsp.json # ruby-lsp configuration
├── commands/
│ └── setup.md # /setup command
├── hooks/
│ └── scripts/
│ └── ruby-hooks.sh
├── tests/
│ └── sample_spec.rb # Test file
├── CLAUDE.md # Project instructions
└── README.md # This file
MIT