Claude Code plugins for Go developers - by Gopher Guides.
/plugin marketplace add gopherguides/gopher-aiThat's it! This command adds the marketplace and auto-installs all plugins.
Due to a known bug, /plugin marketplace update doesn't properly refresh cached plugin files. Use this one-liner to fully refresh:
curl -fsSL https://raw.githubusercontent.com/gopherguides/gopher-ai/main/scripts/refresh-plugins.sh | bashThen restart Claude Code. That's it - plugins are automatically reinstalled from the updated marketplace.
Requires: jq for JSON manipulation (brew install jq)
Issue-to-PR workflow automation with git worktree management.
Commands:
| Command | Description |
|---|---|
/start-issue <number> |
Start working on an issue (auto-detects bug vs feature) |
/create-worktree <number> |
Create a new git worktree for a GitHub issue |
/commit |
Create a git commit with auto-generated message |
/remove-worktree |
Interactively select and remove a git worktree |
/prune-worktree |
Batch cleanup of all completed issue worktrees |
/start-issue Workflow:
The /start-issue command intelligently handles the full issue-to-PR workflow:
- Fetches issue details including all comments for full context
- Offers worktree creation for isolated work (optional - creates
../repo-issue-123-title/) - Auto-detects issue type by analyzing labels first (
bug,enhancement, etc.), then title/body patterns - Routes to the right workflow:
- Bug fix: Checks for duplicates → TDD approach (failing test first) →
fix/branch - Feature: Plans approach → Implementation → Tests →
feat/branch
- Bug fix: Checks for duplicates → TDD approach (failing test first) →
- Asks for clarification if the type can't be determined automatically
Go-specific development tools with idiomatic best practices.
Commands:
| Command | Description |
|---|---|
/test-gen <target> |
Generate comprehensive Go tests with table-driven patterns |
/lint-fix [path] |
Auto-fix Go linting issues with golangci-lint |
/explain <target> |
Deep-dive explanation of Go code with diagrams |
Skills (auto-invoked):
- Go Best Practices - Automatically applies idiomatic Go patterns when writing or reviewing code
Standup reports and git productivity helpers.
Commands:
| Command | Description |
|---|---|
/standup [timeframe] |
Generate standup notes from recent git activity |
/weekly-summary [weeks] |
Generate weekly work summary with metrics |
/changelog [since] |
Generate changelog from commits since last release |
Gopher Guides training materials integrated into Claude via MCP.
Skills (auto-invoked):
- Gopher Guides Training - Provides authoritative answers from official training materials
MCP Tools:
audit_code- Audit Go code against best practicesbest_practices- Get prescriptive guidance on Go topicsget_example- Find code examples for specific patternsreview_pr- Review PRs against training materials
Multi-LLM integration for second opinions and task delegation.
Commands:
| Command | Description |
|---|---|
/codex <prompt> |
Delegate tasks to OpenAI Codex CLI |
/gemini <prompt> |
Query Google Gemini for analysis |
/ollama <prompt> |
Use local models (data stays on your machine) |
/llm-compare <prompt> |
Compare responses from multiple LLMs |
/convert <from> <to> |
Convert between formats (JSON→TS, SQL→Prisma, etc.) |
Skills (auto-invoked):
- Second Opinion - Suggests getting another LLM's perspective for complex decisions
Requirements:
codexCLI:npm install -g @openai/codexgeminiCLI:npm install -g @google/gemini-cliollama:brew install ollama
Opinionated Go web app scaffolding with our recommended stack.
Commands:
| Command | Description |
|---|---|
/create-go-project <name> |
Scaffold a new Go web app from scratch |
/convert-to-go-project |
Migrate Express/Django/Laravel/Next.js to Go |
The Stack:
- Go + Echo v4 (web framework)
- Templ (type-safe HTML templates)
- HTMX (server-driven interactivity)
- Alpine.js (client-side interactivity)
- Tailwind CSS v4 (styling with dark mode)
- sqlc (type-safe SQL, no ORM)
- goose (database migrations)
- Air (hot reload)
Default Deployment: Vercel + Neon PostgreSQL (free tier)
/plugin marketplace add gopherguides/gopher-aiAdding the marketplace automatically installs all plugins.
If you only want certain plugins, first add the marketplace, then uninstall the ones you don't need:
/plugin marketplace add gopherguides/gopher-ai
/plugin uninstall go-web@gopher-ai # example: remove go-web if not neededAdd to your project's .claude/settings.json:
{
"extraKnownMarketplaces": {
"gopher-ai": {
"source": {
"source": "github",
"repo": "gopherguides/gopher-ai"
}
}
}
}- Claude Code CLI
- GitHub CLI (
gh) for workflow commands golangci-lintfor lint-fix command- Git with worktree support
The gopher-guides plugin includes an MCP server for training materials. Configure your API key:
export GOPHER_GUIDES_API_KEY="your-key-here"If you see errors like (eval):1: parse error near '(' when running commands, this is a known Claude Code bug with Oh My Zsh.
Fix: Run Claude Code with bash instead of zsh:
SHELL=/bin/bash claudeOr add this alias to your ~/.zshrc:
alias claude='SHELL=/bin/bash claude'Contributions welcome! Please open an issue or PR.
MIT License - see LICENSE for details.
Gopher Guides is the official Go training partner, providing comprehensive training for developers and teams. These plugins are powered by our training curriculum.