golang-lint

Configure and run golangci-lint to enforce Go code quality standards.

1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/Jylhis/claude-marketplace --skill golang-lint-jylhis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golang-lint
Source: https://github.com/Jylhis/claude-marketplace/tree/main/plugins/golang-dev/skills/golang-linter
Command: npx skills add https://github.com/Jylhis/claude-marketplace --skill golang-lint-jylhis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) and references (resource) components.

What problem does it solve?

Many Go projects lack a unified, production‑ready linting setup, leading to inconsistent code quality, missed bugs, and time‑consuming manual configuration of golangci‑lint.

Core Features & Use Cases

  • Provides a recommended .golangci.yml with 33 vetted linters for correctness, style, security, and performance.
  • Guides users through configuring, running, and interpreting golangci‑lint output, including suppression via //nolint directives.
  • Supports CI pipeline integration, incremental adoption on legacy codebases, and parallel agents for large‑scale cleanup.
  • Offers reference material on linter categories, nolint syntax, and common linting pitfalls.

Quick Start

Activate the golang‑linter skill to set up and run golangci‑lint on your repository.

Frequently Asked Questions about golang-lint

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

FAQPage Schema
How do I configure golangci-lint for a Go project?

Configure golangci-lint using a recommended `.golangci.yml` file featuring 33 vetted linters for correctness, style, security, and performance. This setup enforces consistent Go code quality standards and eliminates manual configuration.

What is the best way to set up Go linting in a CI pipeline?

The best way to set up Go linting in a CI pipeline is by applying a unified golangci-lint configuration. This skill supports CI pipeline integration and provides reference material to help interpret linting output and enforce code quality automatically.

How do I suppress golangci-lint warnings in legacy Go codebases?

Suppress golangci-lint warnings in legacy Go codebases by using `//nolint` directives. This approach supports incremental adoption, allowing you to clean up existing code gradually while enforcing linting standards on new changes without blocking development.

Do I need the golangci-lint binary installed to lint Go code?

Yes, you need both the `golangci-lint` and `go` binaries installed to lint Go code. The tool reads your project's `.golangci.yml` configuration file to execute checks and report code quality issues.

Can I use golangci-lint for incremental adoption on large codebases?

Yes, you can use golangci-lint for incremental adoption on large codebases. The configuration supports parallel agents for large-scale cleanup and provides guidance on suppressing warnings with `//nolint` directives to avoid overwhelming manual refactoring efforts.