By gopherguides
Enhance Go development with idiomatic best practices, profiling and optimization, benchmark generation, test generation, linting and dead code removal, pre-push verification, and hot-reload build error fixing.
Generate and run Go benchmarks with profiling and optimization analysis
Auto-detect build system, parse errors, and fix until clean
Cancel any active persistent loop
Deep-dive explanation of Go code with diagrams
Auto-fix Go linting issues with golangci-lint
Profile and optimize Go performance: pprof CPU/memory/block/mutex profiles, allocation analysis, escape analysis, sync.Pool, GOGC/GOMEMLIMIT tuning, benchmarks with -benchmem, PGO workflow, execution tracing. Use when user asks 'why is this slow', 'is this allocating', mentions pprof/profiling, runs benchmarks, or needs to reduce p99 latency. SKIP for general Go idioms — use `go` skill.
Idiomatic Go: interfaces, error handling, concurrency, testing, package layout, and debugging. Use when the user writes, reviews, or debugs Go code, or asks any open Go question that doesn't fit a more specific child skill. SKIP for Go performance/profiling work (use go-profiling-optimization) and explicit Gopher Guides training/API requests (use gopher-guides).
Validate bash and shell code blocks embedded in plugin commands and skills .md files. Catches syntax errors, undefined variables, unclosed quotes, missing semicolons. Use when editing files under plugins/*/commands/*.md or plugins/*/skills/*/SKILL.md, when creating a new command or skill in this repo, or when CI fails on a markdown bash-block syntax check.
Runs pre-commands
Contains inline bash commands via ! syntax
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Cross-platform AI coding assistant toolkit for Go developers - by Gopher Guides.
Gopher AI provides skills and commands for the three major AI coding assistants:
| Platform | Status | Install Method |
|---|---|---|
| Claude Code | Full support | Plugin marketplace |
| OpenAI Codex CLI | Full plugin support | Repo-local, installer script, or manual |
| Google Gemini CLI | Extensions | Manual install |
What's included:
One command to build and install for every platform you have:
git clone https://github.com/gopherguides/gopher-ai
cd gopher-ai
./scripts/install-all.sh
This auto-detects which platforms are available (Claude Code, Codex CLI, Gemini CLI) and installs for all of them. Run it again anytime to update.
Or install from GitHub without cloning (downloads to tmp, installs, cleans up):
bash -c "$(curl -fsSL https://raw.githubusercontent.com/gopherguides/gopher-ai/main/scripts/install-all.sh)"
Updating: Just re-run ./scripts/install-all.sh from the repo (or the one-liner). It rebuilds and reinstalls everything.
If you only want one platform, or need first-time setup for Claude Code:
# 1. Add marketplace (in Claude Code)
/plugin marketplace add gopherguides/gopher-ai
# 2. Install all plugins at once (from your terminal)
~/.claude/plugins/marketplaces/gopher-ai/scripts/refresh-plugins.sh
# 3. Restart Claude Code — all 7 plugins are loaded
To install plugins individually: /plugin install go-workflow@gopher-ai, etc.
Updating: Run /productivity:gopher-ai-refresh inside Claude Code, or ./scripts/install-all.sh from the repo.
# Global install — plugins available in every Codex session, regardless of cwd.
# Easiest path (no clone needed):
bash -c "$(curl -fsSL https://raw.githubusercontent.com/gopherguides/gopher-ai/main/scripts/install-all.sh)"
# Or, if you've already cloned the repo:
git clone https://github.com/gopherguides/gopher-ai
cd gopher-ai
./scripts/install-codex.sh --user
# Repo-local install — plugins available only when running Codex inside this repo:
codex # Plugins load automatically from .agents/plugins/marketplace.json
# Add the marketplace to another repo (project-scoped, like the gopher-ai repo itself):
./scripts/install-codex.sh --repo /path/to/your-repo
Pick one mode. --user and --repo-when-cwd'd-into-our-repo will both load the
plugins, so having both active doubles the skill metadata Codex loads. The
SessionStart hook on the Claude Code side auto-removes stale unmarked installs
from earlier README versions and clears any stale gopher-ai marketplace cache
when a marked global install is present.
git clone https://github.com/gopherguides/gopher-ai
cd gopher-ai
./scripts/build-universal.sh
# Install specific extensions
gemini extensions install ./dist/gemini/gopher-ai-go-dev
gemini extensions install ./dist/gemini/gopher-ai-go-workflow
# ... or any other module
Gopher AI includes both Go-specific and general-purpose tools:
These modules are designed specifically for Go development:
| Module | Focus |
|---|---|
| go-dev | Go testing, linting, and code explanation |
| go-workflow | Issue-to-PR workflow with git worktrees |
| go-web | Go web app scaffolding (Go + Templ + HTMX + Tailwind) |
| gopher-guides | Go best practices from Gopher Guides training materials |
These modules work with any language or stack:
| Module | Focus |
|---|---|
| productivity | Standup reports, changelogs, release management |
| llm-tools | Multi-LLM delegation and comparison |
| tailwind | Tailwind CSS v4 tooling (init, migrate, audit, optimize) |
Issue-to-PR workflow automation with git worktree management.
npx claudepluginhub gopherguides/gopher-ai --plugin go-devIssue-to-PR workflow automation with git worktree management
Standup reports, changelogs, and git productivity helpers
Opinionated Go web app scaffolding with Templ + HTMX + Alpine.js + Tailwind
Tailwind CSS v4 tools for initialization, auditing, migration, and optimization
Multi-LLM integration for second opinions and task delegation
Go development following Google Go style guide with Go 1.25+ features and best practices
20 modular skills for idiomatic Go — each under 225 lines, backed by 48 reference files, 8 automation scripts (all with --json, --limit, --force), and 4 asset templates. Covers error handling, naming, testing, concurrency, interfaces, generics, documentation, logging, performance, and more. Activates automatically with progressive disclosure and conditional cross-references.
Gopher Guides training materials integrated into Claude
Enhances code agents with Go best practices covering performance, modern syntax, generics, patterns, testing, error handling, and concurrency.
Go programming language toolkit for concurrency patterns, error handling, and idiomatic Go practices. Includes Go expert agent for strategic Go architecture decisions.
gopilot is your Go copilot - a skill for writing idiomatic Go code, covering design patterns, error handling, testing, concurrency, generics, and stdlib patterns up to Go 1.26.