go-linter-fixer

Fix Go lint issues automatically using golangci-lint.

2|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/lestrrat/claude-code --skill go-linter-fixer
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: go-linter-fixer
Source: https://github.com/lestrrat/claude-code/tree/main/skills/go-linter-fixer
Command: npx skills add https://github.com/lestrrat/claude-code --skill go-linter-fixer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps Go developers automatically fix lint issues detected by golangci-lint, saving time and reducing manual edits.

Core Features & Use Cases

  • Automatically run golangci-lint and apply safe, minimal fixes for common lint warnings.
  • Preserve original behavior while cleaning up style, formatting, and potential code smells.
  • Use in CI or local development to keep codebase lint-clean and maintainable.

Quick Start

Run the skill on your Go project to automatically fix lint issues with golangci-lint.

Frequently Asked Questions about go-linter-fixer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically fix Go lint issues detected by golangci-lint?▼

You can automatically fix Go lint issues by running a tool that executes golangci-lint and applies safe, minimal fixes to clean up style, formatting, and code smells while preserving original behavior.

Can I use golangci-lint automatic fixes in CI checks for a large Go codebase?▼

Yes, golangci-lint automatic fixes can be used in CI checks or local development for large Go codebases, applying targeted and non-destructive fixes to keep projects lint-clean and maintainable.

What is the best way to clean up Go code smells without changing program behavior?▼

The best way to clean up Go code smells without changing behavior is using golangci-lint to apply non-destructive, targeted fixes that address only style and formatting warnings safely.

Do I need a specific golangci-lint configuration to apply automatic fixes to Go projects?▼

Yes, you need a valid golangci-lint configuration to apply automatic fixes to Go projects, ensuring the linter runs correctly and generates the appropriate targeted fixes for your code.

Why does golangci-lint automatic fixing focus on minimal and targeted edits for Go code?▼

Golangci-lint automatic fixing focuses on minimal and targeted edits to ensure fixes are non-destructive, preserving the original program behavior while safely cleaning up common lint warnings.

What are the limitations of automatically fixing Go lint issues with golangci-lint?▼

The limitations of automatically fixing Go lint issues with golangci-lint include relying on a valid configuration and being restricted to safe, non-destructive fixes to preserve program behavior.