code-review

Analyze Rails code quality with Brakeman, Bundler Audit, and RuboCop.

Updated Nov 1, 2025
One-click install
npx skills add https://github.com/nschneble/rails-superstack --skill code-review-nschneble
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/nschneble/rails-superstack/tree/main/.agents/skills/code-review
Command: npx skills add https://github.com/nschneble/rails-superstack --skill code-review-nschneble

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes Rails code quality, architecture, and patterns without modifying the codebase, enabling focused feedback and risk mitigation.

Core Features & Use Cases

  • Run static analysis guidance with Brakeman, Bundler Audit, and RuboCop checks.
  • Provide structured feedback covering SOLID principles, anti-patterns, security, performance, and maintainability.
  • Use cases include code-review requests, architecture audits, and quality gate validation.

Quick Start

Provide a path to the target Rails project or codebase to start the review.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I perform a Rails code review without modifying the codebase?

A Rails code review without modifying the codebase analyzes architecture and patterns by reading the project directory and applying static analysis with Brakeman, Bundler Audit, and RuboCop. This delivers actionable, non-destructive feedback to improve quality.

How does static analysis with Brakeman and RuboCop work during a Rails security check?

Static analysis during a Rails security check works by running Brakeman and Bundler Audit to identify vulnerabilities and RuboCop to enforce style. This process reads the codebase and delivers structured feedback covering security, anti-patterns, and maintainability.

What's the best way to audit Rails architecture for SOLID principles and anti-patterns?

The best way to audit Rails architecture for SOLID principles and anti-patterns is a structured review process that reads the codebase and evaluates code quality. It provides actionable feedback covering performance and maintainability without altering the target code.

Can I use this approach to validate a quality gate for my Rails application?

Yes, you can validate a quality gate for your Rails application by running a structured review process with Brakeman, Bundler Audit, and RuboCop. This evaluates code quality, architecture, and security to ensure standards are met before deployment.

Do I need to provide a specific path to start a Rails code review?

Yes, you need to provide a path to the target Rails project or codebase to start the review. This allows the static analysis tools to read the files and generate actionable, non-destructive feedback on quality and security.

Why does my Rails code review focus on non-destructive feedback?

A Rails code review focuses on non-destructive feedback to analyze code quality, architecture, and patterns without modifying the codebase. This ensures focused feedback and risk mitigation while preventing unintended changes to the target project.