CtrlK
BlogDocsLog inGet started
Tessl Logo

golang-lint

Provides linting best practices and golangci-lint configuration for Go projects. Covers running linters, configuring .golangci.yml, suppressing warnings with nolint directives, interpreting lint output, and managing linter settings. Use this skill whenever the user runs linters, configures golangci-lint, asks about lint warnings or suppressions, sets up code quality tooling, or asks which linters to enable for a Go project. Also use when the user mentions golangci-lint, go vet, staticcheck, revive, or any Go linting tool.

96

1.85x
Quality

100%

Does it follow best practices?

Impact

89%

1.85x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Evaluation results

95%

75%

Set Up Code Quality Tooling for a New Go Service

golangci-lint project setup

Criteria
Without context
With context

Config file created

0%

100%

Version 2 format

0%

100%

Correctness linters enabled

0%

100%

Security linters enabled

0%

100%

Style linters enabled

0%

100%

Testing linters enabled

0%

100%

Modernization linters enabled

0%

100%

nolintlint enabled

0%

100%

Makefile lint target

100%

100%

Makefile lint-fix target

100%

100%

Makefile fmt target

0%

100%

Disabled linters documented

0%

0%

74%

15%

Adopt Linting on an Existing Go Codebase Without Blocking Development

Legacy codebase linting adoption

Criteria
Without context
With context

new-from-rev in config

0%

0%

Version 2 format

0%

0%

Parallel cleanup plan

100%

100%

Category-based agent split

100%

100%

Auto-fix first step

20%

100%

Security category isolated

70%

70%

Makefile lint target

100%

100%

Makefile lint-fix target

100%

100%

Explanation of new-from-rev

100%

100%

Makefile fmt target

0%

100%

100%

33%

Fix Lint Suppressions in a Go Service

nolint directive correctness

Criteria
Without context
With context

No bare nolint

100%

100%

Justification on all nolint

0%

100%

rows not closed fixed

100%

100%

rows.Err() checked

100%

100%

HTTP body closed

0%

100%

LogActivity suppression correct

70%

100%

gocyclo suppression preserved

62%

100%

review-notes explains decisions

100%

100%

rows.Scan error handled

100%

100%

Repository
samber/cc-skills-golang
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.