developing-genkit-dart
Skill by google
Provides guidance for building AI-powered applications with the Genkit Dart SDK, version 1.0. It is for Dart and Flutter developers who want to build AI agents, use Genkit flows, or integrate LLMs.
Install developing-genkit-dart
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-dart ~/.claude/skills/developing-genkit-dartRun 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-dart ~/.gemini/antigravity-cli/skills/developing-genkit-dartAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install developing-genkit-dart in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The developing-genkit-dart skill gives an AI assistant guidance for building AI-powered applications with the Genkit Dart SDK, targeting version 1.0. It covers core APIs such as Genkit(), ai.generate, ai.defineTool, ai.defineFlow and ai.embed, along with Dotprompt files, agents, A2UI generative UI and the Genkit CLI. It also points to plugin references for Google Gemini, Vertex AI, Anthropic, OpenAI, MCP and Chrome.
The skill includes a migration guide for pre-1.0 API names that no longer compile. It explains how to run Dart programs under genkit start to capture traces, and how to use flow:run for one-off checks. It is intended for Dart and Flutter developers who want to build AI agents or integrate LLMs. It is not meant for Genkit in JavaScript, TypeScript, Go or Python.
Written from the project's SKILL.md and checked against it.
What it can do
- Core framework APIsCovers Genkit(), generation, tools, flows, embeddings, streaming and remote flow endpoints.
- 1.0 migration guidanceLists renamed and removed pre-1.0 APIs and their current replacements.
- Dotprompt supportExplains .prompt files, promptDir, variants, partials and named schemas.
- AgentsCovers sessions, interrupts, branching, background runs, state, artifacts and multi-agent delegation.
- A2UI generative UIDescribes streaming interactive UI surfaces from an agent to a Flutter client.
- Genkit CLI workflowsExplains running programs with genkit start, inspecting traces and using flow:run.
- Plugin referencesLinks to references for Google GenAI, Vertex AI, Anthropic, OpenAI, middleware, MCP and Chrome.
What you need
- Dart SDK with genkit ^1.0.0
- Genkit CLI, installed with curl, npm or npx (optional)
Try asking
- Build a Genkit flow in Dart that summarizes text with Gemini.
- Set up a Genkit agent in Dart with sessions and human approval.
- Run my Dart flow with genkit flow:run and show the trace.
Good to know
- Agent, session and snapshot APIs are experimental.
- No artifacts() middleware yet, so artifact tools must be defined directly.
- Top-level final declarations are lazy, so flows must be referenced from main().
- Not for Genkit in JavaScript, TypeScript, Go or Python.
Security check
C- Downloads a script from the internet and runs itIn
skills/cloud/developing-genkit-dart/SKILL.md:curl -sL cli.genkit.dev | bash
Checked automatically: skills/cloud/developing-genkit-dart/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md14 KB -
references/a2ui.md15 KB -
references/agents-artifacts.md6 KB -
references/agents-background.md4 KB -
references/agents-branching.md4 KB
Show all 24 files
-
references/agents-custom.md7 KB -
references/agents-deployment.md4 KB -
references/agents-human-in-the-loop.md8 KB -
references/agents-multi-agent.md6 KB -
references/agents-sessions.md7 KB -
references/agents-state.md7 KB -
references/agents.md15 KB -
references/dotprompt.md8 KB -
references/genkit.md17 KB -
references/genkit_anthropic.md2 KB -
references/genkit_chrome.md543 B -
references/genkit_firebase_ai.md588 B -
references/genkit_google_genai.md4 KB -
references/genkit_mcp.md5 KB -
references/genkit_middleware.md5 KB -
references/genkit_openai.md3 KB -
references/genkit_shelf.md5 KB -
references/genkit_vertexai.md3 KB -
references/schemantic.md5 KB
Alternatives to developing-genkit-dart
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-dart: common questions
Does this skill work with Genkit for JavaScript or Python?
No. The source says not to use it for Genkit in JavaScript, TypeScript, Go, or Python.
Why does my flow:run fail with Process exited before runtime was ready?
The source says top-level final flow or agent declarations register only when first evaluated. Referencing the symbols from main() or importing a module that does fixes this.
Can genkit start be used in automated scripts?
The source says not to use genkit start as a blocking step in automated or non-interactive contexts. Use flow:run for that, with the --non-interactive flag.
How do I install developing-genkit-dart?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is developing-genkit-dart free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is developing-genkit-dart safe to use?
It scores 94 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-dart?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
