Claude Rubycritic Skill — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Claude Rubycritic Skill (Plugin) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A Claude Code skill that provides comprehensive code quality analysis for Ruby and Rails projects using RubyCritic.
Install via Claude Code's plugin system for automatic updates:
# Add this repository as a marketplace
/plugin marketplace add esparkman/claude-rubycritic-skill
# Install the plugin
/plugin install rubycritic-skill@rubycritic-skill
# Install RubyCritic gem
gem install rubycritic# Clone the repository
git clone https://github.com/esparkman/claude-rubycritic-skill.git
cd claude-rubycritic-skill
# Run the install script
./install.shOr manually:
# Clone to temporary location
git clone https://github.com/esparkman/claude-rubycritic-skill.git /tmp/rubycritic-temp
# Copy the skill folder
mkdir -p ~/.claude/skills
cp -r /tmp/rubycritic-temp/skills/rubycritic-skill ~/.claude/skills/
# Install RubyCritic gem
gem install rubycritic
# Clean up
rm -rf /tmp/rubycritic-tempFor detailed installation instructions, see INSTALLATION.md.
This is a model-invoked skill - Claude automatically knows when to use it based on your requests. Navigate to any Ruby or Rails project in Claude Code and simply ask in natural language:
Analyze entire project:
Analyze the code quality of this projectAnalyze specific paths:
Check the code quality of app/models
Run code quality analysis on app/controllers/users_controller.rbGet a summary:
Give me a quick summary of the code quality metricsFind worst files:
Show me the 5 worst files that need refactoring
What files have the lowest quality scores?Compare branches:
Compare the code quality between this branch and main
How has code quality changed since the main branch?Claude will automatically invoke RubyCritic and provide detailed analysis with actionable insights.
The skill provides several types of analysis you can request:
| Capability | What to Ask | What You Get |
|---|---|---|
| Full Analysis | "Analyze the code quality of [path]" | Complete breakdown of metrics, scores, and smells for files |
| Summary | "Give me a code quality summary" | Quick overview of overall project health without file details |
| Worst Files | "Show me the worst files" or "Find the 5 lowest scoring files" | Prioritized list of files needing immediate attention |
| Branch Comparison | "Compare code quality with main branch" | Diff showing quality improvements or regressions between branches |
When you ask about code quality, Claude will:
Score Grades:
Key Metrics:
Create a .rubycritic.yml in your project root:
# Minimum acceptable score
minimum_score: 80.0
# Paths to exclude
paths:
- 'db/schema.rb'
- 'db/migrate/**/*'
- 'config/**/*'
- 'spec/factories/**/*'
# Enable analyzers
analyzers:
- flay
- flog
- reek
# Output format
formats:
- console
- htmlBefore committing, ask Claude to check your changes:
Analyze the code quality of the files I'm about to commitClaude can check the staged files and provide feedback before you commit.
Target specific areas of your codebase:
Analyze the code quality of app/modelsCheck the controllers for code quality issuesMonitor quality changes over time:
Compare the code quality of this branch with mainHow has the code quality of app/services/user_service.rb improved?In your CI pipeline, you can run RubyCritic directly:
# Run in CI to track quality trends
rubycritic app/ --minimum-score 80 --format consoleSkill not appearing?
/plugin list~/.claude/skills/rubycritic-skill/SKILL.md/help to see available skillsRubyCritic not found?
gem install rubycriticbundle installAnalysis too slow?
.rubycritic.ymlSee INSTALLATION.md for more troubleshooting tips.
Contributions are welcome! Please see CONTRIBUTING.md for detailed guidelines on:
MIT License - see LICENSE for details.
Made with ❤️ for Ruby and Rails developers
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.