lint

Lint Ruby and ERB files with StandardRB, ERBLint, and Brakeman.

49|4|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/gvkhosla/compound-engineering-pi --skill lint-gvkhosla
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint
Source: https://github.com/gvkhosla/compound-engineering-pi/tree/main/skills/lint
Command: npx skills add https://github.com/gvkhosla/compound-engineering-pi --skill lint-gvkhosla

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires standardrb, erblint, brakeman, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of checking code quality and identifying potential issues in Ruby and ERB files, ensuring code is clean and maintainable before committing.

Core Features & Use Cases

  • Ruby Linting: Runs standardrb to check and auto-fix Ruby code style.
  • ERB Linting: Runs erblint to check and auto-fix ERB template style.
  • Security Scanning: Utilizes brakeman for vulnerability detection in Rails applications.
  • Use Case: Before pushing your latest changes to the main branch, run this Skill to catch any style violations or security vulnerabilities, preventing common errors and maintaining a high standard of code.

Quick Start

Run the lint skill to check and fix all Ruby and ERB files in the current project.

Frequently Asked Questions about lint

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

FAQPage Schema
How do I run automated linting and security checks for Ruby and ERB files?

Automated linting and security checks for Ruby and ERB files are executed using StandardRB, ERBLint, and Brakeman to identify style violations and vulnerabilities. This ensures code remains clean and maintainable before version control integration.

Can I auto-fix Ruby code style violations before committing?

Yes, you can auto-fix Ruby code style violations by running StandardRB. The tool automatically corrects style issues to maintain code hygiene and prevent common errors before pushing changes to the main branch.

Does Brakeman security scanning work for Rails application vulnerability detection?

Brakeman security scanning works effectively for vulnerability detection in Rails applications. It scans Ruby and ERB files to identify potential security flaws, prioritizing code security before changes are committed to version control.

What is the best way to check ERB template style in a Ruby project?

The best way to check ERB template style is using ERBLint, which performs automated linting on ERB files. It identifies style violations and supports auto-fixing to ensure templates remain consistent and maintainable.

Why should I run Ruby code quality checks before pushing to the main branch?

Running Ruby code quality checks before pushing catches style violations and security vulnerabilities early. This prevents common errors, maintains a high standard of code, and ensures code hygiene before version control integration.