zer09/pi-config/developing-genkit-go

Claude Code and agent skill by zer09/pi-config

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Implement or debug Genkit Go generation, agents, flows, tools, prompts, streaming, and providers. Use for Genkit Go SDK code, setup, or Go-specific API errors.

Install

npx vskill@latest install zer09/pi-config/developing-genkit-go

SKILL.md

The same SKILL.md was published earlier as zer09/pi-config/developing-genkit-go.

Genkit Go

Safety and version checks

  • Local code edits and checks are allowed within the requested task. Firebase/GCP mutations, deployment, provider or secret changes, and live model/API calls require explicit user instruction for the exact action. A local flow or Dev UI can still call hosted services.
  • Never print, save, or commit API keys, tokens, or service credentials. Use environment variable names or <api-key> placeholders.
  • Inspect go.mod, go.sum, existing imports, and the selected provider. Preserve project versions; do not upgrade dependencies unless requested. Verify uncertain APIs against installed source, relevant references, or current SDK/provider documentation. Check provider model IDs before using them.

Go API guidance and references

Pass the *Genkit registry returned by genkit.Init explicitly through the call chain. Use flows when tracing or HTTP exposure is needed. Describe tool inputs and structured fields, including jsonschema:"description=..." tags where appropriate.

Load only the reference needed for the task:

TaskReference
Initialization, Hello World, optional CLI/Dev UIGetting started
Generate, GenerateText, GenerateData, streaming and output formatsGeneration
DefinePrompt, DefineDataPrompt, .prompt files and schemasPrompts
DefineTool, interrupts, RestartWith/RespondWithTools
Experimental multi-turn agents, state and session selectionAgents
ai.WithUse, hooks, retry/fallback, approval and filesystem middlewareMiddleware
DefineFlow, DefineStreamingFlow, genkit.Handler, HTTP servingFlows and HTTP
Google AI, Vertex AI, Anthropic, OpenAI-compatible APIs, OllamaProviders

Prefer existing middleware when it fits. For custom middleware, allocate per-call state in closures captured by New and guard state mutated by WrapTool, because tools can run concurrently.

Validation and completion

Validate affected Go packages with the project's available formatting, build, and test checks. Use mocked/local providers for offline tests; do not install tools or make live calls to satisfy a check. The Genkit CLI is optional for tasks that benefit from tracing or interactive flow inspection.

Finish with the requested deliverable, relevant checks and results, and version assumptions or blocked checks. Fix failures caused by the change within scope. Documentation-only work does not require starting an app or model.

Maintenance

For future updates, read the Firebase skills update process.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/zer09/pi-config/developing-genkit-go/badge)](https://verified-skill.com/skills/zer09/pi-config/developing-genkit-go)

Something wrong with this skill or its page? Tell us.