WHEN: User asks about Go best practices, idiomatic patterns, or how to properly implement something in Go. Also when reviewing Go code or asking "what's the right way to..." WHEN NOT: Questions unrelated to Go programming or general coding questions
Provides authoritative Go best practices and code reviews using official Gopher Guides training materials.
/plugin marketplace add gopherguides/gopher-ai/plugin install gopher-guides@gopher-aiThis skill inherits all available tools. When active, it can use any tool Claude has access to.
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.
Expert guidance for Next.js Cache Components and Partial Prerendering (PPR). **PROACTIVE ACTIVATION**: Use this skill automatically when working in Next.js projects that have `cacheComponents: true` in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best practices to all React Server Component implementations. **DETECTION**: At the start of a session in a Next.js project, check for `cacheComponents: true` in next.config. If enabled, this skill's patterns should guide all component authoring, data fetching, and caching decisions. **USE CASES**: Implementing 'use cache' directive, configuring cache lifetimes with cacheLife(), tagging cached data with cacheTag(), invalidating caches with updateTag()/revalidateTag(), optimizing static vs dynamic content boundaries, debugging cache issues, and reviewing Cache Component implementations.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.