rails-code-review

Audit Rails controllers, models, and views against Konvenit guidelines.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Rails code review skill following Konvenit guidelines. It helps identify and fix deviations from Konvenit's Rails development standards, improving maintainability, readability, and testability.

Core Features & Use Cases

  • Enforces service objects, presenters, HAML, and consistent double-quote usage.
  • Audits controllers, models, and views for best practices and potential issues.
  • Provides concrete refactors and actionable recommendations with examples when reviewing Rails apps or snippets.

Quick Start

Use the rails-code-review skill to review a Rails code snippet or repository, e.g., "review this controller" or "audit my Rails app".

Frequently Asked Questions about rails-code-review

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

FAQPage Schema
How do I review a Rails controller for best practices and maintainability?

To review a Rails controller, audit it against guidelines that enforce service objects, presenters, and HAML, yielding actionable refactors with concrete examples to improve maintainability and testability.

What are Konvenit guidelines for Ruby on Rails code quality?

Konvenit guidelines for Ruby on Rails enforce service objects, presenters, HAML, and consistent double-quote usage across controllers, models, and views to improve maintainability, readability, and testability.

Can I use this code review approach for Rails apps of any size and maturity?

Yes, this code review approach applies to Rails applications of various sizes and maturities, auditing architecture and checking best practices across your codebase without requiring specific dependencies.

How do I refactor Rails models to use service objects and presenters?

Refactoring Rails models involves auditing them for deviations from best practices and applying concrete refactors that extract logic into service objects and presenters to improve testability and readability.

What is the best way to enforce HAML and consistent double-quote usage in Rails views?

The best way to enforce HAML and consistent double-quote usage in Rails views is to audit them according to Konvenit guidelines, which identify deviations and provide actionable refactors with concrete examples.