Developing with Genkit Dart
Gives Claude the reference map and coding rules needed to build Genkit AI flows, tools and agents in Dart or Flutter.
Dev & CodingIntermediate★ 640⑂ 66AI score 8/10Last updated: Sep 14, 2026
What it does
- Teaches Claude the Genkit Dart SDK surface:
Genkit()setup,ai.generate,ai.defineTool,ai.defineFlow,ai.embedMany, streaming and remote flow calls. - Provides an on-demand plugin reference table (Google GenAI, Anthropic, OpenAI, MCP, Shelf, Chrome/Gemini Nano, Firebase AI, middleware) so only the needed docs get loaded into context.
- Enforces the
schemanticpackage for every schema in tools, flows and prompts (@Schema(),SchemanticType,$-prefixed classes). - Requires
dart analyzeto pass before the final answer, and recommends the Genkit CLI dev UI viagenkit start -- dart run main.dart— noting that the native installer pipes a remote script to bash and should be run by you, not the agent.
Who it's for
- Dart/Flutter developers adding LLM features to their apps.
- Builders of agentic workflows using Genkit flows and tools.
- Teams that want one interface across Gemini, Claude and GPT providers.
Examples
- "Build a Genkit flow that drafts product copy with Gemini" → loads
genkit_google_genaifor exact init args and model IDs. - "Require human approval before this tool runs" → applies the
toolApprovalinterrupt fromgenkit_middleware. - "Expose this flow over HTTP" → follows
genkit_shelfto wire up a Shelf server, then verifies withdart analyze.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/evanca/flutter-ai-rules/HEAD/skills/developing-genkit-dart/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/developing-genkit-dart folder from the GitHub repo evanca/flutter-ai-rules into my ~/.claude/skills/developing-genkit-dart/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/evanca/flutter-ai-rules.git && mkdir -p ~/.claude/skills && cp -r flutter-ai-rules/skills/developing-genkit-dart ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repository:
git clone https://github.com/evanca/flutter-ai-rules.git - Create the skills folder if needed:
mkdir -p ~/.claude/skills - Copy the whole skill directory (including its
references/folder):cp -r flutter-ai-rules/skills/developing-genkit-dart ~/.claude/skills/ - Restart Claude Code; ask something like "create a Genkit Dart flow" and the skill activates automatically.
- (Optional) Install the local dev UI:
npm install -g genkit-cli, then confirm withgenkit --version.
View source on GitHub ↗License: MIT