Agent skill

Go Coding

by zalando in zalando/skipper

“Create or modify Go skipper code”

— description from SKILL.md by zalando
MITAuto-check passedDevOps & Cloud

Install Go Coding

skills CLI
$ npx skills add zalando/skipper --skill go-coding -a claude-code

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

GitHub CLI
$ gh skill install zalando/skipper go-coding --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/zalando/skipper.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/go-coding .claude/skills/go-coding && 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
go-coding
GitHub stars
3.3k
Token cost
~1.4k tokens
SKILL.md length
270 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

  • SKILL.md covers What I do, When to use me and Quick start
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

About this skill

Go Coding is a skill in zalando/skipper (3.3k stars). Its SKILL.md is about 1.4k tokens. Licence: MIT.

Requirements

  • Compatibility (from SKILL.md): opencode, claude

What it can do on your machine

Read from SKILL.md and the folder at commit 4f6cd0a. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are 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.

  • Compatibility

    opencode, claude

    From compatibility in the SKILL.md frontmatter.

Context cost

Go Coding loads about 1.4k tokens when it runs. Until then it costs about 11 tokens; SKILL.md has 270 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~11
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

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 zalando/skipper at commit 4f6cd0a, republished under its MIT licence (© zalando). 270 words, ~1,386 tokens.

Download SKILL.mdSave it as .claude/skills/go-coding/SKILL.md (or your agent's skills folder).
name
go-coding
description
Create or modify Go skipper code
compatibility
opencode, claude
license
MIT
metadata.audience
maintainers, contributors

What I do

  • focus on Go code and architecture

When to use me

Use this when you are reading or writing Go code

Quick start

Use gopls to navigate the code.

Package and type organization

Group related types together using a single type (...) block. Use iota for enumerated constants. Keep unexported types lowercase; only export what callers need.

go
type (
    matchBehavior int
    matchMode     int
)

const (
    matchBehaviorAll matchBehavior = iota
    matchBehaviorAny

    matchModeExact matchMode = iota
    matchModeRegexp
)

type (
    spec struct {
        name          string
        matchBehavior matchBehavior
        matchMode     matchMode
        reg           *registry
    }
    predicate struct {
        kv            map[string][]valueMatcher
        matchBehavior matchBehavior
        cache         sync.Map
    }
)
Precompute in Create/New, not in the hot path

CreateFilter and Create run at route-build time. Precompute everything costly there (compile regexps, build maps, normalize config). The hot path (Request, Response, Match) must be allocation-free on the common case.

go
func (s *spec) Create(args []any) (routing.Predicate, error) {
    if len(args) == 0 || len(args)%2 != 0 {
        return nil, predicates.ErrInvalidPredicateParameters
    }
    kv := make(map[string][]valueMatcher)
    for i := 0; i < len(args); i += 2 {
        key, keyOk := args[i].(string)
        value, valueOk := args[i+1].(string)
        if !keyOk || !valueOk {
            return nil, predicates.ErrInvalidPredicateParameters
        }
        re, err := regexp.Compile(value)
        if err != nil {
            return nil, predicates.ErrInvalidPredicateParameters
        }
        kv[key] = append(kv[key], regexMatcher{regexp: re})
    }
    return &predicate{kv: kv}, nil
}
Cache expensive Create results to survive frequent route table rebuilds

Route tables rebuild every few seconds. Cache CreateFilter/Create results keyed by config args to avoid recreating identical instances and leaking memory. Use sync.Mutex around the map; check-then-insert is fine for idempotent objects.

go
type spec struct {
    mu        sync.Mutex
    filterMap map[string]*myFilter
}

func (s *spec) CreateFilter(args []interface{}) (filters.Filter, error) {
    key, err := keyFromArgs(args)
    if err != nil {
        return nil, err
    }
    s.mu.Lock()
    if f, ok := s.filterMap[key]; ok {
        s.mu.Unlock()
        return f, nil
    }
    s.mu.Unlock()
    // ... build f ...
    s.mu.Lock()
    s.filterMap[key] = f
    s.mu.Unlock()
    return f, nil
}
Cache hot-path lookups with sync.Map

For repeated lookups in Match/Request/Response (e.g. parsed tokens, validated values), use sync.Map — it avoids a single global mutex bottleneck under heavy read concurrency. Periodically clear it rather than tracking per-entry TTLs; infrequent full clears are cheap.

go
type predicate struct {
    kv    map[string][]valueMatcher
    cache sync.Map // wire-string → bool
}

// in a background goroutine started at spec construction time:
func (r *registry) clean() {
    tick := time.NewTicker(time.Hour)
    defer tick.Stop()
    for {
        select {
        case <-r.quit:
            return
        case <-tick.C:
            r.mu.Lock()
            for _, p := range r.predicateMap {
                p.cache.Clear()
            }
            r.mu.Unlock()
        }
    }
}
Avoid allocations in string parsing

Prefer strings.Index / strings.Cut over strings.Split to avoid allocating a slice. Use iterator-style helpers (or strings.SplitSeq in go1.24+) to range over parts without materializing them.

go
// zero-allocation split iteration (backport of strings.SplitSeq)
func splitSeq(s, sep string) func(yield func(string) bool) {
    return func(yield func(string) bool) {
        for {
            i := strings.Index(s, sep)
            if i < 0 {
                break
            }
            if !yield(s[:i]) {
                return
            }
            s = s[i+len(sep):]
        }
        yield(s)
    }
}

// usage
for part := range splitSeq(header, ",") {
    token, value, found := strings.Cut(strings.TrimSpace(part), "=")
    _ = token; _ = value; _ = found
}
Skip work when input hasn't changed

For dataclients and watchers, record the last successful input (e.g. file bytes, ETag) and return early without parsing when nothing changed.

go
func (c *WatchClient) loadUpdates() watchResponse {
    content, err := os.ReadFile(c.fileName)
    if err != nil { ... }

    if bytes.Equal(content, c.lastContent) {
        return watchResponse{} // no change
    }
    r, err := eskip.Parse(string(content))
    if err != nil {
        c.lastContent = nil
        return watchResponse{err: err}
    }
    c.lastContent = content
    ...
}
Error handling

Wrap errors with context using fmt.Errorf("...: %w", err). Return sentinel errors (predicates.ErrInvalidPredicateParameters) from Create/CreateFilter for invalid config so callers can distinguish config errors from runtime errors. Never swallow errors in the hot path.

go
req, endpointMetrics, err := p.mapRequest(ctx, requestContext)
if err != nil {
    return nil, &proxyError{err: fmt.Errorf("could not map backend request: %w", err)}
}

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

Files

Just SKILL.md in .agents/skills/go-coding of zalando/skipper.

Open the folder on GitHubat commit 4f6cd0a

Compare with similar skills

Go Coding 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.

Go Coding compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Go Coding this skillzalando/skipper3.3k—~1.4kAutomated safety check: PassMIT
KubeSphere Multi-Tenant Managementkubesphere/kubesphere17k1 repos~3.1kAutomated safety check: PassCustom licence
Azure Diagnosticsmicrosoft/azure-skills1.5k1 repos~1.6kAutomated safety check: PassMIT
Kubeshark Installerkubeshark/kubeshark12k—~3.6kAutomated safety check: NotesApache-2.0
Sim Helmsimstudioai/sim30k—~2.2kAutomated safety check: PassApache-2.0
Helm Chart ScaffoldingCybereason-Public/owLSM28013 repos~381Automated safety check: PassGPL-2.0

Similar skills

  • Creates and queries KubeSphere users, workspaces and projects and assigns built-in roles, defaulting to least privilege and never deleting anything.

    17k GitHub starsUsed in 1 repo~3.1k tokens
    DevOps & CloudAuto-check passed
  • Azure Diagnostics

    microsoft/azure-skills

    Official

    Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage.

    1.5k GitHub starsUsed in 1 repo~1.6k tokens
    DevOps & CloudAuto-check passed
  • Kubeshark Installer

    kubeshark/kubeshark

    Installs and configures Kubeshark on a Kubernetes cluster, choosing between the quick CLI path and a Helm install with custom values.

    12k GitHub stars~3.6k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Sim Helm

    simstudioai/sim

    Install, upgrade, and operate the Sim Helm chart on Kubernetes.

    30k GitHub stars~2.2k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Helm Chart Scaffolding

    Cybereason-Public/owLSM

    Comprehensive guidance for creating, organizing, and managing Helm charts for packaging and deploying Kubernetes applications.

    280 GitHub starsUsed in 13 repos~381 tokens
    DevOps & CloudAuto-check passed
  • Syntax reference for KFL2, the CEL-based display filter language used to search Kubernetes network traffic captured by Kubeshark, loaded before any filter is written.

    12k GitHub stars~3.6k tokensUpdated today
    DevOps & CloudAuto-check passed

More from zalando/skipper

  • Filter

    zalando/skipper

    Create or modify code in the filters package and all its sub-folders

    3.3k GitHub stars~527 tokensUpdated yesterday
    Auto-check passed
  • Predicate

    zalando/skipper

    Create or modify code in the predicates package and all its sub-folders

    3.3k GitHub stars~453 tokensUpdated yesterday
    Auto-check passed
  • Skipper Architecture

    zalando/skipper

    Skipper architecture reference: routing table lifecycle, request processing pipeline, and package layout

    3.3k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Benchmark

    zalando/skipper

    Create or modify hot-path code or optimizations should be validated by a Go Benchmark

    3.3k GitHub stars~304 tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Go Coding

How do I install Go Coding in Claude Code?

Run `npx skills add zalando/skipper --skill go-coding -a claude-code`. Or copy the skill folder (.agents/skills/go-coding in zalando/skipper) into .claude/skills/go-coding in your project. Claude Code loads it when a task matches its description.

How do I install Go Coding in Codex?

Run `npx skills add zalando/skipper --skill go-coding -a codex`. Or copy the skill folder (.agents/skills/go-coding in zalando/skipper) into .agents/skills/go-coding in your project. Codex loads it when a task matches its description.

Can I use Go Coding 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 zalando/skipper --skill go-coding -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/go-coding, .gemini/skills/go-coding, .github/skills/go-coding and .opencode/skills/go-coding in your project.

What does Go Coding need to run?

SKILL.md names no scripts, command-line tools or credentials: Go Coding is instructions for the agent only. Compatibility (from SKILL.md): opencode, claude.

Does Go Coding 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 Go Coding 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 Go Coding use?

Go Coding is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Go Coding use?

About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Go Coding?

Skills that share tags, products or a category with Go Coding: KubeSphere Multi-Tenant Management (kubesphere/kubesphere, 17k stars), Azure Diagnostics (microsoft/azure-skills, 1.5k stars), Kubeshark Installer (kubeshark/kubeshark, 12k stars) and Sim Helm (simstudioai/sim, 30k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Go Coding?

zalando (a GitHub organization) maintains it in zalando/skipper, which has 3,331 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 6, 2026.

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