Setup Golangci Lint
ListedAutomates Go project setup with golangci-lint configuration for consistent code quality and style checks.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add alingse/golangci-lint-skills --skill setup-golangci-lint -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
alingse
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.
No pipe-to-shell installers: failed
Runs code fetched at install time in 3 places.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
What it found
- skills/setup-golangci-lint/SKILL.md:56remote script piped into a shell
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin latest - skills/setup-golangci-lint/SKILL.md:59remote script piped into a shell
# curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.59.1 - skills/setup-golangci-lint/SKILL.md:228remote script piped into a shell
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin latest
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No undeclared network calls: passed
Only contacts known or declared hosts: raw.githubusercontent.com.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
Hosts contacted
raw.githubusercontent.comsource hostNo obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
Pinned to a commit: passed
Scanned alingse/golangci-lint-skills at d585dfb7fe.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- d585dfb7fe
- Scanned
- 1 file, 492 lines
About this skill
What it does
This skill automates the setup of golangci-lint, a powerful linter for Go projects. It downloads and configures the tool, ensuring your codebase adheres to best practices and style guidelines. This includes installing dependencies and setting up configurations based on project needs.
When to use it
- New Go Projects: Quickly bootstrap linting in newly created Go repositories.
- Existing Projects Without Linting: Integrate automated code quality checks into projects currently lacking a linter.
- Standardizing Code Style: Enforce consistent coding standards across a team or organization by automating the configuration of
golangci-lint. - Continuous Integration (CI): Incorporate linting as part of your CI/CD pipeline to catch issues early.
Key capabilities
- Downloads and installs
golangci-lint - Configures
golangci-lintwith default settings - Handles dependency management for the linter
Example prompts
- "Set up golangci-lint in my Go project."
- "Install a linter for my Go code."
- “Configure
golangci-lintto check for common errors.”
Tips & gotchas
This skill assumes you have Go installed on your system. The initial setup might require some time as it downloads dependencies, so be patient during the process.