Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 93
  • 25k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-go

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install developing-genkit-go in Claude Code

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 →

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.

developing-genkit-go Install

Add to stack

Loading.