developing-genkit-go
Skill by google
Guides developers building AI features in Go with Genkit. It covers generation, prompts, streaming, tool calling, flows and model providers. It is for Go developers who use the Genkit SDK.
Install developing-genkit-go
Built from the published package, never by AI.
git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cloud/developing-genkit-go ~/.claude/skills/developing-genkit-goRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/cloud/developing-genkit-go ~/.gemini/antigravity-cli/skills/developing-genkit-goAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install developing-genkit-go in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant guidance for building AI-powered applications with Genkit in Go. Genkit Go is an AI SDK that offers generation, structured output, streaming, tool calling, prompts and flows through one interface across model providers. The skill includes a Hello World example and points to reference files for initialization, generation, prompts, tools, middleware, observability, flows and HTTP, and providers.
It also documents an experimental agent API for multi-turn conversations, an A2UI plugin for streaming interactive UI surfaces from a Go server, and the Genkit CLI for capturing traces and running flows. The skill is for Go developers who want an assistant to help them write Genkit code. It says not to use it for Genkit in JavaScript, TypeScript, Python or Dart.
Written from the project's SKILL.md and checked against it.
What it can do
- GenerationCovers Generate, GenerateText, GenerateData, streaming, output formats and Embed.
- PromptsCovers DefinePrompt, DefineDataPrompt and .prompt files with schemas.
- ToolsCovers DefineTool and resumable tools with interrupts.
- MiddlewareCovers ai.Middleware and built-ins such as Retry, Fallback and ToolApproval.
- Flows and HTTPCovers DefineFlow, DefineStreamingFlow and serving flows with genkit.Handler.
- Model providersCovers Google AI, Vertex AI, Anthropic, OpenAI-compatible and Ollama setup.
- Agents (experimental)Covers persistent multi-turn agents, sessions, interrupts, branching and background execution.
- Generative UI (A2UI)Covers a server middleware that streams interactive UI surfaces from a Go agent.
- Genkit CLI tracesCaptures traces from Go runs and lets the assistant inspect them from the terminal.
What you need
- Go
- Genkit CLI for trace capture
- Access to a model provider such as Google AI, Vertex AI, Anthropic, OpenAI-compatible or Ollama
Try asking
- Build a Go Genkit flow that streams a joke about a topic
- Add a Genkit tool to my Go app and write a good description for it
- Create a .prompt file for my Go Genkit flow with a structured output type
Good to know
- The agent API is experimental and must be enabled with WithExperimental.
- Some interrupt helpers are deprecated, and the older interruptible tool was removed in v1.14.0.
- Running go run directly does not capture dev traces, so the Genkit CLI is needed for tracing.
- A2UI in Go is server-only and has no client renderer.
Security check
C- Downloads a script from the internet and runs itIn
skills/cloud/developing-genkit-go/SKILL.md:curl -sL cli.genkit.dev | bash
Checked automatically: skills/cloud/developing-genkit-go/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB -
references/a2ui.md12 KB -
references/agents-artifacts.md4 KB -
references/agents-background.md6 KB -
references/agents-branching.md4 KB
Show all 20 files
-
references/agents-custom.md7 KB -
references/agents-deployment.md7 KB -
references/agents-human-in-the-loop.md8 KB -
references/agents-multi-agent.md10 KB -
references/agents-sessions.md9 KB -
references/agents-state.md5 KB -
references/agents.md14 KB -
references/flows-and-http.md5 KB -
references/generation.md6 KB -
references/getting-started.md4 KB -
references/middleware.md21 KB -
references/observability.md5 KB -
references/prompts.md7 KB -
references/providers.md4 KB -
references/tools.md9 KB
Alternatives to developing-genkit-go
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
developing-genkit-go: common questions
Is this skill for Genkit in Go only?
Yes. The source says to use it for Go and not for Genkit in JavaScript/TypeScript, Python or Dart.
Does it support streaming and tool calling?
Yes. The source lists streaming, tool calling, prompts and flows as core features of Genkit Go.
Why should I run the app through the Genkit CLI?
The source says running go run directly skips trace capture, while genkit start collects traces from Genkit actions.
How do I install developing-genkit-go?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is developing-genkit-go free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is developing-genkit-go safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to developing-genkit-go?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
