Agent skill

Golang Master

by pedronauck in pedronauck/skills

Write or review production Go: errors, concurrency, context, types, generics, safety, tests, benchmarks, profiling, modernization, and module structure.

No licenceAuto-check passedDevelopment

Install Golang Master

skills CLI
$ npx skills add pedronauck/skills --skill golang-master -a claude-code

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

GitHub CLI
$ gh skill install pedronauck/skills golang-master --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/pedronauck/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/mine/golang-master .claude/skills/golang-master && 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-master
GitHub stars
634
Used in
1 other repo
Token cost
~1.2k tokens
SKILL.md length
526 words
Files
11 (incl. references)
Skills in repo
65
Repo updated
First seen
Licence
None found

At a glance

Write or review production Go: errors, concurrency, context, types, generics, safety, tests, benchmarks, profiling, modernization, and module structure.

  • Works in 10 steps: Every error is handled or carries a… → Errors wrap with fmt.Errorf("context:… → ctx context.Context is the first… → …
  • Tasks that involve Legacy modernization
  • SKILL.md covers The floor, Branches and Tripwires
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Golang Master is an agent skill from pedronauck/skills. Write or review production Go: errors, concurrency, context, types, generics, safety, tests, benchmarks, profiling, modernization, and module structure. Project/framework conventions and third-party API lookup have separate owners.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including reference files (for example `references/concurrency.md`, `references/context.md` and `references/errors.md`).

It sits in Development, covering Legacy modernization and Third-party API integration. It works with Go. The repository describes itself as: My personal favorite skills.

When your agent uses it

  • Tasks that involve Legacy modernization
  • Tasks that involve Third-party API integration

Example prompts

  • “/golang-master”

Requirements

  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Bash(go:*)

Workflow steps

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

  1. Every error is handled or carries a written justification at the discard site — never a bare _.
  2. Errors wrap with fmt.Errorf("context: %w", err) and are matched with errors.Is/errors.As — never by string comparison.
  3. ctx context.Context is the first parameter of any function that does I/O, blocks, or crosses an API boundary, and the caller's ctx is…
  4. Every goroutine has an owner, an exit path, and a way to be waited on.
  5. panic is reserved for impossible states; expected failures return errors.
  6. Check uncertain type assertions. Initialize maps before writes; use nil/zero-value slices when their semantics fit the contract.
  7. Use compile-time interface assertions for an intentional implementation contract; do not invent interfaces just to add an assertion.
  8. Tests prove the owning invariant. Use tables for multiple cases and race checks for concurrency or when the project requires them.
  9. Apply gofmt and the project's owning lint/test gates; reuse current evidence instead of running repository-wide vet for every edit.
  10. Operational values (timeouts, limits, addresses) come from configuration or options — never hardcoded.

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Bash(go:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    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 Master loads about 1.2k tokens when it runs, and up to ~13k if it reads all its reference files. Until then it costs about 61 tokens; SKILL.md has 526 words of instructions outside code blocks.

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

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 526 words (~1,215 tokens).

“Language-level doctrine for Go 1.21+ (1.22–1.26 features flagged inline) in any Go codebase. This skill is the generic floor; a project's own guidelines skill overrides it wherever the two conflict, and this skill owns everything the project leaves unsaid.”

— opening of SKILL.md by pedronauck
name
golang-master
allowed-tools
Read, Grep, Glob, Bash(go:*)
metadata.author
Pedro Nauck
metadata.github
https://github.com/pedronauck
metadata.repository
https://github.com/pedronauck/skills
metadata.credits
Distilled from samber/cc-skills-golang and Jeffallan's golang-pro (both MIT)

Read the full SKILL.md on GitHub

Files

SKILL.md and 10 other files (references) in skills/mine/golang-master of pedronauck/skills.

  • SKILL.md
  • references/concurrency.md
  • references/context.md
  • references/errors.md
  • references/interfaces-generics.md
  • references/layout.md
  • references/modernize.md
  • references/performance.md
  • references/safety.md
  • references/style-naming.md
  • references/testing.md

Open the folder on GitHubat commit 0422940

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in pedronauck/skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Golang Master 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 Master compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Golang Master this skillpedronauck/skills6341 repos~1.2kAutomated safety check: PassNone
Golang Modernizecontext-labs/whip1.1k—~2.8kAutomated safety check: PassMIT
Golang Modernizeaiskillstore/marketplace4331 repos~3.3kAutomated safety check: PassMIT
fp-go HTTP Client PatternsIBM/fp-go2k—~4.4kAutomated safety check: PassApache-2.0
Tiger Brokers OpenAPI Go SDKqusong0627/QuantMind1.7k—~1.1kAutomated safety check: PassApache-2.0
OpenCLI Adapter Authorjackwener/OpenCLI30k1 repos~3.4kAutomated safety check: PassApache-2.0

Similar skills

  • Golang Modernize

    context-labs/whip

    Modernize Go code to recent language features, standard library improvements, and idiomatic patterns.

    1.1k GitHub stars~2.8k tokensUpdated 6 days ago
    DevelopmentAuto-check passed
  • Golang Modernize

    aiskillstore/marketplace

    Modernize Golang code to use recent language features, standard library improvements, and idiomatic patterns.

    433 GitHub starsUsed in 1 repo~3.3k tokens
    DevelopmentAuto-check passed
  • Official

    Shows how to build composable, context-aware HTTP pipelines in Go using fp-go's ReaderIOResult monad instead of raw net/http calls.

    2k GitHub stars~4.4k tokensUpdated today
    Backend & APIsAuto-check passed
  • Tiger Brokers OpenAPI Go SDK

    qusong0627/QuantMind

    Reference guides for building Go trading apps on the Tiger Brokers OpenAPI: SDK setup, market data, stock, futures and options orders, accounts and push streams.

    1.7k GitHub stars~1.1k tokensUpdated today
    Backend & APIsAuto-check passed
  • OpenCLI Adapter Author

    jackwener/OpenCLI

    Walks through writing an OpenCLI adapter for a new site or a new command on an existing one, from first recon and field decoding to coding and verification.

    30k GitHub starsUsed in 1 repo~3.4k tokens
    DevelopmentAuto-check passed
  • Get API Docs with chub

    andrewyng/context-hub

    Fetches current documentation for third-party APIs and SDKs with the chub CLI before the agent writes code against them, instead of relying on remembered API shapes.

    14k GitHub starsUsed in 1 repo~775 tokens
    DevelopmentAuto-check passed

More from pedronauck/skills

All 65 skills in this repo
  • Deep Review

    pedronauck/skills

    Review branch diffs, working trees, or PRs in depth with defect, polish and cross-contract coverage.

    634 GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Yc Apply

    pedronauck/skills

    Prepare, review, and package Y Combinator application answers and founder-video notes using the live form and verified founder facts.

    634 GitHub stars~1.3k tokensUpdated 26 days ago
    Auto-check passed
  • Guide technical communication for software developers. An agent skill from pedronauck/skills.

    634 GitHub starsUsed in 3 repos~2.3k tokens
    Auto-check passed
  • Tauri V2

    pedronauck/skills

    Tauri v2+ cross-platform app development with Rust backend. An agent skill from pedronauck/skills.

    634 GitHub starsUsed in 2 repos~4.1k tokens
    Auto-check passed
  • Hormozi Ad Factory

    pedronauck/skills

    Generates 150-750+ ad variations using Alex Hormozi's combinatorial Hook x Meat x CTA framework.

    634 GitHub stars~2.1k tokensUpdated 26 days ago
    Auto-check passed
  • Yt Master

    pedronauck/skills

    Plans and improves YouTube ideas, titles, thumbnail concepts, scripts, retention, channel strategy, and metric-based diagnosis.

    634 GitHub stars~736 tokensUpdated 26 days ago
    Auto-check passed

Works with

Categories

Questions about Golang Master

What does Golang Master do?

Write or review production Go: errors, concurrency, context, types, generics, safety, tests, benchmarks, profiling, modernization, and module structure. Golang Master is an agent skill from pedronauck/skills. Write or review production Go: errors, concurrency, context, types, generics, safety, tests, benchmarks, profiling, modernization, and module structure.

When should I use Golang Master?

Golang Master fits situations like: tasks that involve Legacy modernization; tasks that involve Third-party API integration.

How do I install Golang Master in Claude Code?

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

How do I install Golang Master in Codex?

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

Can I use Golang Master 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 pedronauck/skills --skill golang-master -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-master, .gemini/skills/golang-master, .github/skills/golang-master and .opencode/skills/golang-master in your project.

What does Golang Master need to run?

SKILL.md names no scripts, command-line tools or credentials: Golang Master is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Grep, Glob, Bash(go:*).

Does Golang Master 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 Master 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 Master use?

No licence was found for Golang Master or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Golang Master use?

About 1.2k tokens (SKILL.md is roughly 4.9k 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 11k tokens, read only when the agent opens those files.

What are the alternatives to Golang Master?

Skills that share tags, products or a category with Golang Master: Golang Modernize (context-labs/whip, 1.1k stars), Golang Modernize (aiskillstore/marketplace, 433 stars), fp-go HTTP Client Patterns (IBM/fp-go, 2k stars) and Tiger Brokers OpenAPI Go SDK (qusong0627/QuantMind, 1.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Golang Master?

pedronauck (a GitHub user) maintains it in pedronauck/skills, which has 634 GitHub stars. The repository holds 65 skills in this directory. The repository was last updated on September 14, 2026.

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