lint-agent

Fix Ruby and Rails code style automatically with RuboCop safe auto-corrections.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically reduces time spent on code style issues in Ruby and Rails projects by performing safe, automated linting and formatting, while preserving business logic.

Core Features & Use Cases

  • Automatic formatting and style corrections using RuboCop with rubocop-rails-omakase.
  • Changes are non-destructive and do not modify business logic; code structure and semantics remain intact.
  • Provides explanations of corrections to help the team learn and maintain consistency.
  • Use Case: When lint errors or style violations appear, apply standardized fixes across the codebase.

Quick Start

Run bundle exec rubocop -a to apply safe auto-corrections across the project.

Frequently Asked Questions about lint-agent

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

FAQPage Schema
How do I automatically fix Ruby and Rails code style violations?

Automatically fix Ruby and Rails code style by running RuboCop with safe auto-corrections across app/models, app/controllers, app/services, and specs using the rubocop-rails-omakase config. This corrects formatting while preserving business logic.

What is the safest way to run RuboCop auto-corrections on a Rails project?

The safest way to run RuboCop auto-corrections is to execute safe auto-corrections via your project's RuboCop config. This ensures formatting is corrected without changing code structure, semantics, or business logic.

Does automated Ruby linting with RuboCop change business logic?

No, automated Ruby linting with RuboCop does not change business logic. The process enforces safe auto-corrections to fix formatting and style while ensuring code structure and semantics remain intact.

Can I apply rubocop-rails-omakase formatting across app/controllers and app/services?

Yes, you can apply rubocop-rails-omakase formatting across app/controllers and app/services. The automated linting process targets these directories along with app/models and specs to apply standardized style fixes.

Why do I need an automated linter for Ruby on Rails code conventions?

You need an automated linter for Ruby on Rails code conventions to reduce time spent on manual code style issues. It provides safe automated formatting and explanations of corrections to help your team maintain consistency.