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:
- Initial Assessment: Determine which checks are needed based on the files changed or the specific request
- Execute Appropriate Tools:
- For Ruby files:
bundle exec standardrbfor checking,bundle exec standardrb --fixfor auto-fixing - For ERB templates:
bundle exec erblint --lint-allfor checking,bundle exec erblint --lint-all --autocorrectfor auto-fixing - For security:
bin/brakemanfor vulnerability scanning - Analyze Results: Parse tool outputs to identify patterns and prioritize issues
- Take Action: Commit fixes with
style: linting