golang-lint

Run golangci-lint and manage .golangci.yml configurations for Go code.

Updated May 30, 2026
One-click install
npx skills add https://github.com/ozan-fn/mqtt-capture --skill golang-lint-ozan-fn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golang-lint
Source: https://github.com/ozan-fn/mqtt-capture/tree/main/.agents/skills/golang-lint
Command: npx skills add https://github.com/ozan-fn/mqtt-capture --skill golang-lint-ozan-fn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires golangci-lint, go, golangci-lint-action, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill helps maintain high code quality in Go projects by providing linters, configuration management, and best practices for linting and fixing code issues.

Core Features & Use Cases

  • Linting: Runs linters like golangci-lint to identify and fix code issues.
  • Configuration Management: Manages .golangci.yml configurations for linters.
  • Interpretation and Fixing: Guides users on interpreting lint output and fixing issues.
  • Use Case: When you want to ensure that your Go code adheres to best practices and has minimal issues, you can use this Skill to configure linters and interpret their output.

Quick Start

Use the golang-lint skill to configure linters for your Go project and run them to check for issues.

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 to check my Go code quality?

To configure golangci-lint for Go code quality, you manage a `.golangci.yml` file to define linter rules. This Skill guides you through setting up these configurations and running the linters to identify code issues.

What is the best way to interpret and fix golangci-lint output in a Go project?

The best way to interpret golangci-lint output is to use this Skill, which guides you through analyzing the lint reports and applying fixes to your Go code. It helps translate the output into actionable code corrections.

Can I use this Skill to run linters like staticcheck or revive alongside golangci-lint?

Yes, this Skill supports projects using golangci-lint, go vet, staticcheck, or revive. It manages these linters to identify and fix code issues, ensuring your Go project adheres to best practices.

How do I manage .golangci.yml configurations for multiple Go linters?

Managing `.golangci.yml` configurations involves defining rules for various linters within the file. This Skill provides configuration management to help you set up and maintain these linter settings for your Go projects.

Why should I use golangci-lint instead of just running go vet for code quality?

While `go vet` checks basic correctness, golangci-lint aggregates multiple linters like staticcheck and revive for deeper analysis. This Skill helps you manage these tools to ensure minimal issues and high code quality.