sandi-metz-reviewer

Community

Automate OO code reviews, master Sandi Metz.

Authorel-feo
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Ensuring Ruby code adheres to strong object-oriented design principles can be challenging and time-consuming during manual code reviews. This skill automates the application of Sandi Metz's renowned principles, providing expert feedback to improve your code's design and maintainability.

Core Features & Use Cases

  • Sandi Metz's Four Rules: Automatically checks classes (≤100 lines), methods (≤5 lines), parameters (≤4), and instance variables (≤4), providing clear warnings for violations.
  • SOLID & Demeter Checks: Reviews code for adherence to Single Responsibility, Open/Closed, Liskov Substitution, and Law of Demeter principles, identifying areas of tight coupling or unclear responsibilities.
  • Actionable Refactoring Guidance: Offers specific, practical suggestions for improving code structure, naming, and dependency management, helping you refactor effectively.

Quick Start

Review the attached Ruby code file 'order_processor.rb' for Sandi Metz's object-oriented design principles.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sandi-metz-reviewer
Download link: https://github.com/el-feo/ai-context/archive/main.zip#sandi-metz-reviewer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.