Go Lint Fixer

•
100
•

Automatically runs golangci-lint and resolves issues using a combination of built-in auto-fixes and intelligent AI-driven corrections.

This skill streamlines Go code quality maintenance by automating the entire linting and fixing lifecycle. It intelligently discovers project-specific configurations by scanning Makefiles and local documentation, runs golangci-lint with the correct flags, and employs a sophisticated multi-step approach. The skill first applies native auto-fixes and then leverages AI to manually refactor remaining issues, ensuring your codebase remains idiomatic and clean. It follows industry best practices such as avoiding magic numbers, respecting generated files, and preferring structural fixes over lint suppression.

Características Principales

01Safety protocols that prevent modification of auto-generated Go files.
02Intelligent loop that verifies fixes by re-running the linter until the output is clean.
03Multi-stage resolution process combining native tool auto-fixes with AI refactoring.
04Best-practice enforcement that prioritizes actual code fixes over 'nolint' directives.
05Automated discovery of golangci-lint configurations from Makefiles and local docs.
06100 GitHub stars

Casos de Uso

01Refactoring magic numbers and style inconsistencies across an entire Go package.
02Standardizing a legacy Go repository to meet modern code quality standards.
03Resolving complex linting errors before submitting a Pull Request to pass CI checks.