Golang Style
ListedGenerates clean, idiomatic Go code adhering to common conventions and best practices for robust backends.
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 fredrikaverpil/dotfiles --skill golang-style -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
fredrikaverpil
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 2 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.
Declares what it does: failed
SKILL.md frontmatter is missing description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No undeclared network calls: failed
Contacts 1 host that is neither well-known infrastructure nor declared in the skill's frontmatter: pkg.go.dev.
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
pkg.go.devundeclaredWhat it found (3 of 4)
- stow/shared/.claude/skills/golang-style/SKILL.md:43contacts pkg.go.dev
curl -s "https://pkg.go.dev/v1beta/symbols/slices?version=v1.21.0" - stow/shared/.claude/skills/golang-style/SKILL.md:46contacts pkg.go.dev
curl -s "https://pkg.go.dev/v1beta/versions/std" - stow/shared/.claude/skills/golang-style/SKILL.md:49contacts pkg.go.dev
curl -s "https://pkg.go.dev/v1beta/module/github.com/google/go-cmp"
No 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.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned fredrikaverpil/dotfiles at 4d23720ae0.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- 4d23720ae0
- Scanned
- 1 file, 78 lines
About this skill
The golang-style skill applies Go language conventions and idioms to code generation tasks. It ensures that AI agents produce clean, efficient, and standard-compliant Go code aligned with the project's specific style guidelines.
When to use it
- Generating new backend services or microservices written in Go.
- Refactoring existing Python or JavaScript codebases into Go for performance improvements.
- Enforcing consistent formatting and naming conventions across a team of developers.
- Creating unit tests that adhere to Go's testing best practices.
Key capabilities
- Applies idiomatic Go patterns such as interfaces, structs, and error handling.
- Enforces standard library usage over third-party dependencies where possible.
- Generates code compatible with
gofmtand other static analysis tools. - Aligns output with the specific repository rules defined in
fredrikaverpil/dotfiles.
Example prompts
- "Generate a REST API handler for user authentication using Go and the golang-style skill."
- "Refactor this Python script into idiomatic Go code following the project's style guide."
- "Create a database migration utility in Go that adheres to standard concurrency patterns."
Tips & gotchas
Ensure your AI agent has access to the project's go.mod or existing codebase to accurately infer specific import paths and struct definitions. This skill is most effective when paired with linting tools like golangci-lint to catch any remaining non-idiomatic patterns.