review-ruby-code

Analyze Ruby and Rails code changes against Sandi Metz rules and SOLID principles.

1|Updated Mar 31, 2011
One-click install
npx skills add https://github.com/stereosupersonic/dotfiles --skill review-ruby-code-stereosupersonic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-ruby-code
Source: https://github.com/stereosupersonic/dotfiles/tree/main/claude/skills/review-ruby-code
Command: npx skills add https://github.com/stereosupersonic/dotfiles --skill review-ruby-code-stereosupersonic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines Ruby and Rails code reviews by automatically analyzing changes using established Sandi Metz rules and SOLID principles, flagging design issues, anti-patterns, and quality gaps.

Core Features & Use Cases

  • Automated analysis: Runs rubycritic on changed Ruby files and generates a REVIEW.md with actionable findings and VSCode-compatible links.
  • Test coverage assessment: Executes SimpleCov results to identify coverage gaps and missing tests for touched files.
  • Contextual guidance: Provides targeted recommendations aligned with existing codebase patterns (service objects, concerns, decorators) to support PR review workflows.

Quick Start

Use this skill during a code review by pointing it at the feature branch to compare against the base branch, generate a REVIEW.md, and obtain clickable file references for rapid navigation.

Frequently Asked Questions about review-ruby-code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Ruby code reviews for SOLID principles?

Automate Ruby code reviews by analyzing changes against Sandi Metz rules and SOLID principles to flag design issues and anti-patterns. This generates a REVIEW.md with actionable findings and VSCode-compatible links for rapid navigation.

Can I check test coverage gaps for changed Rails files?

Check test coverage by executing SimpleCov results to identify coverage gaps and missing tests for touched files. This assesses test coverage during your automated Rails code review process.

How does rubycritic work for analyzing Rails code changes?

Rubycritic analyzes changed Ruby files by evaluating them against Sandi Metz rules and SOLID principles. It generates a REVIEW.md with actionable findings and VSCode-compatible links for quick navigation.

What is the best way to review Rails code against Sandi Metz rules?

Review Rails code against Sandi Metz rules by pointing the review tool at your feature branch to compare against the base branch. This generates a REVIEW.md with actionable findings and clickable file references.

Does this automated Ruby code review support VSCode links?

Automated Ruby code review supports VSCode-compatible links by generating a REVIEW.md with clickable file references. This enables rapid navigation to flagged design issues and quality gaps during PR review workflows.

Can I get contextual guidance for service objects during a Ruby code review?

Contextual guidance for service objects, concerns, and decorators is provided during Ruby code reviews. This supports PR review workflows by offering targeted recommendations aligned with existing codebase patterns.