code-review

Automates code review for Ruby on Rails applications using static analysis tools.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/Renzo-Tognella/UniversalThingsForMyAgents --skill code-review-renzo-tognella
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/Renzo-Tognella/UniversalThingsForMyAgents/tree/main/skills/code-review
Command: npx skills add https://github.com/Renzo-Tognella/UniversalThingsForMyAgents --skill code-review-renzo-tognella

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rubocop, brakeman, rails, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of code review for Ruby on Rails applications, focusing on security, performance, quality, and maintainability, thereby reducing manual effort and ensuring high coding standards.

Core Features & Use Cases

  • Security Checks: Identifies common security vulnerabilities like SQL injection, XSS, mass assignment, and secret exposure.
  • Performance Optimization: Assesses N+1 queries, inefficient queries, memory usage, and caching strategies.
  • Code Quality Assurance: Ensures adherence to coding principles like SRP, DRY, and readability.
  • Rails Best Practices: Enforces Rails idiomatic patterns, service objects, query objects, concerns, validations, and callbacks.
  • Testing Validation: Verifies test coverage, mock usage, factory bot implementation, and descriptive test cases.
  • Use Case: Integrate this Skill into your CI/CD pipeline to automatically review code changes and flag issues before they reach production.

Quick Start

Run the code-review skill on your Ruby on Rails codebase to automatically check for security vulnerabilities and performance issues.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I automate Ruby on Rails code review for security and performance?

Automating Ruby on Rails code review involves using static analysis tools like RuboCop and Brakeman to check for security vulnerabilities, performance issues, and adherence to Rails best practices automatically.

How does Brakeman detect security vulnerabilities in a Rails application?

Brakeman performs static analysis on Rails source code to identify common security vulnerabilities like SQL injection, XSS, mass assignment, and secret exposure without executing the application.

Do I need RuboCop and Brakeman installed to run automated Rails code reviews?

Yes, this automated Rails code review requires RuboCop and Brakeman as dependencies to perform static analysis for code quality enforcement and security vulnerability detection.

Can I integrate automated code review into a CI/CD pipeline for Rails?

Yes, you can integrate this automated code review into a CI/CD pipeline to automatically review code changes, enforce coding standards, and flag security or performance issues before production deployment.

What is the best way to check Rails N+1 queries and enforce coding standards?

The best way to check Rails N+1 queries and enforce coding standards is through automated static analysis that assesses inefficient queries, memory usage, and adherence to SRP and DRY principles.

What are the limitations of using static analysis for Rails code review?

Static analysis for Rails code review focuses on identifying common patterns and vulnerabilities in source code, but it does not execute the application to detect runtime performance issues or complex integration failures.