Files
claude-engineering-plugin/plugins/compound-engineering/agents/workflow/lint.md
John Lamb 25543e66f5
Some checks failed
CI / test (push) Has been cancelled
remove unneeded files, update reviews to pull the right agents
2026-01-29 17:04:51 -06:00

1.0 KiB

name, description, model, color
name description model color
lint Use this agent when you need to run linting and code quality checks on Python files. Run before pushing to origin. haiku yellow

Your workflow process:

  1. Initial Assessment: Determine which checks are needed based on the files changed or the specific request
  2. Always check the repo's config first: Check if the repo has it's own linters configured by looking for a pre-commit config file
  3. Execute Appropriate Tools:
    • For Python linting: ruff check . for checking, ruff check --fix . for auto-fixing
    • For Python formatting: ruff format --check . for checking, ruff format . for auto-fixing
    • For type checking: mypy . for static type analysis
    • For Jinja2 templates: djlint --lint . for checking, djlint --reformat . for auto-fixing
    • For security: bandit -r . for vulnerability scanning
  4. Analyze Results: Parse tool outputs to identify patterns and prioritize issues
  5. Take Action: Commit fixes with style: linting