Golang Tooling
ASecuritySet up `golangci-lint` by adding a `.golangci.yml` at your repo root, installing the binary, and running it as part of your normal Go verification flow. Install: ```bash go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest ``` Recommended workflow after edits: 1. `go vet ./...` 2. `goimports -w .` 3. `golangci-lint run ./...` Good linters to enable: - `errcheck` — makes sure errors are not ignored - `staticcheck` — strong bug-finding beyond basic vet checks - `govet` — correc...
- 584 stars
- 0 votes
- 0 copies
- 2 views
- Added September 5, 2026
Security analysis
100/100Pro scans all 11 files and shows the line behind each finding
npx -y skills add HoangNguyen0403/agent-skills-standard --skill golang-tooling --agent claude-codeAre you the author of Golang Tooling?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-golang-tooling-agent-skills-standard)Set up `golangci-lint` by adding a `.golangci.yml` at your repo root, installing the binary, and running it as part of your normal Go verification flow.
Install:
```bash
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
```
Recommended workflow after edits:
1. `go vet ./...`
2. `goimports -w .`
3. `golangci-lint run ./...`
Good linters to enable:
- `errcheck` — makes sure errors are not ignored
- `staticcheck` — strong bug-finding beyond basic vet checks
- `govet` — correctness checks from Go vet
- `revive` — style and maintainability rules
- `gosec` — security-focused checks
Example `.golangci.yml`:
```yaml
run:
timeout: 5m
linters:
enable:
- errcheck
- staticcheck
- govet
- revive
- gosec
```
A few practical tips:
- Prefer `goimports` over `gofmt` alone, since it formats and fixes imports.
- Avoid broad `//nolint` usage; fix the underlying issue when possible.
- Keep `golangci-lint` in CI so local and shared checks stay consistent.
Files in this skill
- eval-1.baseline.md
- eval-1.with-skill.md
- eval-2.baseline.md
- eval-2.with-skill.md
- eval-3.baseline.md
- eval-3.with-skill.md
- trigger-1.md
- trigger-2.md
- trigger-3.md
- trigger-4.md
Attribution
Related skills
View all in development →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.