fix-rubocop

Community

Auto-fix Ruby style, keep your code pristine.

Authorsakuro
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill systematically resolves RuboCop offenses in Ruby projects, significantly reducing manual linting effort and ensuring consistent code style compliance across your codebase. It helps clean up .rubocop_todo.yml and maintain high code quality.

Core Features & Use Cases

  • Automated Correction: Applies safe and targeted autocorrects for various RuboCop cops, minimizing behavioral changes.
  • Structured Workflow: Provides a clear, step-by-step process for identifying, fixing, and verifying linting issues, including test verification.
  • Configuration Management: Guides on safely updating .rubocop.yml and regenerating .rubocop_todo.yml to reflect fixes and new configurations.
  • Use Case: A Ruby developer has a codebase with many RuboCop warnings and a growing .rubocop_todo.yml. This skill helps them systematically tackle these offenses, starting with safe autocorrects and verifying changes with tests, ultimately cleaning up the codebase and reducing technical debt.

Quick Start

Use the fix-rubocop skill to fix all Style/StringLiterals offenses in the lib/ directory, then run tests to verify.

Dependency Matrix

Required Modules

rubocoprakedocquet

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: fix-rubocop
Download link: https://github.com/sakuro/dotfiles/archive/main.zip#fix-rubocop

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.