Core idioms, style guides, and best practices for writing idiomatic Go code.

MITAuto-check passedWriting & Content

Install Golang Language

skills CLI
$ npx skills add HoangNguyen0403/agent-skills-standard --skill golang-language -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install HoangNguyen0403/agent-skills-standard golang-language --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/HoangNguyen0403/agent-skills-standard.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/golang/golang-language .claude/skills/golang-language && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
golang-language
GitHub stars
572
Token cost
~515 tokens
SKILL.md length
194 words
Files
4 (incl. references)
Skills in repo
211
Repo updated
First seen
Licence
MIT

At a glance

Core idioms, style guides, and best practices for writing idiomatic Go code.

  • Works in 3 steps: mcp__ide__getDiagnostics — catch compile… → go vet ./... — catch common mistakes… → goimports -w . — fix imports and…
  • Writing Go code following official style guides and idiomatic patterns
  • SKILL.md covers Priority: P0 (CRITICAL), Guidelines, Anti-Patterns and Verification Workflow…, plus 1 more section
  • Calls go

What it does

Golang Language is an agent skill from HoangNguyen0403/agent-skills-standard. Core idioms, style guides, and best practices for writing idiomatic Go code. Use when writing Go code following official style guides and idiomatic patterns.

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `evals/evals.json`, `references/effective-go-summary.md` and `references/idioms.md`).

It sits in Writing & Content. It works with Go. The repository describes itself as: A collection of Agent Skills Standard and Best Practice for Programming Languages, Frameworks that help our AI Agent follow best practies on frameworks and programming laguages. The licence is MIT.

When your agent uses it

  • Writing Go code following official style guides and idiomatic patterns

Example prompts

  • “/golang-language”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. mcp__ide__getDiagnostics — catch compile errors and gopls type diagnostics immediately
  2. go vet ./... — catch common mistakes (printf mismatches, unreachable code, shadowed vars)
  3. goimports -w . — fix imports and formatting in one pass

What it can do on your machine

Read from SKILL.md and the folder at commit b529c2d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Golang Language loads about 515 tokens when it runs, and up to ~880 if it reads all its reference files. Until then it costs about 43 tokens; SKILL.md has 194 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~515
With references · SKILL.md plus every file in references/, read only if the agent opens them
~880

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from HoangNguyen0403/agent-skills-standard at commit b529c2d, republished under its MIT licence (© HoangNguyen0403). 194 words, ~515 tokens.

Download SKILL.mdSave it as .claude/skills/golang-language/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
golang-language
description
Core idioms, style guides, and best practices for writing idiomatic Go code. Use when writing Go code following official style guides and idiomatic patterns.

Golang Language Standards

Priority: P0 (CRITICAL)

Guidelines

  • Formatting: Run gofmt or goimports on save. Use gopls for LSP features.
  • Naming: Use camelCase for internal (unexported) and PascalCase for public (exported) symbols.
  • Packages: Use short, lowercase, singular names (e.g., http, user). Avoid _ or camelCase in package names.
  • Interfaces: Small interfaces — 1-2 methods max. Define where used (consumer side), not where implemented.
  • Errors: Return error as last return value. Handle errors immediately at call-site.
  • Slices: Use make(slice, len, cap) to pre-allocate capacity and avoid redundant re-allocations.
  • Enums: Use const block with iota for type-safe enumerations.
  • Zero Values: Leverage zero-value initialization over explicit nil checks where possible.

Anti-Patterns

  • No init: Use constructors (NewService()), not init(). (not init() — it runs implicitly and makes testing harder)
  • No Globals: Use DI, not global mutable state.
  • No panic: Return errors, don't panic.
  • No _ ignored errors: Always check and handle errors.
  • No stutter: log.Error, not log.LogError.

Verification Workflow (Mandatory)

After writing or modifying Go code:

  1. mcp__ide__getDiagnostics — catch compile errors and gopls type diagnostics immediately
  2. go vet ./... — catch common mistakes (printf mismatches, unreachable code, shadowed vars)
  3. goimports -w . — fix imports and formatting in one pass

References

© HoangNguyen0403, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in skills/golang/golang-language of HoangNguyen0403/agent-skills-standard.

  • SKILL.md
  • evals/evals.json
  • references/effective-go-summary.md
  • references/idioms.md

Open the folder on GitHubat commit b529c2d

Compare with similar skills

Golang Language next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Golang Language compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Golang Language this skillHoangNguyen0403/agent-skills-standard572—~515Automated safety check: PassMIT
Golang Stay Updatedcontext-labs/whip1.1k2 repos~1.6kAutomated safety check: PassMIT
Jtackanner/jta133—~2.4kAutomated safety check: NotesMIT
Format Hak5 Pineapple Recon Data JSONsneakerhax/Arsenal112—~259Automated safety check: PassGPL-3.0
Socialcoreyhaines31/marketingskills54k4 repos~4.5kAutomated safety check: PassMIT
HumanizerAzure-Samples/interview-coach-agent-framework17338 repos~5.8kAutomated safety check: PassMIT

Similar skills

  • Golang Stay Updated

    context-labs/whip

    Provides resources to stay updated with Golang news, communities and people to follow.

    1.1k GitHub starsUsed in 2 repos~1.6k tokens
    Writing & ContentAuto-check passed
  • Jta

    ckanner/jta

    Translate JSON i18n files to multiple languages with AI-powered quality optimization.

    133 GitHub stars~2.4k tokensUpdated 11 mo ago
    Frontend & DesignAuto-check: notes
  • Format and pretty-print Hak5 WiFi Pineapple recon JSON scan files for readability.

    112 GitHub stars~259 tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Social

    coreyhaines31/marketingskills

    When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, or Facebook, or wants to do social listening and engagement triage.

    54k GitHub starsUsed in 4 repos~4.5k tokens
    Writing & ContentAuto-check passed
  • Humanizer

    Azure-Samples/interview-coach-agent-framework

    Official

    Remove signs of AI-generated writing from text. An agent skill from Azure-Samples/interview-coach-agent-framework.

    173 GitHub starsUsed in 38 repos~5.8k tokens
    Writing & ContentAuto-check passed
  • Avoid AI Writing

    conorbronsdon/avoid-ai-writing

    Audit and rewrite content to remove AI writing patterns ("AI-isms").

    4.9k GitHub starsUsed in 3 repos~8.1k tokens
    Writing & ContentAuto-check passed

More from HoangNguyen0403/agent-skills-standard

All 211 skills in this repo
  • Subagent-Driven Development

    HoangNguyen0403/agent-skills-standard

    Runs a multi-task implementation plan by sending each task to a fresh implementer subagent, reviewing it independently, then reviewing the whole branch.

    572 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • draw.io Architecture Diagramming

    HoangNguyen0403/agent-skills-standard

    Draws architecture diagrams as editable draw.io files from a JSON spec, with a fixed house style, one C4 level per diagram and evidence-tagged shapes.

    572 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Android Navigation 3 Guide

    HoangNguyen0403/agent-skills-standard

    Implements and migrates to Jetpack Navigation 3 in Compose: NavDisplay, typed route objects, a state-list back stack, deep links, multiple back stacks and dialog scenes.

    572 GitHub stars~687 tokensUpdated yesterday
    Auto-check passed
  • Angular HttpClient Standards

    HoangNguyen0403/agent-skills-standard

    Sets rules for Angular HTTP code: functional interceptors, typed requests, services that own every call, and httpResource for reactive data loading in Angular 17+.

    572 GitHub stars~652 tokensUpdated yesterday
    Auto-check passed
  • Angular Tooling

    HoangNguyen0403/agent-skills-standard

    Angular CLI usage, code generation, build configuration, and bundle optimization.

    572 GitHub stars~743 tokensUpdated yesterday
    Auto-check passed
  • Common Code Review

    HoangNguyen0403/agent-skills-standard

    Conduct high-quality, persona-driven code reviews. An agent skill from HoangNguyen0403/agent-skills-standard.

    572 GitHub stars~772 tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Golang Language

What does Golang Language do?

Core idioms, style guides, and best practices for writing idiomatic Go code. Golang Language is an agent skill from HoangNguyen0403/agent-skills-standard. Core idioms, style guides, and best practices for writing idiomatic Go code.

When should I use Golang Language?

Golang Language fits situations like: writing Go code following official style guides and idiomatic patterns.

How do I install Golang Language in Claude Code?

Run `npx skills add HoangNguyen0403/agent-skills-standard --skill golang-language -a claude-code`. Or copy the skill folder (skills/golang/golang-language in HoangNguyen0403/agent-skills-standard) into .claude/skills/golang-language in your project. Claude Code loads it when a task matches its description.

How do I install Golang Language in Codex?

Run `npx skills add HoangNguyen0403/agent-skills-standard --skill golang-language -a codex`. Or copy the skill folder (skills/golang/golang-language in HoangNguyen0403/agent-skills-standard) into .agents/skills/golang-language in your project. Codex loads it when a task matches its description.

Can I use Golang Language in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HoangNguyen0403/agent-skills-standard --skill golang-language -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/golang-language, .gemini/skills/golang-language, .github/skills/golang-language and .opencode/skills/golang-language in your project.

What does Golang Language need to run?

Going by SKILL.md and its folder, Golang Language needs the command-line tools its instructions call (go).

Does Golang Language access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Golang Language safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Golang Language use?

Golang Language is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Golang Language use?

About 515 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 365 tokens, read only when the agent opens those files.

What are the alternatives to Golang Language?

Skills that share tags, products or a category with Golang Language: Golang Stay Updated (context-labs/whip, 1.1k stars), Jta (ckanner/jta, 133 stars), Format Hak5 Pineapple Recon Data JSON (sneakerhax/Arsenal, 112 stars) and Social (coreyhaines31/marketingskills, 54k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Golang Language?

HoangNguyen0403 (a GitHub user) maintains it in HoangNguyen0403/agent-skills-standard, which has 572 GitHub stars. The repository holds 211 skills in this directory. The repository was last updated on October 9, 2026.

Source: HoangNguyen0403/agent-skills-standard on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.