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 | Skills only | Manual or skills installer |
| Google Gemini CLI | Extensions | Manual install |
What's included:
- 7 modules (go-workflow, go-dev, productivity, gopher-guides, llm-tools, go-web, tailwind)
- 5 auto-invoked skills for Go best practices, second opinions, and more
- 20+ slash commands for development workflows
# Add marketplace
/plugin marketplace add gopherguides/gopher-ai
# Install all modules
/plugin install go-workflow@gopher-ai
/plugin install go-dev@gopher-ai
/plugin install productivity@gopher-ai
/plugin install gopher-guides@gopher-ai
/plugin install llm-tools@gopher-ai
/plugin install go-web@gopher-ai
/plugin install tailwind@gopher-ai# Via skills installer
codex> $skill-installer gopherguides/gopher-ai
# Or manual installation
git clone https://github.com/gopherguides/gopher-ai
cd gopher-ai
./scripts/build-universal.sh
cp -r dist/codex/skills/* ~/.codex/skills/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 moduleIssue-to-PR workflow automation with git worktree management.
| 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 |
The /start-issue command handles the full issue-to-PR workflow:
- Fetches issue details including all comments
- Offers worktree creation for isolated work
- Auto-detects issue type (bug →
fix/branch, feature →feat/branch) - Routes to appropriate TDD or implementation workflow
Go-specific development tools with idiomatic best practices.
| 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 |
Standup reports and git productivity helpers.
| 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 |
/release [bump] |
Create a new release with version bump and changelog |
Go best practices guidance powered by Gopher Guides training materials.
MCP Tools (Claude Code only):
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.
| 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.) |
Opinionated Go web app scaffolding with our recommended stack.
| 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, Templ, HTMX, Alpine.js, Tailwind CSS v4, sqlc, goose, Air
Tailwind CSS v4 tools for initialization, auditing, migration, and optimization.
| Command | Description |
|---|---|
/tailwind-init |
Initialize Tailwind CSS v4 in a project |
/tailwind-migrate |
Migrate from Tailwind v3 to v4 |
/tailwind-audit |
Audit Tailwind usage for best practices |
/tailwind-optimize |
Optimize Tailwind configuration and usage |
MCP Tools (Claude Code only):
search_tailwind_docs- Search Tailwind CSS documentationget_tailwind_utilities- Get utility classes for CSS propertiesget_tailwind_colors- Get color palette informationconvert_css_to_tailwind- Convert CSS to Tailwind utilities
Skills are auto-invoked behaviors that activate based on context. Available across all platforms:
| Skill | Triggers When |
|---|---|
go-best-practices |
Writing Go code, asking about patterns, code reviews |
second-opinion |
Architecture decisions, security code, "sanity check" requests |
tailwind-best-practices |
Working with Tailwind CSS classes, themes, utilities |
templui |
Building Go/Templ web apps, HTMX/Alpine.js integration |
gopher-guides |
Asking about Go idioms, "what's the right way to..." |
Updating plugins:
Due to a known bug, use this script to refresh:
curl -fsSL https://raw.githubusercontent.com/gopherguides/gopher-ai/main/scripts/refresh-plugins.sh | bashTeam installation:
Add to your project's .claude/settings.json:
{
"extraKnownMarketplaces": {
"gopher-ai": {
"source": {
"source": "github",
"repo": "gopherguides/gopher-ai"
}
}
}
}Oh My Zsh parse errors:
If you see parse error near '(', run Claude Code with bash:
SHELL=/bin/bash claudeSkills are installed to ~/.codex/skills/. After installation, skills activate automatically based on context. You can also invoke directly with $skill-name.
Extensions are installed per-module. Each extension includes:
gemini-extension.json- Extension manifestGEMINI.md- Context fileskills/- Auto-invoked skillscommands/- Command definitions (TOML format)
All platforms:
- Git with worktree support
- GitHub CLI (
gh) for workflow commands golangci-lintfor lint-fix command
Platform-specific:
- Claude Code: Claude Code CLI
- Codex: OpenAI Codex CLI (
npm install -g @openai/codex) - Gemini: Google Gemini CLI (
npm install -g @google/gemini-cli)
Optional:
ollamafor local model support (brew install ollama)jqfor JSON manipulation (brew install jq)- Node.js 16+ for Tailwind MCP server
The gopher-guides module includes an MCP server for training materials:
export GOPHER_GUIDES_API_KEY="your-key-here"Contributions welcome! Please open an issue or PR.
Development setup:
git clone https://github.com/gopherguides/gopher-ai
cd gopher-ai
./scripts/install-hooks.sh # Install pre-commit hooksBuilding for all platforms:
./scripts/build-universal.shThis generates:
dist/codex/- Codex-compatible skillsdist/gemini/- Gemini extensionsdist/*.tar.gz- Release archives
MIT License - see LICENSE for details.
Gopher Guides is the official Go training partner, providing comprehensive training for developers and teams.