lint

Run standardrb, erblint, and Brakeman scans on Ruby and ERB files.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/praburajasekaran/ruthva-clinic-os --skill lint-praburajasekaran
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint
Source: https://github.com/praburajasekaran/ruthva-clinic-os/tree/main/.gemini/skills/lint
Command: npx skills add https://github.com/praburajasekaran/ruthva-clinic-os --skill lint-praburajasekaran

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill ensures high-quality Ruby and ERB code by conducting in-depth linting, security scans, and code formatting.

Core Features & Use Cases

  • Comprehensive Linting: Run bundle exec standardrb for Ruby code, and bundle exec erblint for ERB templates, providing detailed feedback.
  • Auto-correction: Optionally, apply auto-correction to automatically fix issues identified by standardrb and erblint.
  • Security Scan: Execute bin/brakeman for vulnerability scanning to maintain code security.
  • Use Case: Run the Skill to identify and resolve quality and security issues in code before deployment, enhancing the stability and reliability of your Ruby applications.

Quick Start

To initiate the linting process on all changed files, activate the lint Skill using the command 'lint: linting'.

Frequently Asked Questions about lint

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

FAQPage Schema
How do I automate Ruby and ERB code linting in a CI pipeline?

Automate Ruby and ERB linting by running standardrb for Ruby files and erblint for ERB templates. This workflow provides detailed feedback on code quality and can optionally apply auto-correction to fix identified issues automatically in continuous integration pipelines.

What's the best way to run security vulnerability scanning on Ruby code before deployment?

Run security vulnerability scanning on Ruby code using Brakeman. This workflow executes the scanner to identify potential security flaws, ensuring application stability and reliability before deployment by addressing vulnerabilities early in the code review process.

Do I need Bundler and Rake to lint Ruby and ERB files?

Yes, you need Bundler, Rake, and Brakeman gems to execute the linting tools. These dependencies are required to run standardrb, erblint, and brakeman for comprehensive code formatting, linting, and security vulnerability scanning.

Can I automatically fix ERB template linting errors?

Yes, you can automatically fix ERB template linting errors. The workflow supports optional auto-correction using erblint, allowing you to resolve template formatting issues automatically without manual intervention during the code review process.

Does standardrb work with ERB files for code formatting?

Standardrb handles Ruby code formatting, while erblint specifically manages ERB templates. The workflow uses both tools together to provide comprehensive linting and code formatting across both file types within your application.

Why should I run linting and security scans together for Ruby applications?

Running linting and security scans together ensures high-quality Ruby code by catching both style issues and vulnerabilities. Combining standardrb, erblint, and brakeman in one workflow streamlines code review and maintains application security before deployment.