golang-lint

Automate Go project linting workflows with golangci-lint and .golangci.yml.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/nrmnqdds/gomaluum --skill golang-lint-nrmnqdds
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golang-lint
Source: https://github.com/nrmnqdds/gomaluum/tree/main/.agents/skills/golang-lint
Command: npx skills add https://github.com/nrmnqdds/gomaluum --skill golang-lint-nrmnqdds

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Go projects often suffer from inconsistent code quality and hidden bugs due to missing or misconfigured linters. This Skill provides linting best practices and a ready-to-use golangci-lint configuration to enforce standards, catch issues early, and streamline integration with CI.

Core Features & Use Cases

  • Running multiple linters with golangci-lint
  • Configuring and maintaining a .golangci.yml
  • Suppressing warnings correctly with nolint directives
  • Interpreting lint output and triaging findings
  • Managing per-linter settings and CI integration

Quick Start

Run golangci-lint on your Go module to begin linting and surface actionable fixes.

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?

Configuring golangci-lint involves creating a .golangci.yml file where you enable or disable a curated set of linters and adjust per-linter settings. This configuration file acts as the central source for enforcing code quality standards and managing static analysis across your Go module.

What is the best way to suppress golangci-lint warnings?

The best way to suppress golangci-lint warnings is by applying nolint directives directly in your Go code. This targeted approach allows you to bypass specific linting findings without disabling the linter globally, maintaining overall code quality across the project.

How do I integrate golangci-lint into a CI pipeline?

You integrate golangci-lint into a CI pipeline by running the configured linter against your Go module during the build process to automate quality checks. This setup continuously enforces linting standards and surfaces actionable fixes before code changes are merged.

Why use golangci-lint instead of staticcheck or govet individually?

Using golangci-lint is beneficial because it runs multiple linters like staticcheck and govet simultaneously through a single unified configuration. This approach streamlines interpreting lint output, managing tool settings, and maintaining consistent code quality across your Go projects.

How do I interpret golangci-lint output to triage findings?

Interpreting golangci-lint output involves reading the generated lint findings to identify code quality issues and hidden bugs within your Go module. Triage these results by understanding the specific linter rules triggered, allowing you to prioritize and apply actionable fixes efficiently.