golang-lint

Configure and run golangci-lint for Golang projects.

Updated May 19, 2026
One-click install
npx skills add https://github.com/monforje/.opencode --skill golang-lint-monforje
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golang-lint
Source: https://github.com/monforje/.opencode/tree/main/skills/cc-skills-golang/skills/golang-lint
Command: npx skills add https://github.com/monforje/.opencode --skill golang-lint-monforje

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of configuring and using linters in Golang projects, ensuring code quality through consistent guidelines and automated checks.

Core Features & Use Cases

  • Linting Configuration: Manages .golangci.yml configuration files, specifying which linters to enable and how to configure them.
  • Automated Linting: Executes linters on code changes to identify potential issues before they become problems.
  • Code Cleanup: Provides commands to auto-fix issues where possible, such as formatting and correcting minor errors.
  • Use Case: When you need to set up a new Golang project with linters or maintain an existing project's code quality, this Skill helps by automating the setup and providing tools for continuous improvement.

Quick Start

Use the golang-lint skill to configure linters for your 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 for a new Golang project?

To configure golangci-lint, you need to manage the `.golangci.yml` file, which specifies which linters to enable and how to configure them for your Golang project's code quality checks.

What is the best way to automate Golang code quality checks in CI/CD pipelines?

Automating Golang code quality in CI/CD pipelines involves configuring and executing golangci-lint on code changes to identify potential issues and ensure adherence to coding standards automatically.

Do I need golangci-lint installed to run Golang linting commands?

Yes, you need golangci-lint installed and available in your environment, as this Skill requires the golangci-lint dependency to execute linters and apply fixes to your Golang codebase.

Can I auto-fix formatting and minor errors found by Golang linters?

Yes, you can auto-fix issues found by Golang linters by running specific commands that provide code cleanup, such as formatting and correcting minor errors automatically.

Why should I use golangci-lint instead of other linting tools for Golang?

Using golangci-lint streamlines the process of configuring and using multiple linters in Golang projects, ensuring code quality through consistent guidelines and automated checks in one configuration file.