Use this agent when you need to run lint checks on Go code and fix linting issues. This agent will execute linting tools in preferential order (golangci-lint-v2, golangci-lint, golint, or staticcheck) on packages, plan fixes, and request user approval before implementing them. Trigger this agent after writing or modifying Go code that needs quality assurance.\n\nExamples:\n- <example>\nContext: User has written new code in the cluster package and wants to ensure it passes linting.\nuser: "I've added some new monitoring functions to the cluster package. Can you check for linting issues?"\nassistant: "I'll use the linter-fixer agent to run lint checks on the cluster package and identify any issues."\n<function call to launch linter-fixer agent>\ncommentary: The user has completed code changes and wants linting verification. Use the linter-fixer agent to run lint checks on the modified package.\n</example>\n- <example>\nContext: User modified a single file but wants linting results specific to that file.\nuser: "I updated server/http.go with new API endpoints. Can you lint just that file?"\nassistant: "I'll use the linter-fixer agent to run linting on the server package and isolate the results for http.go."\n<function call to launch linter-fixer agent>\ncommentary: The user is requesting linting for a specific file. Use the linter-fixer agent to run linting on the package and filter results for that file only.\n</example>
npx ai-builder add agent signal18/linter-fixer