lint

Lint Ruby and ERB files and scan for security vulnerabilities with Brakeman.

5|1|Updated Aug 26, 2025
One-click install
npx skills add https://github.com/hollandkevint/thinkhaven --skill lint-hollandkevint
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint
Source: https://github.com/hollandkevint/thinkhaven/tree/main/.gemini/skills/lint
Command: npx skills add https://github.com/hollandkevint/thinkhaven --skill lint-hollandkevint

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 that code adheres to established standards before it is committed.

Core Features & Use Cases

  • Automated Linting: Runs linters for Ruby and ERB files to catch style and potential errors.
  • Security Scanning: Integrates with Brakeman for vulnerability detection in Rails applications.
  • Auto-fixing: Attempts to automatically correct common style issues.
  • Use Case: Before pushing your latest changes to the main branch, run this skill to automatically verify that all new Ruby and ERB code meets the project's quality and security standards.

Quick Start

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

Frequently Asked Questions about lint

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

FAQPage Schema
How do I run Ruby and ERB code quality checks before committing?

You can run automated linting on Ruby and ERB files to enforce coding standards and identify issues before code commits. This skill checks style and potential errors, and also attempts to automatically correct common style problems.

How do I scan my Rails application for security vulnerabilities before pushing?

Security vulnerability scanning for Rails applications is performed using Brakeman. This identifies potential security risks in your codebase prior to pushing changes to ensure your application meets security standards.

Can I automatically fix Ruby linting errors instead of just reporting them?

Yes, auto-fixing is supported for common style issues found during the linting process. The skill attempts to automatically correct these identified problems in your Ruby and ERB files, streamlining your code quality workflow.

Does this linting skill work with both Ruby and ERB files?

Yes, the skill executes linting and code quality checks on both Ruby and ERB files. It ensures all code adheres to established project standards before being committed to the repository.

What dependencies do I need to check Ruby code quality and security?

The code quality and security scanning process relies on standardrb for Ruby linting, erblint for ERB files, and brakeman for vulnerability detection. These dependencies execute the automated checks and generate the identified issues.

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

Running these checks before pushing ensures new Ruby and ERB code meets project quality and security standards. This prevents style errors and potential security vulnerabilities from being introduced into the main branch.