linter

Generate a comprehensive golangci-lint configuration for Go projects.

16|1|Updated Oct 19, 2025
One-click install
npx skills add https://github.com/sgaunet/claude-plugins --skill linter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: linter
Source: https://github.com/sgaunet/claude-plugins/tree/main/plugins/go-specialist/skills/linter
Command: npx skills add https://github.com/sgaunet/claude-plugins --skill linter

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

Go projects often suffer from inconsistent linting and noisy CI signals due to ad-hoc configurations. This Skill provides a battle-tested golangci-lint setup to standardize code quality checks across teams.

Core Features & Use Cases

  • Unified, comprehensive linting with 90+ linters enabled by default to catch bugs, performance issues, and style problems.
  • Easy integration into CI pipelines and editors for seamless quality enforcement.
  • Case studies include establishing a baseline in new Go modules and maintaining consistency in multi-repo organizations.

Quick Start

Copy assets/.golangci.yml to your project root and run golangci-lint to start enforcing code quality.

Frequently Asked Questions about linter

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

FAQPage Schema
How do I set up golangci-lint for consistent Go code quality checks?

To set up golangci-lint for consistent Go code quality, copy the provided .golangci.yml configuration to your project root. This enables 90+ linters by default to catch bugs, performance issues, and style problems across local development and CI environments.

What is the best way to configure Go linting for a multi-repo organization?

The best way to configure Go linting across multiple repositories is to apply a standardized golangci-lint configuration file. This ensures uniform code quality enforcement and eliminates noisy CI signals caused by ad-hoc linting setups in different projects.

Can I use this golangci-lint configuration for both local editors and CI pipelines?

Yes, you can use this golangci-lint configuration for both local editors and CI pipelines. The setup provides integration guidance for seamless quality enforcement across local development environments and continuous integration workflows.

How do I disable noisy linters in my Go static analysis setup?

To disable noisy linters in your Go static analysis setup, use the provided .golangci.yml asset which excludes overly noisy rules by default. This allows you to maintain comprehensive linting without overwhelming CI signals or development workflows.

Does this Go linting setup work for new Go modules of any size?

Yes, this Go linting setup works for projects of all sizes, including new Go modules. It establishes a comprehensive quality baseline using golangci-lint with 90+ linters enabled by default to catch bugs and performance issues early.

Why should I use a default-all-linters configuration for Go static analysis?

Using a default-all-linters configuration for Go static analysis catches a wide range of bugs, performance issues, and style problems immediately. This approach standardizes code quality checks and prevents inconsistent linting across teams.