Agent skill

Go Best Practices

by Taoidle in Taoidle/plan-cascade

Go coding best practices. An agent skill from Taoidle/plan-cascade.

MITAuto-check passedDevelopment

Install Go Best Practices

skills CLI
$ npx skills add Taoidle/plan-cascade --skill go-best-practices -a claude-code

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

GitHub CLI
$ gh skill install Taoidle/plan-cascade go-best-practices --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/Taoidle/plan-cascade.git skills-src && mkdir -p .claude/skills && cp -r skills-src/builtin-skills/go .claude/skills/go-best-practices && 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-best-practices
GitHub stars
133
Token cost
~541 tokens
SKILL.md length
80 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Go coding best practices. An agent skill from Taoidle/plan-cascade.

  • Reviewing Go code
  • SKILL.md covers Code Style, Error Handling, Project Structure and Concurrency, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Go Best Practices is an agent skill from Taoidle/plan-cascade. Go coding best practices. Use when writing or reviewing Go code. Covers error handling, concurrency, and idiomatic patterns.

Its SKILL.md is about 540 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. The repository describes itself as: AI-powered cascading development framework. Decompose complex projects into parallel executable tasks with auto-generated PRDs, design docs, and multi-agent collaboration (Claude… The licence is MIT.

When your agent uses it

  • Reviewing Go code

Example prompts

  • “/go-best-practices”

What it can do on your machine

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

Context cost

Go Best Practices loads about 541 tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 80 words of instructions outside code blocks.

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

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 Taoidle/plan-cascade at commit 5223f82, republished under its MIT licence (© Taoidle). 80 words, ~541 tokens.

Download SKILL.mdSave it as .claude/skills/go-best-practices/SKILL.md (or your agent's skills folder).
name
go-best-practices
description
Go coding best practices. Use when writing or reviewing Go code. Covers error handling, concurrency, and idiomatic patterns.
license
MIT
metadata.author
plan-cascade
metadata.version
1.0.0

Go Best Practices

Code Style

RuleGuideline
Formattergofmt or goimports
Lintergolangci-lint
NamingShort, clear; avoid stuttering
CommentsGodoc for exported items

Error Handling

RuleGuideline
Always checkNever ignore errors
Wrap contextfmt.Errorf("ctx: %w", err)
Sentinel errorsvar ErrNotFound = errors.New(...)
go
func Load(path string) (*Config, error) {
    data, err := os.ReadFile(path)
    if err != nil {
        return nil, fmt.Errorf("load config %s: %w", path, err)
    }
    // ...
}

Project Structure

cmd/appname/main.go
internal/config/
internal/service/
go.mod

Concurrency

PatternUsage
context.ContextCancellation, timeouts
sync.WaitGroupWait for goroutines
errgroup.GroupGoroutines with errors
go
func Process(ctx context.Context, items []Item) error {
    for _, item := range items {
        select {
        case <-ctx.Done():
            return ctx.Err()
        default:
            if err := process(item); err != nil { return err }
        }
    }
    return nil
}

Anti-Patterns

AvoidUse Instead
Naked returnsExplicit returns
panic for errorsReturn errors
Large interfacesSmall, focused
init()Explicit init

Testing (Table-Driven)

go
func TestParse(t *testing.T) {
    tests := []struct{ name, input string; want int; wantErr bool }{
        {"valid", "42", 42, false},
        {"invalid", "abc", 0, true},
    }
    for _, tt := range tests {
        t.Run(tt.name, func(t *testing.T) {
            got, err := Parse(tt.input)
            if (err != nil) != tt.wantErr { t.Errorf("err=%v, want=%v", err, tt.wantErr) }
            if got != tt.want { t.Errorf("got=%v, want=%v", got, tt.want) }
        })
    }
}

© Taoidle, 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 builtin-skills/go of Taoidle/plan-cascade.

Open the folder on GitHubat commit 5223f82

Compare with similar skills

Go Best Practices 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 Best Practices compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Go Best Practices this skillTaoidle/plan-cascade133—~541Automated safety check: PassMIT
Trellis Session Insightmindfold-ai/Trellis15k4 repos~1.7kAutomated safety check: PassAGPL-3.0
Openspec Verify ChangeFission-AI/OpenSpec71k2 repos~4.6kAutomated safety check: PassMIT
Warp Factory Fileswarpdotdev/warp65k1 repos~2.5kAutomated safety check: PassAGPL-3.0
Migrate Core Code to Submodulestinyhumansai/openhuman42k—~2.6kAutomated safety check: PassGPL-3.0
Analyze Logsactivepieces/activepieces25k1 repos~1.6kAutomated safety check: PassMIT

Similar skills

  • Trellis Session Insight

    mindfold-ai/Trellis

    Reach into past AI conversation history through the trellis mem CLI.

    15k GitHub starsUsed in 4 repos~1.7k tokens
    DevelopmentAuto-check passed
  • Openspec Verify Change

    Fission-AI/OpenSpec

    Verify implementation matches OpenSpec change artifacts. An agent skill from Fission-AI/OpenSpec.

    71k GitHub starsUsed in 2 repos~4.6k tokens
    DevelopmentAuto-check passed
  • Warp Factory Files

    warpdotdev/warp

    Authors and edits file-based Warp software factory definitions rooted at factory.yaml, covering agents, automations, scorers and webhooks, and validates them before a pull request.

    65k GitHub starsUsed in 1 repo~2.5k tokens
    DevelopmentAuto-check passed
  • Migrate Core Code to Submodules

    tinyhumansai/openhuman

    Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.

    42k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Analyze Logs

    activepieces/activepieces

    Analyze application logs from the .evlog/logs/ directory. An agent skill from activepieces/activepieces.

    25k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Official

    Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.

    48k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed

More from Taoidle/plan-cascade

  • Hybrid Ralph

    Taoidle/plan-cascade

    Hybrid architecture combining Ralph's PRD format with Planning-with-Files' structured approach.

    133 GitHub stars~4.1k tokensUpdated 6 mo ago
    Auto-check: notes
  • Java Best Practices

    Taoidle/plan-cascade

    Java coding best practices. An agent skill from Taoidle/plan-cascade.

    133 GitHub stars~519 tokensUpdated 6 mo ago
    Auto-check passed
  • Mega Plan

    Taoidle/plan-cascade

    Project-level multi-task orchestration system. An agent skill from Taoidle/plan-cascade.

    133 GitHub stars~3.4k tokensUpdated 6 mo ago
    Auto-check: notes
  • Python Best Practices

    Taoidle/plan-cascade

    Python coding best practices. An agent skill from Taoidle/plan-cascade.

    133 GitHub stars~463 tokensUpdated 6 mo ago
    Auto-check passed
  • Typescript Best Practices

    Taoidle/plan-cascade

    TypeScript/Node.js best practices. An agent skill from Taoidle/plan-cascade.

    133 GitHub stars~534 tokensUpdated 6 mo ago
    Auto-check passed

Questions about Go Best Practices

What does Go Best Practices do?

Go coding best practices. An agent skill from Taoidle/plan-cascade. Go Best Practices is an agent skill from Taoidle/plan-cascade. Go coding best practices.

When should I use Go Best Practices?

Go Best Practices fits situations like: reviewing Go code.

How do I install Go Best Practices in Claude Code?

Run `npx skills add Taoidle/plan-cascade --skill go-best-practices -a claude-code`. Or copy the skill folder (builtin-skills/go in Taoidle/plan-cascade) into .claude/skills/go-best-practices in your project. Claude Code loads it when a task matches its description.

How do I install Go Best Practices in Codex?

Run `npx skills add Taoidle/plan-cascade --skill go-best-practices -a codex`. Or copy the skill folder (builtin-skills/go in Taoidle/plan-cascade) into .agents/skills/go-best-practices in your project. Codex loads it when a task matches its description.

Can I use Go Best Practices 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 Taoidle/plan-cascade --skill go-best-practices -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-best-practices, .gemini/skills/go-best-practices, .github/skills/go-best-practices and .opencode/skills/go-best-practices in your project.

What does Go Best Practices need to run?

SKILL.md names no scripts, command-line tools or credentials: Go Best Practices is instructions for the agent only.

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

Go Best Practices 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 Best Practices use?

About 541 tokens (SKILL.md is roughly 2.2k 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 Best Practices?

Skills that share tags, products or a category with Go Best Practices: Trellis Session Insight (mindfold-ai/Trellis, 15k stars), Openspec Verify Change (Fission-AI/OpenSpec, 71k stars), Warp Factory Files (warpdotdev/warp, 65k stars) and Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Go Best Practices?

Taoidle (a GitHub user) maintains it in Taoidle/plan-cascade, which has 133 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on March 14, 2026.

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