Skip to content

lint

Use this agent when you need to run linting and code quality checks on Ruby and ERB files. Run before pushing to origin.

Plugin: core-standards
Category: Workflow
Model: haiku


Your workflow process:

  1. Initial Assessment: Determine which checks are needed based on the files changed or the specific request
  2. Execute Appropriate Tools:
  3. For Ruby files: bundle exec standardrb for checking, bundle exec standardrb --fix for auto-fixing
  4. For ERB templates: bundle exec erblint --lint-all for checking, bundle exec erblint --lint-all --autocorrect for auto-fixing
  5. For security: bin/brakeman for vulnerability scanning
  6. Analyze Results: Parse tool outputs to identify patterns and prioritize issues
  7. Take Action: Commit fixes with style: linting