lint

Identify and fix Ruby/Rails style violations using RuboCop's safe auto-correct mode.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/reckerswartz/resume_builder --skill lint-reckerswartz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint
Source: https://github.com/reckerswartz/resume_builder/tree/main/.devin/skills/lint
Command: npx skills add https://github.com/reckerswartz/resume_builder --skill lint-reckerswartz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically corrects Ruby and Rails code style using RuboCop and formatting tools. Use when fixing lint errors, standardizing code style, or when encountering RuboCop violations, code formatting issues, or style problems.

Core Features & Use Cases

  • Safe auto-correction of lint and formatting issues using RuboCop (rubocop -a)
  • Rails-specific style enforcement via rubocop-rails-omakase
  • Clear explanations of corrections to help the team learn and maintain quality

Quick Start

Run the lint skill on your project to auto-correct style issues with RuboCop.

Frequently Asked Questions about lint

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

FAQPage Schema
How do I auto-correct Ruby and Rails code style violations with RuboCop?

Run RuboCop with safe auto-correction using the rubocop -a command to automatically fix Ruby and Rails style violations across your repository. It applies rubocop-rails-omakase rules and reads .rubocop.yml from your project root for configuration.

What is the best way to enforce consistent code style in a Rails project?

Enforcing consistent Rails code style is best achieved by running RuboCop with rubocop-rails-omakase across models, controllers, services, and tests. This automatically corrects formatting issues and prevents lint regressions using safe auto-correction.

Does this RuboCop auto-correct work with existing .rubocop.yml configurations?

Yes, RuboCop auto-correction works with existing .rubocop.yml configurations by reading the file at your project root. It uses these settings alongside rubocop-rails-omakase to apply safe auto-corrections to your Ruby codebase.

Can I use RuboCop to fix lint errors across Rails models, controllers, and tests?

Yes, you can use RuboCop to fix lint errors across Rails models, controllers, services, and tests. It enforces Rails-specific style via rubocop-rails-omakase and applies safe auto-correction to ensure consistency throughout your repository.

Why does RuboCop only apply safe auto-correction instead of fixing all violations?

RuboCop applies only safe auto-correction via the rubocop -a command to prevent unintended behavioral changes. This ensures that automated lint fixes correct formatting and style violations without breaking existing Ruby or Rails application logic.