Help us improve
Share bugs, ideas, or general feedback.
From gopher-guides
Accesses Gopher Guides API for Go best practices, idiomatic examples, code audits, reviews, and training during Go development and learning.
npx claudepluginhub gopherguides/gopher-ai --plugin gopher-guidesHow this skill is triggered — by the user, by Claude, or both
Slash command
/gopher-guides:gopher-guidesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Access official Gopher Guides training materials via API for authoritative Go best practices.
Applies idiomatic Go best practices for coding, PR reviews, and codebase audits. Covers errors, interfaces, concurrency, testing, organization, performance; routes to specialized skills.
Applies Go best practices for performance, modern syntax, generics, patterns, testing, error handling, and concurrency when writing or reviewing Go code.
Reviews Go code against style guide, focusing on critical bugs, race conditions, and maintainability issues. Use for PRs, feature branches, or completed work reviews.
Share bugs, ideas, or general feedback.
Access official Gopher Guides training materials via API for authoritative Go best practices.
--variable/--expand-header SyntaxDo NOT use $VAR or ${VAR} shell expansion in curl commands. Environment variable expansion is unreliable in AI coding assistant shell/bash tools (Claude Code, Codex, etc.). Always use curl's built-in --variable % and --expand-header syntax instead.
Requires curl 8.3+. If you get
unknown option: --variable, see the fallback note at the bottom.
curl -s --variable %GOPHER_GUIDES_API_KEY \
--expand-header "Authorization: Bearer {{GOPHER_GUIDES_API_KEY}}" \
https://gopherguides.com/api/gopher-ai/me
On success: Display a brief confirmation to the user, then proceed to Step 2:
On error or missing key: Help the user configure:
~/.zshrc or ~/.bashrc): export GOPHER_GUIDES_API_KEY="your-key"Do NOT provide Go advice without a valid, verified API key.
Use the cache wrapper script for all API calls. It automatically caches responses (24h for practices/examples, 1h for audit/review) to avoid redundant API calls.
The cache wrapper is at ${CLAUDE_PLUGIN_ROOT}/scripts/cache-api.sh.
"${CLAUDE_PLUGIN_ROOT}/scripts/cache-api.sh" practices '{"topic": "error handling"}'
"${CLAUDE_PLUGIN_ROOT}/scripts/cache-api.sh" audit '{"code": "<user code here>", "focus": "error-handling"}'
"${CLAUDE_PLUGIN_ROOT}/scripts/cache-api.sh" examples '{"topic": "table driven tests"}'
"${CLAUDE_PLUGIN_ROOT}/scripts/cache-api.sh" review '{"diff": "<diff output>"}'
If you need to bypass the cache, use curl directly:
curl -s -X POST -H "Authorization: Bearer $GOPHER_GUIDES_API_KEY" \
-H "Content-Type: application/json" \
-d '{"topic": "error handling"}' \
https://gopherguides.com/api/gopher-ai/practices
.claude/gopher-guides-cache.json/clear-cache commandThe API returns JSON with:
content: Formatted guidance from training materialssources: Module references with similarity scoresPresent the content to the user with proper attribution to Gopher Guides.
The training materials cover:
If --variable is not supported (curl versions before 8.3), use printf to avoid shell expansion issues:
KEY=$(printenv GOPHER_GUIDES_API_KEY) && curl -s -H "Authorization: Bearer $KEY" https://gopherguides.com/api/gopher-ai/me
Check your curl version with curl --version.
Powered by Gopher Guides - the official Go training partner.