Run golangci-lint if available, otherwise use go vet:
if command -v golangci-lint &> /dev/null; then
golangci-lint run ./...
else
go vet ./...
fi
Analyze any lint warnings or errors and suggest fixes.
1---2name: go-lint3description: Go Lint4---5# /go-lint67Run linters on the Go project.89## Instructions1011Run golangci-lint if available, otherwise use go vet:1213```bash14if command -v golangci-lint &> /dev/null; then15 golangci-lint run ./...16else17 go vet ./...18fi19```2021Analyze any lint warnings or errors and suggest fixes.
Run npx skillmds@latest add rootwarp/go-lint in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Go Lint It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
rootwarp (@rootwarp) published this skill. Their other Agent Skills are listed on their SkillMD profile.